Hi
I had a working Failover Setup with RouterOS 6 (no Script, no Firewall Rules).
Over a year ago I found this solution somewhere and used it without understanding how it actually works.
Changed to 7.1.1 (because of the Rest API) an most of my Routes are now marked as invalid and/or unreachable
This is my setup:
/ip route
add comment="Default Route WAN1 -> Virtual Hop (Cost 1)" distance=1 gateway=10.231.1.1
add comment="Default Route WAN2 -> Virtual Hop (Cost 2)" distance=2 gateway=10.232.2.2
add comment="Route WAN1 CheckHost 1 (Google DNS 1)" distance=1 dst-address=8.8.8.8/32 gateway=130.181.92.97 scope=10
add comment="Route WAN1 CheckHost 2 (OpenDNS 1)" distance=1 dst-address=208.67.220.220/32 gateway=130.181.92.97 scope=10
add comment="Route WAN2 CheckHost 1 (GoogleDNS2)" distance=1 dst-address=8.8.4.4/32 gateway=192.168.8.1 scope=10
add comment="Route WAN2 CheckHost 2 (OpenDNS 2)" distance=1 dst-address=208.67.222.222/32 gateway=192.168.8.1 scope=10
add check-gateway=ping comment="Virtual Hop WAN 1 Checkhost1" distance=1 dst-address=10.231.1.1/32 gateway=8.8.8.8 scope=10
add check-gateway=ping comment="Virtual Hop WAN1 Checkhost 2" distance=1 dst-address=10.231.1.1/32 gateway=208.67.220.220 scope=10
add check-gateway=ping comment="Virtual Hop WAN 2 Checkhost1" distance=1 dst-address=10.232.2.2/32 gateway=8.8.4.4 scope=10
add check-gateway=ping comment="Virtual Hop WAN 2 Checkhost2" distance=1 dst-address=10.232.2.2/32 gateway=208.67.222.222 scope=10
Hopefully somebody with RouterOS 7 knowledge can tell me what to change?

