Postado originalmente por
rps67
/ tool netwatch
add host=201.10.209.185 timeout=1s interval=45s up-script=link-1M-3613-UP \
down-script=link-1M-3613-DOWN comment="link-1M-3613" disabled=no
add host=201.10.249.53 timeout=1s interval=40s up-script=link-1M-5581-UP \
down-script=link-1M-5581-DOWN comment="link-1M-5581" disabled=no
add host=200.160.2.3 timeout=1s interval=45s up-script=link-800-5314-UP \
down-script=link-800-5314-DOWN comment="link-800-5314" disabled=no
add host=201.10.209.189 timeout=1s interval=45s up-script=link-600-4876-UP \
down-script=link-600-4876-DOWN comment="link-600-4876" disabled=no
add host=201.10.249.57 timeout=1s interval=40s up-script=link-1M-5581-UP \
down-script=link-1M-5581-DOWN comment="link-Dedicado" disabled=no
-----------------------------------------------------------------------
/ system script
add name="link-800-5314-UP" source="/ip route set \[/ip route find \
gateway=10.4.1.1\] disabled=no" policy=ftp,reboot,read,write,test,winbox
add name="link-800-5314-DOWN" source="/ip route set \[/ip route find \
gateway=10.4.1.1\] disabled=yes" policy=ftp,reboot,read,write,test,winbox
add name="link-600-4876-UP" source="/ip route set \[/ip route find \
gateway=10.5.1.1\] disabled=no" policy=ftp,reboot,read,write,test,winbox
add name="link-600-4876-DOWN" source="/ip route set \[/ip route find \
gateway=10.5.1.1\] disabled=yes" policy=ftp,reboot,read,write,test,winbox
Estudo ae, funciona 100%, não esqueça de colocar no ip route o mesmo ip setado em tool netwatch apontando para o gateway do link específico.