Basic Guidelines On RouterOS Configuration and Debugging2
Basic Guidelines On RouterOS Configuration and Debugging2
Tokyo, Japan
May 2018
RouterOS is the same
everywhere
Management Tools
RouterOS Management tools
• CLI (Command Line Interface)
https://wiki.mikrotik.com/wiki/Manual:Console
• WebFig,
https://wiki.mikrotik.com/wiki/Manual:Webfig
• TikApp,
https://forum.mikrotik.com/viewtopic.php?t=98407
• Winbox,
https://wiki.mikrotik.com/wiki/Manual:Winbox
The fastest configuration
QuickSet
QuickSet
• Easy to use
• Disable IP/Services
/ip service disable api,api-
ssl,ftp,www-ssl
Security
• Adjust MAC access
/tool mac-server set [ find
default=yes ] disabled=yes
/tool mac-server add
interface=bridge
/tool mac-server mac-winbox set
[ find default=yes ] disabled=yes
/tool mac-server mac-winbox
add interface=bridge
Security
• Disable LCD
/lcd set enabled=no
/lcd set touch-screen=disabled
Security
• Place router in secure location
• https://wiki.mikrotik.com/wiki/Manual:IP/Firewall/
NAT#Masquerade
Firewall
https://wiki.mikrotik.com/wiki/Manual:Packet_Flow_v6
Firewall
• NAT to LAN
/ip firewall nat add chain=dstnat in-interface=ether1
protocol=tcp dst-port=22 action=dst-nat dst-
address=172.16.1.243 to-address=192.168.88.23
• https://wiki.mikrotik.com/wiki/
Manual:Troubleshooting_tools#Torch_.
28.2Ftool_torch.29
Debugging Tools
Debugging Tools
• Sniffer
• Graphing
• The Dude
• Bugfix
Latest full release (tested on many different scenarios
for a long time and admitted as trustworthy) with all
safe fixes
Upgrade Device
When software stops working?
Troubleshoot issue
• Backup RouterBOOT
1) Power device off, press and hold reset button
2) Power device on and after 1-2 seconds release button
• Netinstall
1) Test Netinstall
https://wiki.mikrotik.com/wiki/Manual:Netinstall
2) Try to re-install any other router
• Reset device
https://wiki.mikrotik.com/wiki/Manual:Reset
Troubleshoot issue
• Serial port
1) Shows all available information (also booting)
2) Will work if problem is related to Layer2/Layer3
connectivity and/or interfaces themselves
• Exchange device
• Power adapter
• PoE
• Cables
• Power source
MikroTik Support
Software Issues
• Configuration is not working properly
Logs and supout file;
https://wiki.mikrotik.com/wiki/Manual:Support_Output_File
• Out of memory
1) Upgrade device (mandatory)
2) Reboot device and generate supout file (normal situation)
3) When RAM is almost full generate another supout file
(problematic situation)
Software Issues
• Device freezes
1) Upgrade device (mandatory)
2) Connect serial console and monitor device
3) Generate supout file (problematic situation)
4) Copy serial output to text file