Router 1 should ALWAYS be a default gw for R2 and R3.
But when R1 goes down or can’t ping it’s own gw R2 should become a default gw for itself and R3 (and R1 if it’s online but can’t ping gw).
After R1 restores it’s state I want system to switch back to it.
Can you please advise me a working configuration for that ?
You haven’t given very detailed information but as I understand it you should be able to do it by setting a static default route on R2 with a distance of 180 or something that will not take precedence over the default route coming from OSPF.
You may need to adjust your OSPF instance on R2, by that I mean adjust the value for distribute default route.
That’s pretty strange. I saw a post from you in a different thread about this same topic, but you stated that you need to disable/enable the floating static backup default gateway. Did that fix this issue?
That sounds like a bug to me - your output shows something that (in my opinion) clearly shows that the router should be using the OSPF default route and not the static route.
Interesting that much more people took a look at the second thread - the magic of words I think
Yes, if static route 0.0.0.0/0 is manually disabled and then enabled while ospf is running R2 took a correct gw. I never wrote scripts for mikrotik so it’s really a poor solution.
I’m curious - if the router reboots with this configuration in place, does it wake up and start working properly?
If the OSPF default route goes away and then returns (as it would if the primary ISP fails), does OSPF take back over like it should?
As for where to file bug report - I think send to customer support for ticket.
I read the other thread a little more carefully, and apparently, the default always sticks, even when OSPF route comes back after failure. This just seems wrong.
I’m going to stop using this thread and focus on the other one (since it’s so popular and all)