[SR-Users] rtpengine with mutiple IPs on the same network.

Sergey Safarov s.safarov at gmail.com
Sun Jul 5 07:02:14 CEST 2020


Required configure police based routing

https://www.drdobbs.com/policy-routing-in-linux/199100936

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-policy-based-routing-to-define-alternative-routes_configuring-and-managing-networking


On Sun, Jul 5, 2020 at 2:54 AM David Villasmil <
david.villasmil.work at gmail.com> wrote:

> I know this is more of a networking routing question, just trying to see
> if you can find a better solution than re-architecturing the network.
> Although maybe that’s the best approach, since this is a pretty new setup.
> Maybe it’s better to do it now and not using work-arounds?
>
> On Sun, 5 Jul 2020 at 00:39, David Villasmil <
> david.villasmil.work at gmail.com> wrote:
>
>> Hello guys,
>>
>> I have rtpengine running on a box with ips like this:
>>
>> external: 172.10.0.10 (advertise 10.10.10.1)
>> internal: 172.10.0.11
>>
>> Both Ips are on the same network.
>> When i do rtpengine_manage i set "direction=external direction=internal",
>> and the SDP offer is correct.
>>
>> The problem I'm having is that when rtp tried to send to the internal
>> network, the OS (i believe) selects the first interface (external) ip
>> 172.10.0.10 to reach the internal network.
>> This I suppose is not a great deal, but I would like to separate them and
>> only use the internal for internal proxying.
>>
>> Help is appreciated!
>>
>> Thanks!
>>
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.work at gmail.com
>> phone: +34669448337
>>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200705/644ac8a2/attachment.html>


More information about the sr-users mailing list