/tool netwatch :foreach i in=[find comment~"path"] do={ remove $i } /ip route :foreach r in=[find comment~"probe pin"] do={ remove $r } :foreach r in=[find comment~"probe blackhole"] do={ remove $r } /ip route add dst-address=4.2.2.1/32 gateway=192.168.12.1%ether6-tmobile check-gateway=ping distance=1 scope=10 comment="TMO probe pin" add dst-address=4.2.2.1/32 type=blackhole distance=2 comment="TMO probe blackhole" add dst-address=4.2.2.2/32 gateway=204.110.191.30%ether5-vntx-static check-gateway=ping distance=1 scope=10 comment="VNTX probe pin" add dst-address=4.2.2.2/32 type=blackhole distance=2 comment="VNTX probe blackhole" add dst-address=4.2.2.3/32 gateway=192.168.1.1%ether7-starlink check-gateway=ping distance=1 scope=10 comment="Starlink probe pin" add dst-address=4.2.2.3/32 type=blackhole distance=2 comment="Starlink probe blackhole" /tool netwatch add type=simple host=4.2.2.1 interval=2s timeout=1s comment="TMO path" up-script="/ip route enable [find comment=\"Default via TMO (primary)\"]; /ip route enable [find comment=\"tmo table default\"]" down-script="/ip route disable [find comment=\"Default via TMO (primary)\"]; /ip route disable [find comment=\"tmo table default\"]" add type=simple host=4.2.2.2 interval=2s timeout=1s comment="VNTX path" up-script="/ip route enable [find comment=\"Default via VNTX (secondary)\"]" down-script="/ip route disable [find comment=\"Default via VNTX (secondary)\"]" add type=simple host=4.2.2.3 interval=2s timeout=1s comment="Starlink path" up-script="/ip route enable [find comment=\"Default via Starlink (last resort)\"]" down-script="/ip route disable [find comment=\"Default via Starlink (last resort)\"]"