Dynamic routes and High Availability

And this is another way using netwatch:
http://forum.mikrotik.com/t/simpler-failover-for-two-gateways-i-found-working/169108/1
the further simplified method here:
http://forum.mikrotik.com/t/simpler-failover-for-two-gateways-i-found-working/169108/1
has been tested and it is working, but is intended for static addresses/routes, if you need to use the DHCP on the GPON and LTE you might want to manualy restrict them to a single address or use DHCP scripts similar to the one anav posted that effectively downgrades the DHCP provided route to distance 255 and sets the actual DHCP provided gateway on the pre-existing static route, and in point 3 the netwatch script will need to be changed back to find comment= (since the gateway may be changed by the DHCP, selecting the route with [find dst-address=0.0.0.0/0 and gateway=w.x.y.z] won’t be a good method anymore).