I used this scritp for failover (Method 2 - 2 hosts 8.8.8.8 for ISP1 and 8.8.4.4 for ISP2) - https://serman.maxdesk.com/user/viewarticle/9378
The script is basically same as in MikroTik Wiki but better explained - https://wiki.mikrotik.com/wiki/Advanced_Routing_Failover_without_Scripting
For now im pretty sure its not working as it should OR i have some misconfiguration…
So im testing it in my laboratory.
Here are my routes.
Note: The configuration works perfectly if i disconnect cable from ether1 (ISP1) and/or ether2 (ISP2) - connections go back and foward between reachable ISPs (ISP1 as main (distance 1) connection)
But it does not really check for 8.8.8.8 because my ISP1 and ISP2 are virtual ISP´s from my main device (also MikroTik).
For advanced testing i created rule in my MAIN device that disables all forward traffic to 8.8.8.8 - so now my testing enviroment should have fallen to ether2 (ISP2) connection BUT IT DIDNT!
Tested pinging 8.8.8.8 from main device - no answer.
Tested pinging 8.8.8.8 from failover lab device - no answer.
Problem: Failover configuration with routing is still able to access 8.8.8.8 (in routing menu) but the router actually cant ping 8.8.8.8 (neither from ISP1, ISP2 or LAN interface) and the failover is not working.
Am i missing something or its really not working?
I just found out the topic - http://forum.mikrotik.com/t/check-gateway-ping-isnot-works-but-netwatch-works/105329/1
But thisone is not helping me either.