When a route is learned through some dynamic routing protocol, such as OSPF, how is the pref-src selected for locally originated packets?
In my case, I have two IP addresses on the interface, one for backhaul antenna management and one for the PtP between routers. The router is silently selecting the management IP for pref-src on OSPF routes, meaning that the management IP is showing up in traceroutes etc (not a desirable outcome).
So my questions are:
- Exactly what criteria does the router use to select the pref-src for a dynamic route; and,
- Is there any way to influence this choice?
TIA.