Freeswitch and network bonding
Hi All I am trying to run the Freeswitch with network bonding. My scanerio is - eth0 - 192.168.4.25 eth1 - 192.168.4.30 bond0 - 192.168.4.65 This is the virtual IP which is to access the freeswitch. The issue is when I make a call to 192.168.4.65 which is a virtual ip of Freeswitch system, this call dies not reach at Freeswitch. When I do wireshark, wireshark shows `Destination unreachable'. The same freeswitch works well if I disable the network bonding. Here I would like to mention that I have not made any kind of settings in Freeswitch to run with network bonding. Can someone help me why call is not arriving at Freeswitch when network bonding is enabled. Thanks in advance. Best Regards Sharad
I guess it tries to listen to one of the other interfaces instead. You can force what IP to listen on, but the most obvious would maybe be to get rid of the IP's on eth0 and eth1 - since these interfaces doesn't need IP addresses anyway. /Peter ________________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Sharad Garg [sharad@coraltele.com] Skickat: den 17 april 2012 12:22 Till: freeswitch-users@lists.freeswitch.org Ämne: [Freeswitch-users] Freeswitch and network bonding Hi All I am trying to run the Freeswitch with network bonding. My scanerio is - eth0 - 192.168.4.25 eth1 - 192.168.4.30 bond0 - 192.168.4.65 This is the virtual IP which is to access the freeswitch. The issue is when I make a call to 192.168.4.65 which is a virtual ip of Freeswitch system, this call dies not reach at Freeswitch. When I do wireshark, wireshark shows `Destination unreachable'. The same freeswitch works well if I disable the network bonding. Here I would like to mention that I have not made any kind of settings in Freeswitch to run with network bonding. Can someone help me why call is not arriving at Freeswitch when network bonding is enabled. Thanks in advance. Best Regards Sharad _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org !DSPAM:4f8d42f932761614173760!
Hi, from http://wiki.freeswitch.org/wiki/Enterprise_deployment_IP_Failover#Sofia_Prof... there you have: 'Also, you'll have to specify the SIP, RTP bind IP etc to be the floating IP, rather than the machine's auto-detected IP. rtp-ip, sip-ip, presence-hosts, ext-rtp-ip, ext-sip-ip' So. change the above params in your internal profile and the bonding IP should work. VG, Benjamin T. -----Ursprüngliche Nachricht----- Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Sharad Garg Gesendet: Dienstag, 17. April 2012 12:23 An: freeswitch-users@lists.freeswitch.org Betreff: [Freeswitch-users] Freeswitch and network bonding Hi All I am trying to run the Freeswitch with network bonding. My scanerio is - eth0 - 192.168.4.25 eth1 - 192.168.4.30 bond0 - 192.168.4.65 This is the virtual IP which is to access the freeswitch. The issue is when I make a call to 192.168.4.65 which is a virtual ip of Freeswitch system, this call dies not reach at Freeswitch. When I do wireshark, wireshark shows `Destination unreachable'. The same freeswitch works well if I disable the network bonding. Here I would like to mention that I have not made any kind of settings in Freeswitch to run with network bonding. Can someone help me why call is not arriving at Freeswitch when network bonding is enabled. Thanks in advance. Best Regards Sharad
This scenario is wrong, there shouldn't be any IP addresses configured on the physical interfaces. On Tue, Apr 17, 2012 at 12:22 PM, Sharad Garg <sharad@coraltele.com> wrote:
Hi All
I am trying to run the Freeswitch with network bonding. My scanerio is -
eth0 - 192.168.4.25 eth1 - 192.168.4.30 bond0 - 192.168.4.65 This is the virtual IP which is to access the freeswitch.
The issue is when I make a call to 192.168.4.65 which is a virtual ip of Freeswitch system, this call dies not reach at Freeswitch. When I do wireshark, wireshark shows `Destination unreachable'.
The same freeswitch works well if I disable the network bonding.
Here I would like to mention that I have not made any kind of settings in Freeswitch to run with network bonding.
Can someone help me why call is not arriving at Freeswitch when network bonding is enabled.
Thanks in advance.
Best Regards Sharad
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi All Thanks for your reply. I have removed the IP from real interface. In fact both the interfaces are disbaled. Secondly I have defined "bind_server_ip" in vars.xml. But issue is same. When I do `global_getvar local_ip_v4 in CLI, it shows 127.0.0.1. Means FS is fetching the server IP as 127.0.0.1. Plz help me to get it resolved. Regards Sharad ----- Original Message ----- From: Ognjen Seslija To: FreeSWITCH Users Help Sent: Tuesday, April 17, 2012 4:24 PM Subject: Re: [Freeswitch-users] Freeswitch and network bonding This scenario is wrong, there shouldn't be any IP addresses configured on the physical interfaces. On Tue, Apr 17, 2012 at 12:22 PM, Sharad Garg <sharad@coraltele.com> wrote: Hi All I am trying to run the Freeswitch with network bonding. My scanerio is - eth0 - 192.168.4.25 eth1 - 192.168.4.30 bond0 - 192.168.4.65 This is the virtual IP which is to access the freeswitch. The issue is when I make a call to 192.168.4.65 which is a virtual ip of Freeswitch system, this call dies not reach at Freeswitch. When I do wireshark, wireshark shows `Destination unreachable'. The same freeswitch works well if I disable the network bonding. Here I would like to mention that I have not made any kind of settings in Freeswitch to run with network bonding. Can someone help me why call is not arriving at Freeswitch when network bonding is enabled. Thanks in advance. Best Regards Sharad _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Do not forget to restart internal profile. 17 апреля 2012 г. 15:52 пользователь Sharad Garg <sharad@coraltele.com>написал:
** Hi All
Thanks for your reply.
I have removed the IP from real interface. In fact both the interfaces are disbaled.
Secondly I have defined "bind_server_ip" in vars.xml.
But issue is same.
When I do `global_getvar local_ip_v4 in CLI, it shows 127.0.0.1. Means FS is fetching the server IP as 127.0.0.1.
Plz help me to get it resolved.
Regards Sharad
----- Original Message ----- *From:* Ognjen Seslija <oseslija@gmail.com> *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Sent:* Tuesday, April 17, 2012 4:24 PM *Subject:* Re: [Freeswitch-users] Freeswitch and network bonding
This scenario is wrong, there shouldn't be any IP addresses configured on the physical interfaces.
On Tue, Apr 17, 2012 at 12:22 PM, Sharad Garg <sharad@coraltele.com>wrote:
Hi All
I am trying to run the Freeswitch with network bonding. My scanerio is -
eth0 - 192.168.4.25 eth1 - 192.168.4.30 bond0 - 192.168.4.65 This is the virtual IP which is to access the freeswitch.
The issue is when I make a call to 192.168.4.65 which is a virtual ip of Freeswitch system, this call dies not reach at Freeswitch. When I do wireshark, wireshark shows `Destination unreachable'.
The same freeswitch works well if I disable the network bonding.
Here I would like to mention that I have not made any kind of settings in Freeswitch to run with network bonding.
Can someone help me why call is not arriving at Freeswitch when network bonding is enabled.
Thanks in advance.
Best Regards Sharad
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi All I am trying the FS with network bonding. My configuration is as follows - eth0 - No IP assigned eth1 - No IP assigned bond0 - 192.168.4.65 This is the virtual IP which is to access the freeswitch. Earlier when I was throwing the call to FS on 192.168.4.65, call was not arriving at FS. But later on with the help of some kind people of this forum, I got some suggestions & I defined the "domain=192.168.4.65" & in internal profile, I have defined sip-ip=domain & rtp-ip=domain. After this, FS is attending the call. Now the problem is voice is one way. From FS to Network, voice is OK but Network to FS there is no voice. I request the forum to help me on this issue also. Best Regards Sharad
sip-ip and rtp-ip should be the ip address not "domain" -BDF 2012/4/18 Sharad Garg <sharad@coraltele.com>
** **Hi All
I am trying the FS with network bonding. My configuration is as follows -
eth0 - No IP assigned eth1 - No IP assigned bond0 - 192.168.4.65 This is the virtual IP which is to access the freeswitch. Earlier when I was throwing the call to FS on 192.168.4.65, call was not arriving at FS. But later on with the help of some kind people of this forum, I got some suggestions & I defined the "domain=192.168.4.65" & in internal profile, I have defined sip-ip=domain & rtp-ip=domain. After this, FS is attending the call.
Now the problem is voice is one way. >From FS to Network, voice is OK but Network to FS there is no voice.
I request the forum to help me on this issue also.
Best Regards Sharad
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Brian D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com Phone: 317-800-7876 Indianapolis, Indiana, USA This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
Yeah you can't run the IP stack with doing a bond. You may want to do a aliase on top of the bond interface. The normal interfaces act as slave to the virtual bond interface. On Apr 17, 2012 6:25 AM, "Sharad Garg" <sharad@coraltele.com> wrote:
Hi All
I am trying to run the Freeswitch with network bonding. My scanerio is -
eth0 - 192.168.4.25 eth1 - 192.168.4.30 bond0 - 192.168.4.65 This is the virtual IP which is to access the freeswitch.
The issue is when I make a call to 192.168.4.65 which is a virtual ip of Freeswitch system, this call dies not reach at Freeswitch. When I do wireshark, wireshark shows `Destination unreachable'.
The same freeswitch works well if I disable the network bonding.
Here I would like to mention that I have not made any kind of settings in Freeswitch to run with network bonding.
Can someone help me why call is not arriving at Freeswitch when network bonding is enabled.
Thanks in advance.
Best Regards Sharad
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (7)
-
Anton Kvashenkin
-
B.Tietz@pinguin.ag
-
Brian Foster
-
Karol
-
Ognjen Seslija
-
Peter Olsson
-
Sharad Garg