On 07/11/2012 11:36 PM, Jeff LaCoursiere wrote:

This does exhibit the problem though.  Your OS stack assumes one of
those addresses - the first identified interface? - is the one that all
replies will appear to come from.  So phones on the 192.168.2.0/24
network that try to register get replies from 192.168.1.1 and ignore
them.

No, I don't think it does. If the server has four interfaces, on subnets 192.168.{1,2,3,4}.0/24, those are *not* overlapping, and everything will work as expected. If a UDP packet is received on the third interface, from an address reachable via routes over that interface, then the reply to that packet will be sent out over that same interface, with the source address set to the address assigned to that interface. Servers are setup this way all the time, and it works as it should.

There must be more to the network configuration than something this simple in order to cause the IP stack on the Asterisk server to choose the wrong source IP address for outbound packets.

--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: [email protected] | SIP: [email protected] | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to