I would like to create a scheduled script for default gateway failover?
Any ideas where to start?
/ tool netwatch
add host=3.3.3.3 timeout=1s interval=1m up-script="/ip route set \[find comment=Default\] gateway=1.1.1.1" \
down-script="/ip route set \[find comment=Default\] gateway=2.2.2.2" comment="" disabled=no
/ip route
add dst-address=3.3.3.3 gateway=1.1.1.1 comment="Always use this default gateway for netwatch IP"
just add the comment Default to your route in questionCode: Select all/ tool netwatch add host=3.3.3.3 timeout=1s interval=1m up-script="/ip route set \[find comment=Default\] gateway=1.1.1.1" \ down-script="/ip route set \[find comment=Default\] gateway=2.2.2.2" comment="" disabled=no