I am trying to monitor 8.8.8.8 out one interface and 8.8.4.4 over another.
Interface with distance 2 route shows as reachable. Netwatch also shows as Up.
Interface with distance 1 route shows as reachable. Netwatch shows it as Down.
/ip route
add check-gateway=ping distance=2 gateway=pppoe-out1 routing-mark=DSL
add check-gateway=ping disabled=yes distance=1 gateway=ether2-CableModem \
routing-mark=Cable
add check-gateway=ping distance=2 dst-address=8.8.4.4/32 gateway=pppoe-out1
add check-gateway=ping distance=1 dst-address=8.8.8.8/32 gateway=\
ether2-CableModem
/tool netwatch> print
Flags: X - disabled
HOST TIMEOUT INTERVAL STATUS
0 ;;; Internet Check
8.8.4.4 1s 1m up
1 ;;; Cable Check
8.8.8.8 1s 1m down
If I change the route to include the gateway for that interface... it works.
Pings go.
Traceroute shows proper routing.
Torching the interface confirms.
Since this is a dynamic IP its not that easy. But i guess a script could pick the gateway from the live route and plug it in.
i am sure there is an easier way I am missing.