My gateways are both local IPs…
192.168.0.1
192.168.1.1
I use the following script
:if ([/ping 8.8.8.8 count=4 interface=ether1] = 0) do={/ip route set distance=3 number=[find comment=telenet]} else={/ip route set distance=1 number=[find comment=telenet]}
it hops to WAN2 correctly but the it won’t connect back to WAN1 even when the internet is back since
/ping 8.8.8.8 interface=ether1
fails when the WAN2 has the priority
How can I ping via the WAN1 when the route priority is set to WAN2 ?