<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Ok,<br>
<br>
I'll going to talk with who is planning the network to understand
exactly the architecture of the network. I understand how to manage
two interfaces in a LAN. I think that with router i'm going to work
in a WAN. I think also that the two network are connected so the
server is reachable from both side and the routing protocol should
avoid loops in the network. <br>
This is what said to me about network configuration:<br>
<br>
<a href="http://pastebin.freeswitch.org/16588">http://pastebin.freeswitch.org/16588</a><br>
<br>
I've also another question, I'd like also redundancy on FS server
(the server machine will be duplicated). I'm going to install 2
server, so if one fails the other is ready to go in service. Have
you ever try something similar?<br>
I was thinking to an heartbeat daemon to manage this situation... <br>
<br>
Best Regards<br>
<br>
Alessandro Luppi<br>
<br>
<br>
Il 25/06/2011 13:35, Steven Ayre ha scritto:
<blockquote
cite="mid:BANLkTinEUrwdVZ2C-8SzmH4ieusrBraFTQ@mail.gmail.com"
type="cite">bond0 becomes your single network interface. eth0/eth1
aren't used any longer - they're still there but they're just
slaves of bond0.<br>
<br>
That means you get a single IP on bond0 (eth0/eth1 don't have an
IP) which is the one FS/softphones would use.<br>
<br>
If you're planning to have two independant networks with eth0 on
one and eth1 on the other that'll cause you problems... it's meant
to provide the server with two routes into the same network.<br>
<br>
Between devices on the LAN it'll be problematic - in active-backup
one device will be active and the others disabled. There's no
guarantee that all servers'll pick the same slave device though,
so some might be on eth0 and others on eth1 which'd mean they
wouldn't be able to reach each other. My 2 switches are connected
together and use RSTP to avoid routing loops to avoid that, which
is why I mentioned it in the 1st email.<br>
<br>
For the routing to the WAN it'll mean different routers so
different IPs, which'll drop calls with NAT on switchover, and
force you to listen to both public IPs on bond0 / FS if you're not
using NAT which'll also mean dropped calls on switching over.<br>
<br>
Our network setup is here: <a moz-do-not-send="true"
href="http://pastebin.freeswitch.org/16587">http://pastebin.freeswitch.org/16587</a>,
how you connect to the WAN really will depend on your ISP/Data
Centre though.<br>
<br>
-Steve<br>
<br>
<br>
<br>
<div class="gmail_quote">On 25 June 2011 11:55, Alessandro <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:a.luppi@seletech.com">a.luppi@seletech.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> 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>
</div>
</blockquote>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> <br>
Il 25/06/2011 12:07, Steven Ayre ha scritto:
<div>
<div class="h5">
<blockquote type="cite">The way I do this is to use
ethernet bonding in active-backup mode:<br>
<br>
<a moz-do-not-send="true"
href="http://www.kernel.org/doc/Documentation/networking/bonding.txt"
target="_blank">http://www.kernel.org/doc/Documentation/networking/bonding.txt</a><br>
<a moz-do-not-send="true"
href="http://wiki.debian.org/Bonding"
target="_blank">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
moz-do-not-send="true"
href="mailto:a.luppi@seletech.com"
target="_blank">a.luppi@seletech.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt
0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
204, 204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> 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="border-collapse: separate;
color: rgb(0, 0, 0); font-weight: normal;
letter-spacing: normal; line-height: normal;
text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
font-size: medium;"><span style="font-family:
monospace; font-size: 10px; line-height:
19px;">
<pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); color: black; background-color: rgb(249, 249, 249); line-height: 1.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 moz-do-not-send="true"
href="http://192.168.2.101/255.255.255.0"
target="_blank">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 moz-do-not-send="true" href="mailto:a.luppi@seletech.com" target="_blank">a.luppi@seletech.com</a> - Web: <a moz-do-not-send="true" href="http://www.seletech.com" target="_blank">www.seletech.com</a> or <a moz-do-not-send="true" href="http://www.seletech.eu" target="_blank">www.seletech.eu</a>
</pre>
</div>
<br>
_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a moz-do-not-send="true"
href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
<div style="padding: 0px; margin-left: 0px;
margin-top: 0px; overflow: hidden; word-wrap:
break-word; color: black; font-size: 10px;
text-align: left; line-height: 130%;"> </div>
<pre><fieldset></fieldset>
_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE
FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
<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 moz-do-not-send="true" href="mailto:a.luppi@seletech.com" target="_blank">a.luppi@seletech.com</a> - Web: <a moz-do-not-send="true" href="http://www.seletech.com" target="_blank">www.seletech.com</a> or <a moz-do-not-send="true" href="http://www.seletech.eu" target="_blank">www.seletech.eu</a>
</pre>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
<div style="visibility: hidden; left: -5000px; position: absolute;
z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px;
overflow: hidden; word-wrap: break-word; color: black;
font-size: 10px; text-align: left; line-height: 130%;"
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>
</body>
</html>