[OOR-Users] oor as mn, no changing of default route

Lori Jakab lorand.jakab at gmail.com
Sun Feb 10 06:43:36 CET 2019


Hi Lukas,

If you are comfortable with modifying a bit the source code and
rebuilding, the easiest way would be to modify functions
set_tun_default_route_v4() and del_tun_default_route_v4() in
oor/data-plane/tun/tun.c to suite your needs. As you can see there,
the routes are hardcoded and cannot be modified via configuration
options. So your alternative, as you mention, is to edit routes after
startup.

HTH,
-Lori

On Fri, Feb 8, 2019 at 10:00 AM Lukas Gschossmann
<lukas.gschossmann at gmail.com> wrote:
>
> Hello,
> I am using oor as a mn, and I would like to route only traffic that is for my lisp net to the lispTun0 device. That means I would like to skip adding the routes for 0.0.0.0 and 128.0.0.0 via dev lispTun0 and only add the route for the lisp net.
> Is there a way to do it automatically at startup, or do I have to edit the routes after startup of oor?
>
> Thank you!
>
> BR,
> Lukas
> _______________________________________________
> Users mailing list
> Users at mail.openoverlayrouter.org
> https://mail.openoverlayrouter.org/cgi-bin/mailman/listinfo/users


More information about the Users mailing list