User Tools

Site Tools


routerosbaseconfig

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
routerosbaseconfig [2025/01/30 16:44] gaborrouterosbaseconfig [2025/01/30 21:51] (current) gabor
Line 1: Line 1:
-/* page was renamed from MikroTikSwitchRouterOS */ 
 <<[[:TableOfContents|TableOfContents]]>>  <<[[:TableOfContents|TableOfContents]]>> 
  
Line 6: Line 5:
 ====== Important Notes ====== ====== Important Notes ======
  
-  * This page describes the configuration of MikroTik Switches with RouterOS. See also: MikrotikSwitchSwitchOS  +  * This page describes the configuration of MikroTik Devices with RouterOS. See also: MikrotikSwitchSwitchOS  
-  * MikroTik Switches have the default IP 192.168.88.1/24 +  * MikroTik Devices have the default IP 192.168.88.1/24 
   * The default username is admin with an empty password.    * The default username is admin with an empty password. 
   * For detailed information about RouterOS see [[[https://help.mikrotik.com/docs|RouterOS|Documentation]]]    * For detailed information about RouterOS see [[[https://help.mikrotik.com/docs|RouterOS|Documentation]]] 
Line 16: Line 15:
  
 ===== Configuration methods ===== ===== 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. +MikroTik devices can be configured in multiple ways: WebFig (the webinterface)WinBox (native app), SSH or serial console. In this guide the WebFig 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. 
  
  
Line 23: Line 22:
  
   * Assign an IP address from the range 192.168.88.2-254 to your computer.    * 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|http://192.168.88.1]] in your browser    * Open [[http://192.168.88.1|http://192.168.88.1]] in your browser 
-  * Log in and click on [[:WebFig|WebFig]] in the top right corner. +  * Log in (username: admin with no password) and click on [[:WebFig|WebFig]] in the top right corner. 
  
  
 ===== Firmware upgrade ===== ===== Firmware upgrade =====
  
-  * Check the architecture of your switch. You can find this under Specifications on the MikroTik website, the product page for your switch.  +  * Check the architecture of your device. You can find this under Specifications on the MikroTik website, the product page for your device.  
-  * Achitectures of some commonly used switches:  +  * Architectures of some commonly used devices:  
-    * CRS112-8P-4S-IN: **MIPSBE** +    * 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]]]      Download the newest stable RouterOS version from the [[[https://mikrotik.com/download|MikroTik|website]]] 
 +    For devices with a wireless radio (2.4GHz, 5GHz or 60GHz), the extra package 'wireless' is required. **Otherwise the wireless radio will not be active after reboot. Be careful not to lock yourself out by upgrading remote devices and forgetting the wireless package.** 
     In [[:WebFig|WebFig]], click on Files in the left main menu.      In [[:WebFig|WebFig]], click on Files in the left main menu. 
-    Upload the RouterOS firmware image (.npk file) into the root directory.  +    Upload the RouterOS firmware image (e.g. '' routeros-7.17-arm.npk '' ) into the root directory.  
-    Reboot the switch, the update should be applied automatically+    Upload wireless package (e.g. '' wireless-7.17-arm.npk '' ) to the root directory.  
 +    Reboot the device (**System->Reboot**)and wait for the upgrade to finish
  
  
 ===== Initial configuration ===== ===== Initial configuration =====
  
-  * Set a password: System->Password  +  * 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 ====== +    Set the hostname**System->Identity**  
-Extending the ports of a router is the most common usecase for a managed switch at a funkfeuer node. A router (e.g. [[:EdgeRouter|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 [[[https://help.mikrotik.com/docs/spaces/ROS/pages/28606465/Bridge+VLAN+Table#BridgeVLANTable-Trunk%2FAccessportsetup|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). +This can be done via the command line as well
  
 +<file>/password
 +</file>
 +
 +
 +<file>/ip/dns/set servers=10.12.0.10
 +/system/ntp/client/servers/add address=at.pool.ntp.org
 +/system/ntp/client/set enabled=yes
 +/system/identity/set name=changeme
 +</file>
 +
 +
 +====== Further configuration ======
 +
 +  * [[[[:MikroTikWirelessLinks|MikroTikWirelessLinks]]|For 5GHz/60GHz devices]] 
 +  * [[MikroTikSwitchRouterOS|For Switches]] 
  
  
routerosbaseconfig.1738255467.txt · Last modified: by gabor

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki