[SR-Users] Theoritical Anycast Setup

Henning Westerholt hw at skalatan.de
Tue May 14 09:07:52 CEST 2019


Hello Daniel,

some people implement a setup like this, just keep in mind if the added complexity from anycast/quagga etc.. is worth the availability benefit.

You find one possible implementation in this talk at Kamailio World https://www.youtube.com/watch?v=qivkvCBBVfg

This is of course only one solution, there are another setup with uses a different logic for the anycast/real IP handling.

Cheers,

Henning

Am 14.05.19 um 05:13 schrieb Daniel Oakes:
Hi there,

Long time user, 1st time poster – apologies if someone has posted this previously.

We have a product from a vendor that utilizes Kamailio as a SIP router – but we’re wanting to extend it a little bit by the use of anycast (we’re a small ISP).  Basically the scenario is that we want to utilize Quagga via BGP to anycast an address, which addresses a glaring load balancing issue with have with people who use only A records.

Problem is anycast doesn’t work so well in this scenario, just by adding the Anycast as a listen address on the proxy.  What we’d want to do is rewrite the SIP so that all responses come back out saying to use the ‘real ip’.

So I have two variables – say REAL_IP_ADDRESS and ANYCAST_IP_ADDRESS – request will come in via ANYCAST, but I want all responses from then on to be via REAL_IP_ADDRESS.  We have six Kamailio boxes in various geographical locations, so the idea is they hit one based on closest, and we rewrite it so they end up with the real ip address to talk to.

Anyone done something similar?  I’m guessing possibly, but I can’t find anything specific enough for me to use.

Help appreciated!

Regards,
Daniel




_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190514/dc7584d1/attachment.html>


More information about the sr-users mailing list