My Linux will get dynamic route entries from neighbor routers sent by RIPv2 advertisement. My Linux is running Qugga and the advertising routers are Cisco on which I have no control.
I will get a route like below automatically inserted into the route table:
10.17.0.0/16 via 10.3.255.94 dev gre1 proto zebra metric 20
What I need to do is to add a 'src' component to the auto etnry to make it something like:
10.17.0.0/16 via 10.3.255.94 dev gre1 proto zebra metric 20 src an-addr-other-that-gre1.
The question is, how do I automatically do it anytime when the new route was inserted? Does Quagga config support to do? Or, otherwise, another general mechanism allows me to do it independent to Quagga?