Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Locked History Actions

MikroTikSwitchRouterOS

Important Notes

  • This page describes the configuration of MikroTik Switches with RouterOS. See also: MikrotikSwitchSwitchOS

  • MikroTik Switches have the default IP 192.168.88.1/24

  • The default username is admin with an empty password.
  • For detailed information about RouterOS see RouterOS Documentation

Basics

Configuration methods

MikroTik Switches can be configured in multiple ways: the webinterface, winbox (native app), SSH or serial console. In this guide the webinterface is used, configuration via winbox is very similar. The advantage of winbox is that it can use MAC-Telnet to connect to the switch. This is convenient since the switch is accessible even if there is no IP address assigned on the interface the managing computer is connected to.

Accessing the webinterface (WebFig)

  • Assign an IP address from the range 192.168.88.2-254 to your computer.
  • Open http://192.168.88.1 in your browser

  • Log in and click on WebFig in the top right corner.

Firmware upgrade

  • Check the architecture of your switch. You can find this under Specifications on the MikroTik website, the product page for your switch.

  • Achitectures of some commonly used switches:
    • CRS112-8P-4S-IN: MIPSBE

  • Download the newest stable RouterOS version from the MikroTik website

  • In WebFig, click on Files in the left main menu.

  • Upload the RouterOS firmware image (.npk file) into the root directory.
  • Reboot the switch, the update should be applied automatically.

Initial configuration

  • Set a password: System->Password

  • Set the hostname System->Identity

Bridge and VLAN configuration

Extending the ports of a router is the most common usecase for a managed switch at a funkfeuer node. A router (e.g. EdgeRouter) is connected to one port of the switch and can access other ports of the switch separately. This is done via VLANs: the router is on a trunk port, other (wireless) devices are on access ports. See the RouterOS Documentation on Bridge VLAN Tables for further explanation. First it is advisable to create a VLAN table in the documentation(!) of your node (e.g. a wiki page).