I’ve played now a long time to configure Failover with two WANs.
However both solutions in the wiki have the same Problem, they are simple but slow.
for e.g. Failover WAN1 → WAN2:
It seems like the router tries the old route over WAN1, even if the route isn’t working anymore and it takes some time till it is working again.
At the moment I’m testing only WAN1 with netwatch with 8.8.8.8 and blocked traffic to 8.8.8.8 over WAN2.
How could i change the routing that it always probe 8.8.8.8 over WAN1?
I’ve made the static route 8.8.8.8 → gateway WAN1,distance 1 scope 10
but it’s still trying to reach 8.8.8.8 over WAN2 when WAN1 is down, that’s why i’ve blocked 8.8.8.8 on WAN2.
This is the basic setup I use for both my main internet connections as well as my VPN setups, it’s fast (very) and requires no additional scripting or netwatch usage. Just ensure your pppoe client does not create it’s own default route.