[SR-Users] answer back from wrong IP / Interface

Mihaly Zachar zmihaly at gmail.com
Fri Jun 26 19:22:36 CEST 2015


Hi Gents,

We have a redirect server based on Kamailio (4.2.3).

The server has multiple IPs, but Kamailio is bound to only one address:

http://view.xscreenshot.com/9dfdf449a387bdc6f9a719eae3620416


*Sometimes* it answers back from a wrong IP address, here is the proof:

http://view.xscreenshot.com/ac661d6b303eda6653b37be7cf65aa65

The interesting thing is that if I do:

root at tralab-route-01:~# ip ro get 10.121.24.51
10.121.24.51 via 10.121.43.30 dev vlan486  src 10.121.43.17
    cache  ipid 0x05ad
root at tralab-route-01:~#

So the 10.121.43.17 IP is selected, but I *do* expect that Kamailio send
back the answer from the same socket where it got the request.

What could be the issue ?
Why does it do that *sometimes* ? In the majority of the time it works
well..
I am not sure why this happens...

Thanks,
Mitya



More information about the sr-users mailing list