[asterisk-users] Asterisk on multi-homed systems

Freddi Hansen fh at danovation.dk
Tue Dec 4 09:12:59 CST 2007


We are using Ethernet Bonding with no problems at all. Each server has 2 
build-in NIC's and a quad NIC. They are divided into 3 networks with 2 
NIC's in each. Links are up on all 6 connections and you don't even hear 
a click if I unplug the 'live' ethernet. 3 different networks on 3 or 
more NIC's works fine.
The thing that doen't work is when you assigned multiple IP aliases onto 
a single NIC, Asterisk always choses the lowest/first IP address 
assigned to the card. You can set the 'fromdomain' in the peer that you 
want to force onto the second IP on the NIC but the source address will 
still be the first IP on that NIC.
I think that what we are missing here is a peer parameter where we can 
force the source address.

Freddi

> If I was wanted to multi-home on the same subnet I would use Ethernet 
> Bonding (similar to Windows Teaming) in a failover configuration.  
> This will make one of the links on the LAN active and the second one 
> as a failover in case the first one goes down.  It takes a couple 
> seconds for the 2nd link to come up.  I am not using this in Asterisk 
> at the moment, but I am using it on other servers and it works great.  
> I don't know if this would drop a call during failover, but it's 
> something to explore.
>  
>   Shlomo
>
>  
> On 12/1/07, *Steven* <asterisk at tescogroup.com 
> <mailto:asterisk at tescogroup.com>> wrote: I have zero issues with 
> multihomed asterisks.
>
> One potential issue is that some people are multihoming onto the same 
> subnet.
> This will cause issues with many applications as normal routing 
> usually sends data OUT the lower IP address if there are two on the
> same subnet.
>
> Multihoming, as a rule should be on separate network.
>
> My company's implementation is one three networks.
> One inside, One to ISP A and one to ISP B.
>
> Like I said, I have had zero issues.
>
>
>
> --
> --
> Steven
>
> http://www.connectech.org/
>
>
>
> "Chris Bagnall" < lists at minotaur.cc <mailto:lists at minotaur.cc>> wrote 
> in message news:086301c831a5$4b61e1d0$e225a570$@cc...
> > Greetings list,
> >
> > I remember a discussion many months ago which ISTR concluded that 
> asterisk didn't play nicely at all in multi-homed setups ( e.g.
> > SIP packets not being sent out through the same interface they were 
> received on, etc.).
> >
> > Is this still the case, or are there versions which have resolved 
> the issue? Even if it's still the case, is this only a problem
> > for SIP, or does it affect asterisk in general?
> >
> > I have a number of servers with dual NICs, each with an independent 
> net connection. After a few recent failures with one provider,
> > it'd be very useful to be able to use the other connection 
> simultaneously, but only if it's not going to cause problems with the
> > rest of the setup.
> >
> > Any suggestions gratefully appreciated.
> >
> > Regards,
> >
> > Chris
> > --
> > C.M. Bagnall, Director, Minotaur I.T. Limited
> > For full contact details visit http://www.minotaur.it
> > This email is made from 100% recycled electrons
> >
> >
> >
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >




More information about the asterisk-users mailing list