[Freeswitch-users] Lan redundancy

Steven Ayre steveayre at gmail.com
Sat Jun 25 14:07:55 MSD 2011

The way I do this is to use ethernet bonding in active-backup mode:


You get a virtual network interface named bond0 which is assigned your IP.
This effectively replaces your eth0. That simplifies the configuration of
everything like FreeSWITCH since you then get a single IP to listen on. The
bonding driver monitors the slave devices (eth0,eth1,etc) and uses an active
one. If a device goes down it automatically switches over to the other.

You can also have different profiles on different IPs, with a profile for
each device, but if a device fails any calls going to that IP will fail
because the signalling/media is still trying to go to that address. Bonding
avoids that problem.

Bonding will probably be enough for you, but for some extra information my
setup is a little more complex than that... that there's redundancy on the
network too - 2 network switches each with 100MBit internet feeds from the
data centre, and interconnected with a 2Gbit trunk, running RSTP. Each
server has one device going to one switch and the other going to the 2nd. It
means that if any switch, device, or cable fails the whole thing will find
another route (even between switches via the data centre's switch if
necessary). A stacked switch would be better, but isn't currently within


On 25 June 2011 10:10, Alessandro <a.luppi at seletech.com> wrote:

> **
> Hi,
> I'm going to install freeswitch in a system with LAN redundancy
> (duplicated). All the pc have double LAN interfaces. How can I configure
> Freeswitch to work with this configuration? Actually in vars, the variable
> Domains has this value
> <X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/>
> I have to set one ip of the two network interface? I need to set the
> sub-net mask? (example domain=
> Second question:
> All the PC with softphone will be connect at two LAN and the two LAN are on
> different Network. (Example one LAN is on network and the other
> in the LAN
> I bind the address of one of the two network to freeswitch.
> I will add the extension in the internal profile. How does freeswitch
> understand that an extension is in the local network? All the softphone
> should stay on the same network, right?
> What happens if an extension configured in the internal profile, try to
> contact FS from a different network?
> Best Regards
> Alessandro Luppi
> --
> Ing. Alessandro Luppi
> Software development
> Seletech srl
> Via Collodi 8, 20052 Monza (MI) - Italy
> Tel: +39.039.5962000 - Fax: +39.039.9716905
> email: a.luppi at seletech.com - Web: www.seletech.com   or   www.seletech.eu
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110625/ddba0312/attachment.html 

More information about the FreeSWITCH-users mailing list