User Tools

Site Tools


routerosbaseconfig

This is an old revision of the document!


«TableOfContents»

Important Notes

  • This page describes the configuration of MikroTik Devices with RouterOS. See also: MikrotikSwitchSwitchOS
  • MikroTik Devices 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 devices 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 device. This is convenient since the device 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.
  • Set the netmask to 255.255.255.0 (/24)
  • Open http://192.168.88.1 in your browser
  • Log in (username: admin with no password) and click on WebFig in the top right corner.

Firmware upgrade

  • Check the architecture of your device. You can find this under Specifications on the MikroTik website, the product page for your device.
  • Architectures of some commonly used devices:
    • CRS112-8P-4S-IN (8-port PoE switch): MIPSBE
    • RBwAPG-60ad(-A) (60GHz AP/CPE): ARM 32bit
    • CubeG-5ac60ay (60GHz PtP): ARM 32bit
  Download the newest stable RouterOS version from the [[[https://mikrotik.com/download|MikroTik|website]]] 
  For wireless devices, the extra package 'wireless' is needed as well 
  In [[:WebFig|WebFig]], click on Files in the left main menu. 
  Upload the RouterOS firmware image (.npk file) into the root directory. 
  For wireless devices, make sure to upload the package 'wireless' as well. 
  Reboot the device (System->Reboot), wait for the device to reboot and upgrade. 

Initial configuration

  • Set a password: System→Password
  • Set the hostname: System→Identity
  • Set the DNS server: IP→DNS
    • This is needed for software updates.
    • Funkfeuer Graz provides a DNS server at 10.12.0.10
  Setup the NTP Client: System->SNTP Client 
  * Primary NTP Server: at.pool.ntp.org 
  * Enable the SNTP client 

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).

routerosbaseconfig.1738257251.txt · Last modified: by gabor

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki