Summary:
Assigning a static IP address to your Mikrotik router is essential for consistent management, especially in larger networks, server environments, or when using port forwarding and VPNs.
Method 1: Set a Static IP via WinBox
Step-by-step using WinBox:
- Connect your PC to the router using Ethernet.
- Open WinBox and log in using:
- Username:Â
admin - Password:Â (blank or your customÂ
password)
- Username:Â
- Go to IP > Addresses from the left menu.
- Click the “+” button to add a new address.
- Enter your desired static IP in the Address field (e.g.,Â
192.168.1.1/24). - In the Interface field, choose the interface you want to assign the IP to (e.g.,Â
ether1,ÂBridge). - Click Apply, then OK.
IMPORTANT:Â Do not assign a static IP that conflicts with an existing DHCP range.
Method 2: Set a Static IP via CLI (Terminal)
- Open WinBox and click the Terminal button
- Or connect using SSH:Â
ssh admin@192.168.88.1
- Or connect using SSH:Â
- Type the following command:
Replace 192.168.1.1/24 with your desired IP/subnet, and ether1 with the correct interface.
TIP:Â To view existing IP addresses, use:
Optional: Disable the Default DHCP Client (If Needed)
If your router is using DHCP to get its current IP, disable it to avoid conflicts:
- Go to IP > DHCP Client
- Select the entry bound to the same interface
- Click Disable
Or via CLI:
Test the Static IP Address
- After applying the new static IP, disconnect and set your PC to the same IP range.
- Access the router at the new IP via WinBox or browser (e.g.,Â
192.168.1.1).
IMPORTANT: If you cannot access the router after changing the IP, reset your PC’s IP settings or use MAC Address login via WinBox.