Hi,
So what I'm trying to do is to set the preferred source for locally
generated packet when using the default route (and only that one).
Here's the config :
----
ip route 0.0.0.0/0 172.30.1.1
ip route 2.2.0.0/16 172.30.2.128
access-list 1500 permit 172.30.1.1
route-map rm-set-source permit 10
match ip next-hop 1500
set src 1.1.1.1
route-map rm-set-source permit 20
ip protocol static route-map rm-set-source
----
The main issue I'm facing is that the static routes are installed
before the route-map is set and so
(actually since this is under VyOS, the config is added progressively
by VyOS config system, but they're added in the same order as the
running config, with routes added first and the route-map set later)
Is there a way to have quagga "reload" the static routes or have the
"ip protocol static route-map" trigger a proper update ?
Even typing:
"no ip route 0.0.0.0/0 172.30.1.1"
"ip route 0.0.0.0/0 172.30.1.1"
on vtysh doesn't actually fix the issue because the first "no" command
won't actually remove the route. Indeed the command to remove will use
the route map and so it'll try to remove a route with the 'src'
attribute set and won't find it. So it'll actually add a duplicate ...
Cheers,
Sylvain
_______________________________________________
Quagga-users mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-users