[OpenSIPS-Users] Load balancer probing from incorrect interface
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Mon Nov 8 12:05:15 CET 2010
Hi Bill,
as you have a multi interface system, have you tried to enable the
"mhomed" global parameter?
http://www.opensips.org/Resources/DocsCoreFcn16#toc60
Regards,
Bogdan
Bill W. wrote:
> As an update, the load balancer probe appears to use the ip address
> specified by the first listen= directive.
>
> If I list the public IP first, then the probe tries to talk to the
> internal IP from the external interface IP.
>
>
> On 11/7/10 6:18 PM, Bill W. wrote:
>
>> Hello everyone,
>>
>> I've got an opensips-1.6.3-tls installation using multiple interfaces
>> and load balancing.
>>
>> My internal interface is rfc1918 space and my external interface has
>> public IPs.
>> listen=udp:10.0.10.3:5060
>> listen=udp:66.180.205.3:5060
>>
>>
>> I have the following load_balancer configuration:
>> id | group_id | dst_uri | probe_mode
>> ----+----------+-------------------+------------
>> 1 | 1 | sip:66.180.205.11 | 2
>> 2 | 1 | sip:66.180.205.12 | 2
>> 3 | 2 | sip:10.0.10.1 | 2
>> 4 | 2 | sip:10.0.10.2 | 2
>>
>>
>> What's happening is that the load balancer is trying to probe the public
>> IPs from the private interface IP (and failing of course).
>>
>> tcpdump output on internal interface:
>> 18:13:26.471734 IP 10.0.10.3.5060 > 66.180.205.11.5060: SIP, length:
>> 18:13:28.473802 IP 10.0.10.3.5060 > 66.180.205.11.5060: SIP, length:
>>
>>
>> Thoughts?
>>
>> Thanks,
>> Bill
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro
More information about the Users
mailing list