1. 🚀 Basic System Setup

Objective:

Configure basic system settings like hostname, identity, and initial security.

Command Sequence:

[admin@MikroTik] > system identity set name=MyRouter [admin@MyRouter] > system resource print [admin@MyRouter] > system clock print [admin@MyRouter] > system backup save name=initial-config

Expected Output:

uptime: 1w2d3h4m5s version: 7.1.1 board-name: RB750Gr3 total-memory: 256MB free-memory: 128MB cpu-load: 15%

2. 🔌 Interface Configuration

Objective:

Configure network interfaces and assign IP addresses for LAN and WAN connections.

Command Sequence:

[admin@MyRouter] > interface print [admin@MyRouter] > ip address add address=192.168.100.1/24 interface=bridge1 [admin@MyRouter] > ip address add address=10.0.0.1/24 interface=ether2 [admin@MyRouter] > interface set ether1 comment="LAN Port" [admin@MyRouter] > interface set ether2 comment="WAN Port"

Interface Status:

# NAME TYPE MTU MAC-ADDRESS COMMENT 0 R ether1 ether 1500 4C:5E:0C:12:34:56 LAN Port 1 R ether2 ether 1500 4C:5E:0C:12:34:57 WAN Port 2 X ether3 ether 1500 4C:5E:0C:12:34:58 Backup Port 3 R wlan1 wlan 1500 4C:5E:0C:12:34:59 WiFi Access Point 4 R bridge1 bridge 1500 4C:5E:0C:12:34:5A LAN Bridge

3. 🌐 DHCP Server Configuration

Objective:

Set up DHCP server for automatic IP address assignment to clients.

Command Sequence:

[admin@MyRouter] > ip dhcp-server print [admin@MyRouter] > ip dhcp-server lease print [admin@MyRouter] > ip pool add name=lan-pool ranges=192.168.100.100-192.168.100.200 [admin@MyRouter] > ip dhcp-server add name=lan-dhcp interface=bridge1 address-pool=lan-pool

DHCP Server Status:

# NAME INTERFACE ADDRESS-POOL LEASE-TIME 0 dhcp1 bridge1 pool1 1d 1 dhcp-wifi wlan1 pool-wifi 12h

Active DHCP Leases:

# ADDRESS MAC-ADDRESS HOST-NAME STATUS LEASE-TIME 0 D 192.168.100.150 00:11:22:33:44:55 PC-Office-01 bound 23h59m 1 D 192.168.1.150 00:11:22:33:44:66 iPhone-John bound 11h30m

4. 🌍 DNS Configuration

Objective:

Configure DNS settings and static DNS entries for local network.

Command Sequence:

[admin@MyRouter] > ip dns print [admin@MyRouter] > ip dns set servers=8.8.8.8,1.1.1.1 [admin@MyRouter] > ip dns static print [admin@MyRouter] > ip dns static add name=router.local address=192.168.100.1

DNS Settings:

DNS Settings: servers: 8.8.8.8,1.1.1.1 allow-remote-requests: true cache-size: 2048KiB cache-max-ttl: 1w

Static DNS Entries:

# NAME TYPE ADDRESS TTL 0 router.local A 192.168.100.1 1d 1 nas.local A 192.168.100.10 1d 2 server.local A 192.168.100.20 1d

5. 🛡️ Firewall Configuration

Objective:

Configure firewall rules for network security and NAT rules for internet access.

Firewall Filter Rules:

[admin@MyRouter] > ip firewall filter print

Filter Rules Output:

# CHAIN ACTION PROTOCOL SRC-ADDRESS DST-ADDRESS COMMENT 0 input accept icmp any any Allow ICMP 1 input accept all any any Allow established connections 2 input accept all any any Allow from LAN 3 input drop all any any Drop all other input 4 forward accept all any any Allow established forward 5 forward accept all any any Allow LAN to WAN 6 forward drop all any any Drop all other forward

NAT Rules:

[admin@MyRouter] > ip firewall nat print

NAT Rules Output:

# CHAIN ACTION SRC-ADDRESS DST-ADDRESS TO-ADDRESSES COMMENT 0 srcnat masquerade any any pppoe-out1 Masquerade to Internet 1 dstnat dst-nat any any 192.168.100.20 HTTP to internal server 2 dstnat dst-nat any any 192.168.100.20 HTTPS to internal server

6. 📡 Wireless Configuration

Objective:

Configure WiFi access point settings and wireless security.

Command Sequence:

[admin@MyRouter] > interface wireless print [admin@MyRouter] > interface wireless scan wlan1 [admin@MyRouter] > interface wireless registration-table print [admin@MyRouter] > interface wireless security-profiles print

Wireless Interface Status:

# NAME MODE SSID FREQUENCY CLIENTS 0 R wlan1 ap-bridge MikroTik-WiFi 2412 3

Wireless Scan Results:

Scanning on interface wlan1... SSID BSSID FREQUENCY SIGNAL CC SECURITY Home-WiFi aa:bb:cc:dd:ee:01 2412 -45dBm 10 WPA2 Office-Guest bb:cc:dd:ee:ff:02 2437 -52dBm 15 none Neighbor-5G cc:dd:ee:ff:00:03 5180 -67dBm 5 WPA2

Connected Clients:

INTERFACE MAC-ADDRESS SIGNAL TX-RATE RX-RATE UPTIME COMMENT wlan1 00:11:22:33:44:66 -45dBm 300Mbps 300Mbps 2h15m John's iPhone wlan1 11:22:33:44:55:66 -52dBm 150Mbps 150Mbps 45m Laptop-Office

7. 🌉 Bridge Configuration

Objective:

Configure bridge interfaces to combine multiple network ports.

Command Sequence:

[admin@MyRouter] > interface bridge print [admin@MyRouter] > interface bridge port print [admin@MyRouter] > interface bridge host print

Bridge Status:

# NAME PROTOCOL FAST-FORWARD IGMP-SNOOPING 0 R bridge1 rstp yes no

Bridge Ports:

# INTERFACE BRIDGE PVID PRIORITY PATH-COST HORIZON 0 ether1 bridge1 1 0x80 10 none 1 ether3 bridge1 1 0x80 10 none 2 wlan1 bridge1 1 0x80 100 none

8. 🛣️ Routing Configuration

Objective:

Configure static routes and check routing table.

Command Sequence:

[admin@MyRouter] > ip route print [admin@MyRouter] > ip route add dst-address=192.168.20.0/24 gateway=10.1.1.2 [admin@MyRouter] > ip address print

Routing Table:

# DST-ADDRESS PREF-SRC GATEWAY DISTANCE 0 A 0.0.0.0/0 192.168.88.1 1 1 A 192.168.88.0/24 ether1 0 2 A 10.0.0.0/24 ether2 0

IP Addresses:

# ADDRESS NETWORK INTERFACE 0 192.168.88.1/24 192.168.88.0 ether1 1 10.0.0.1/24 10.0.0.0 ether2 2 192.168.1.1/24 192.168.1.0 wlan1 3 192.168.100.1/24 192.168.100.0 bridge1

9. ⚙️ System Commands

System Information:

[admin@MyRouter] > system resource print [admin@MyRouter] > system clock print [admin@MyRouter] > system identity print [admin@MyRouter] > system backup save name=config-backup [admin@MyRouter] > system reboot

System Resource Output:

uptime: 1w2d3h4m5s version: 7.1.1 board-name: RB750Gr3 total-memory: 256MB free-memory: 128MB cpu-load: 15%

10. 🔧 Network Tools

Objective:

Use network diagnostic tools for troubleshooting and monitoring.

Command Sequence:

[admin@MyRouter] > ping 8.8.8.8 [admin@MyRouter] > tool traceroute 8.8.8.8 [admin@MyRouter] > tool bandwidth-test [admin@MyRouter] > tool torch

Ping Output:

PING 8.8.8.8 56 data bytes 64 bytes from 8.8.8.8: seq=0 ttl=58 time=15.2 ms 64 bytes from 8.8.8.8: seq=1 ttl=58 time=14.8 ms 64 bytes from 8.8.8.8: seq=2 ttl=58 time=16.1 ms --- 8.8.8.8 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss

Bandwidth Test Results:

Bandwidth test results: Download: 94.7 Mbps Upload: 89.2 Mbps

Traffic Monitor (Torch):

Torch - Traffic monitoring: PROTOCOL SRC-ADDRESS DST-ADDRESS TX RX tcp 192.168.100.150:45623 172.217.16.142:443 2.3k 15.7k tcp 192.168.100.150:52341 157.240.22.35:443 1.8k 8.9k udp 192.168.1.150:54123 8.8.8.8:53 256 512

11. 🔍 Troubleshooting

Common Issues and Solutions:

Interface Down Problem:

[admin@MyRouter] > interface print [admin@MyRouter] > interface enable ether1 [admin@MyRouter] > interface monitor ether1

Connectivity Issues:

[admin@MyRouter] > ip neighbor print [admin@MyRouter] > ip route print [admin@MyRouter] > ip firewall connection print

Network Service Issues:

[admin@MyRouter] > ip service print [admin@MyRouter] > ip cloud print [admin@MyRouter] > ip dns cache print

12. 📄 Export Configuration

Objective:

Export the complete router configuration for backup or migration.

Command:

[admin@MyRouter] > export

Sample Export Output:

# MikroTik RouterOS 7.1.1 configuration export # Export date: 2024-01-15T10:30:00Z # System identity /system identity set name=MyRouter # Interface configuration /interface ethernet set [find name=ether1] mtu=1500 set [find name=ether2] mtu=1500 /interface wireless set [find name=wlan1] ssid="MikroTik-WiFi" mode=ap-bridge frequency=2412 /interface bridge add name=bridge1 protocol=rstp fast-forward=yes # Bridge ports /interface bridge port add interface=ether1 bridge=bridge1 pvid=1 add interface=ether3 bridge=bridge1 pvid=1 # IP addresses /ip address add address=192.168.88.1/24 interface=ether1 add address=10.0.0.1/24 interface=ether2 add address=192.168.1.1/24 interface=wlan1 add address=192.168.100.1/24 interface=bridge1 # IP routes /ip route add dst-address=0.0.0.0/0 gateway=192.168.88.1 distance=1 add dst-address=192.168.88.0/24 gateway=ether1 distance=0 add dst-address=10.0.0.0/24 gateway=ether2 distance=0 # DHCP server configuration /ip dhcp-server add name=dhcp1 interface=bridge1 address-pool=pool1 lease-time=1d add name=dhcp-wifi interface=wlan1 address-pool=pool-wifi lease-time=12h # Firewall filter rules /ip firewall filter add chain=input action=accept protocol=icmp comment="Allow ICMP" add chain=input action=accept connection-state=established,related comment="Allow established connections" add chain=input action=accept in-interface=bridge1 comment="Allow from LAN" add chain=input action=drop comment="Drop all other input" # Firewall NAT rules /ip firewall nat add chain=srcnat action=masquerade out-interface=pppoe-out1 comment="Masquerade to Internet" add chain=dstnat action=dst-nat protocol=tcp dst-port=80 to-addresses=192.168.100.20 to-ports=80 comment="HTTP to internal server" add chain=dstnat action=dst-nat protocol=tcp dst-port=443 to-addresses=192.168.100.20 to-ports=443 comment="HTTPS to internal server"

13. ✨ Key Features & Capabilities

🔌 Interface Management

  • interface print - Show all interfaces
  • interface monitor - Real-time monitoring
  • interface enable/disable - Control interface state
  • interface reset-counters - Reset statistics
  • Support for Ethernet, Wireless, Bridge, PPPoE interfaces

🌐 DHCP & DNS Services

  • ip dhcp-server print - DHCP server status
  • ip dhcp-server lease print - Active leases
  • ip dns print - DNS settings
  • ip dns static print - Static DNS entries
  • ip dns cache flush - Clear DNS cache

🛡️ Firewall & Security

  • ip firewall filter print - Filter rules
  • ip firewall nat print - NAT rules
  • ip firewall address-list print - IP lists
  • ip firewall connection print - Active connections
  • Support for input, forward, and output chains

📡 Wireless Features

  • interface wireless scan - WiFi scan
  • interface wireless registration-table - Connected clients
  • interface wireless security-profiles - Security settings
  • interface wireless access-list - MAC filtering
  • AP-Bridge mode support

🌉 Bridge & Switching

  • interface bridge print - Bridge status
  • interface bridge port print - Bridge ports
  • interface bridge host print - MAC table
  • interface bridge mdb print - Multicast database
  • STP/RSTP support

🔧 Network Tools

  • ping - ICMP ping test
  • tool traceroute - Route tracing
  • tool bandwidth-test - Speed testing
  • tool torch - Traffic monitoring
  • Real-time network diagnostics

🎯 Navigation & Menu System

# Root menu navigation [admin@MyRouter] > interface # Enter interface menu [admin@MyRouter] /interface> wireless # Enter wireless submenu [admin@MyRouter] /interface/wireless> .. # Go back one level [admin@MyRouter] /interface> / # Go to root menu # Available main menus: - interface # Interface configuration - ip # IP configuration - system # System configuration - tool # Network tools - export # Export configuration

💡 Pro Tips

  • 🔍 Help System: Type ? for available commands in current menu
  • 📋 Tab Completion: Press Tab to auto-complete commands and parameters
  • Quick Navigation: Use / to jump to root menu from anywhere
  • 💾 Configuration Backup: Use export to save your configuration
  • 🔧 Monitoring: Use tool torch for real-time traffic analysis

🎯 Summary

This MikroTik RouterOS simulator provides a comprehensive network management experience with authentic commands, realistic outputs, and professional-grade functionality. Perfect for network administration training and RouterOS learning.

✅ 50+ Commands ✅ Full Interface Management ✅ Network Services ✅ Security Features