<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19088">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT size=2>I used bond0 with 6 interfaces since one year without
problems</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=a.luppi@seletech.com
href="mailto:a.luppi@seletech.com">Alessandro</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, June 25, 2011 6:55
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] Lan
redundancy</DIV>
<DIV><BR></DIV>Very interesting,<BR><BR>I was thinking to something similar..
I thought to create e third virtual interface... So I'll have to use network
bonding to all the pc in the network...<BR>The two networks will have
switch/router (i think hircshmann) so the two networks will be the specular
image of the other. In the interface named bond0 will be configured on the
same network of the two network interface or I have to create an virtual third
network? On the softphone for the server proxy I'll set the address of the
interface bond0 of the server freeswitch
right?<BR><BR>Thanks<BR><BR>Alessandro Luppi <BR><BR><BR><BR>Il
25/06/2011 12:07, Steven Ayre ha scritto:
<BLOCKQUOTE
cite=mid:BANLkTi=+w0fXPd8OZgJik-vPg2JZ5bN=JSR+1NDV7=v7mWQ+Mg@mail.gmail.com
type="cite">The way I do this is to use ethernet bonding in active-backup
mode:<BR><BR><A
href="http://www.kernel.org/doc/Documentation/networking/bonding.txt"
moz-do-not-send="true">http://www.kernel.org/doc/Documentation/networking/bonding.txt</A><BR><A
href="http://wiki.debian.org/Bonding"
moz-do-not-send="true">http://wiki.debian.org/Bonding</A><BR><BR>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.<BR><BR>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.<BR><BR>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
budget.<BR><BR>-Steve<BR><BR><BR><BR><BR><BR>
<DIV class=gmail_quote>On 25 June 2011 10:10, Alessandro <SPAN
dir=ltr><<A href="mailto:a.luppi@seletech.com"
moz-do-not-send="true">a.luppi@seletech.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#ffffff" text="#000000">Hi,<BR><BR>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 <SPAN
style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium 'Times New Roman'; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px"><SPAN
style="LINE-HEIGHT: 19px; FONT-FAMILY: monospace; FONT-SIZE: 10px"><PRE style="BORDER-BOTTOM: rgb(47,111,171) 1px dashed; BORDER-LEFT: rgb(47,111,171) 1px dashed; PADDING-BOTTOM: 1em; LINE-HEIGHT: 1.1em; BACKGROUND-COLOR: rgb(249,249,249); PADDING-LEFT: 1em; PADDING-RIGHT: 1em; COLOR: black; BORDER-TOP: rgb(47,111,171) 1px dashed; BORDER-RIGHT: rgb(47,111,171) 1px dashed; PADDING-TOP: 1em"><X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/></PRE></SPAN></SPAN><BR>I
have to set one ip of the two network interface? I need to set the sub-net
mask? (example domain=<A href="http://192.168.2.101/255.255.255.0"
target=_blank
moz-do-not-send="true">192.168.2.101/255.255.255.0</A>)<BR><BR>Second
question:<BR><BR>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
192.168.2.0 and the other in the LAN 192.168.1.0).<BR>I bind the address
of one of the two network to freeswitch.<BR>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?<BR>What happens if an extension configured in the internal profile,
try to contact FS from a different network?<BR><BR>Best
Regards<BR><BR>Alessandro Luppi <BR><BR><PRE cols="72">--
Ing. Alessandro Luppi
Software development
Seletech srl
Via Collodi 8, 20052 Monza (MI) - Italy
Tel: +39.039.5962000 - Fax: +39.039.9716905
email: <A href="mailto:a.luppi@seletech.com" target=_blank moz-do-not-send="true">a.luppi@seletech.com</A> - Web: <A href="http://www.seletech.com" target=_blank moz-do-not-send="true">www.seletech.com</A> or <A href="http://www.seletech.eu" target=_blank moz-do-not-send="true">www.seletech.eu</A>
</PRE></DIV><BR>_______________________________________________<BR>Join us
at ClueCon 2011, Aug 9-11, Chicago<BR><A href="http://www.cluecon.com"
target=_blank moz-do-not-send="true">http://www.cluecon.com</A>
877-7-4ACLUE<BR><BR>FreeSWITCH-users mailing list<BR><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank
moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank
moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org" target=_blank
moz-do-not-send="true">http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR>
<DIV
style="Z-INDEX: 9999; POSITION: absolute; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 130%; MARGIN-TOP: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; WORD-WRAP: break-word; VISIBILITY: hidden; COLOR: black; MARGIN-LEFT: 0px; FONT-SIZE: 10px; OVERFLOW: hidden; PADDING-TOP: 0px; LEFT: -5000px"
id=avg_ls_inline_popup></DIV><PRE wrap=""><FIELDSET class=mimeAttachmentHeader></FIELDSET>
_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
<A class=moz-txt-link-freetext href="http://www.cluecon.com">http://www.cluecon.com</A> 877-7-4ACLUE
FreeSWITCH-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>
<A class=moz-txt-link-freetext href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A>
UNSUBSCRIBE:<A class=moz-txt-link-freetext href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A>
<A class=moz-txt-link-freetext href="http://www.freeswitch.org">http://www.freeswitch.org</A>
</PRE></BLOCKQUOTE><BR><BR><PRE class=moz-signature cols="72">--
Ing. Alessandro Luppi
Software development
Seletech srl
Via Collodi 8, 20052 Monza (MI) - Italy
Tel: +39.039.5962000 - Fax: +39.039.9716905
email: <A class=moz-txt-link-abbreviated href="mailto:a.luppi@seletech.com">a.luppi@seletech.com</A> - Web: <A class=moz-txt-link-abbreviated href="http://www.seletech.com">www.seletech.com</A> or <A class=moz-txt-link-abbreviated href="http://www.seletech.eu">www.seletech.eu</A>
</PRE>
<P>
<HR>
<P></P>_______________________________________________<BR>Join us at ClueCon
2011, Aug 9-11, Chicago<BR>http://www.cluecon.com
877-7-4ACLUE<BR><BR>FreeSWITCH-users mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>