RouterOS includes an extremely useful tool call Netwatch to help automate tasks. Netwatch Pings a defined hosts and then takes a scripted action when the host is reachable and/ or not reachable. There are many reasons to use Netwatch. Here are just a few:
- To solve static routing limitations
- Change the gateway the router is using based on whether or not the router has Internet connectivity
- Report network failures
- Watch for when specific hosts join or leave the network
- Edify routing protocols such as RIP, OSPF, and BGP
Hope you enjoyed this tutorial! If you have any questions or insights, please add a comment below.