[asterisk-dev] Virtual IP Adresses and SIP requests failing...

Olle E Johansson olle at voop.com
Thu Jul 5 01:01:22 CDT 2007


4 jul 2007 kl. 20.27 skrev King Ho:

> Hi,
>
> Sorry about responding to this after such a long time has past from  
> the last
> post but I have just recently encountered the same problem with having
> multiple IP address assigned to a single interface and have problem  
> with sip
> client registering to asterisk if asterisk uses bind=0.0.0.0.
>
> I think what Tilghman said is not exactly correct. That is,  
> asterisk will
> not be able to control how the packet is routed BUT asterisk DOES have
> control of which IP address the response uses for the "source ip  
> address" of
> the packet. That is, if I send a sip register request to asterisk  
> at address
> x.x.x.x, I expect asterisk to response using the same x.x.x.x  
> address as the
> source ip address in the response, even though asterisk won't be  
> able to
> control how the packet is routed.
>
> If program don't have control over which IP address to use in the  
> source
> address in the response, then I think a lot of programs like Bind,  
> the DNS
> server, will fail when they are bound to multiple ip addresses.
>
> I do think that this is a bug in the handling of the response packet's
> source ip address.
Yes, that is a known bug when you have multiple IP addresses assigned
to the same interface. Has been reported, but not fixed yet.

/O



More information about the asterisk-dev mailing list