In my network i have router with 3 outgoing interfaces.
1 - directly connected to backbone, 14 neighbors, bad wifi link
2 - has 1 hope to backbone, 1 neighbor, good wifi + optics
3 - has 2 hopes before backbone 1 neighbor, # wifi links
I want to pass traffic on the second link coz of its quality which is much better then link #1.
I’m changing costs of ospf interfaces , even tried to rise priority of interface.
But still ether1 has state “DR other”, and all traffic passed to it.
Other 2 interfaces have “backup” state
Yeah i know about this article.
This thing looks and should be trivial.
Interface with lower cost should override interface with higher cost but nothing happens.
Desired interface accepts inetrface only while i’m doing some changes to this “primary” interface. After this unwanted interface finishes it’s recalculation traffic again passed back to this interface.
Maybe i still not doing something right?
Maybe you have some other small real life example?
Look in your routing table and check if it is actually the OSPF routes that are not calculating as you expect - or is some other static entry causing confusion.
FYI - when an interface is set to DR, backup or DRother changing the priorities does not immediately cause an election so those statuses do not change immediately in response to priority changes - but they do once an election occurs. In any case those statuses are not related to the route costs.