InoX your solution worked awesomely well for me. This is on my hapAC (MikroTik RouterOS 6.40.3 (c) 1999-2017) dual wan failover with DHCP on wan ports.
I have ether1 (WAN1) connected to a TWC DOCSIS3.0 modem, and ether2 (WAN2) connected to a google fiber.
IP > DHCP Client > DHCP tab > interface: ether1; add default route : yes
IP > DHCP Client > Advanced tab > Default Route Distance: 1
IP > DHCP Client > DHCP tab > interface: ether2; add default route : yes
IP > DHCP Client > Advanced tab > Default Route Distance: 2
I had static routes set with scope and distance setting per some previous posts, I have now deleted them now. These are not needed if one uses InOX's solution.
In addition i realised that without ping check the changeover is not very effective especially if you have unresponsive modem/gateway device. So found that adding this in the routing filter is helping:
add action=passthrough chain=dynamic-in disabled=no set-check-gateway=ping
the above is as suggested in here by tabate47: viewtopic.php?t=112532#
Would appreciate if people would post their finding and test observations. Thanks tabate47.
You do not have the required permissions to view the files attached to this post.