1st Gateway is PPPOE over bridged modem.
2nd Gateway is DHCP assigned
Unplugging the power from the modem causes the failover to trigger to the second gateway and works as expected. When I plug the modem back in the mikrotik uses the primary gateway.
If I remove the phone line from the back of the modem this does not trigger the failover to second gateway.
My question is how does the mikrotik determine that the gateway is down? Is it purely by checking that the modem is still connected over lan? This seems to be what it is doing.
If so, is there a way that I can tell the mikrotik to ping an internet host over the PPPOE connection to determine whether the gateway is live or not?
By default the router checks the next hop for a route by the check gateway. This isn’t enough however as it doesn’t detect if there is an issue past the router, or in the providers network. So that leaves you with a few other options to better suite your needs.