[sr-dev] [kamailio/kamailio] mhomed does not work with virtual IPs created by keepalived (Issue #3002)

Daniel-Constantin Mierla notifications at github.com
Fri Jan 14 10:28:02 CET 2022


The mhomed tries to query the IP routing table from OS to see what's the network interface/ip that has a route to target. If it happens that the virtual IP has a route to the target, no matter it is internal or external, then it is used.

Moreover, as I observed in some cases the virtual IP, if it is like a second IP associated to the same network interface/card, is not properly reported and the target ip of incoming traffic, again, it is more from OS point of view.

You have to use force send socket to work around it, or if you find a better solution to push in the c code, just make a pull request. I am closing this one, it is more about using kamailio with current features, if you want to discuss further, use the sr-users at lists.kamailio.org mailing lists, maybe users have further hints and tell OS config options that can help, from developer point of view, receive/send over UDP is done using underlying OS API.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3002#issuecomment-1012950325
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3002/1012950325 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220114/090f0f79/attachment.htm>


More information about the sr-dev mailing list