I recently upgraded my edge router from v6 to v7 by manually configuring a new router and not doing an in place upgrade. When I swap the routers I get an undesirable outcome on my OSPF routing decision. I have two DCs that both use MikroTiks as edge routers, and I have two GRE tunnels between them one with a symmetric cost of 100 and the other 200. The v7 router, instead of choosing the least cost for the networks advertised, load-balances the traffic between the two GRE tunnels (192.168.106.20/30), and even installs multiples of the routes advertised by my NSX routers (192.168.119.0/24). This behavior is the same with redistributed routes, connected routes advertised from the other router. Configuration and routing output posted:
The issue I’m having is although I have set the cost as 100 and 200, the traffic is load-balanced between the two tunnels. This seems like a bug on v7 because it doesn’t happen on the CHR. And regarding the NSX part, I don’t mind if the traffic is load-balanced, but I see duplicates of the same network with the same next-hop, which is another issue on its own.
have two GRE tunnels between them one with a symmetric cost of 100 and the other 200. The v7 router, instead of choosing the least cost for the networks advertised, load-balances the traffic between the two GRE tunnels (192.168.106.20/30),
use path priority instead of path cost.
128 higher preference.
64 lesser preference.
for this part,
and even installs multiples of the routes advertised by my NSX routers (192.168.119.0/24).
it is a correct behavior since the ecmp routes are there.
don’t worry, ospf knows which interface to forward the traffic - by that path priority.
I’m not sure if you’re referring to /routing/ospf/interface-template:priority which is in fact for DR and BDR election according to OSPF documentation: https://help.mikrotik.com/docs/display/ROS/OSPF
Now, getting back to the topic at hand, the router is behaving as expected after a reboot, but I cannot trust it enough to move load to it again.
I have send MikroTik support an email and included the support.rif file and am waiting for a response. Will update if I find anything else.
According to SUP-123027, there was a routing protocol crash. When it happens old routes stay in the routing table, router reboot will get rid of all the bogus routes.
I have a similar issue with OSPF, when changing address of the interface or manipulating with the physical interface the routing remains suspended. Sometimes even it chooses the wrong gateway. Only a reboot helped.
Do you know if the fix will be released in the next releases?