Scripts: Automate your router

RouterOS scripts and the Scheduler: record the router status in the log, monitor an external host with :if and count the active interfaces.

Intermediate · 20 min · 3 devices · Free plan

Topology
ether2ether2eth1ether3InternetLAN10.50.1.0/24WANWANRouterRouterTerminalTerminal

Scenario

You manage the router of a small office and you want to stop checking it by hand: you want it to record in the log how it is doing, to warn you if Internet access is lost and to count how many interfaces it has up. You will do it with RouterOS scripts and Scheduler tasks that launch them on their own. The network already works and must not be touched: all the work is on the Router.

What you practise

  • Scripts
  • Scheduler

Practise this lab

It deploys in your account in under a minute and you connect over VPN with WinBox, SSH or WebFig. The panel checks each objective.

More Beginner Level labs

See all labs →