• Contact
  • About Me
  • Privacy Policy
  • Disclaimer
DefenceDev
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
  • Web Tools
No Result
View All Result
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
  • Web Tools
No Result
View All Result
DefenceDev
No Result
View All Result
Home Network Tutorials MikroTik

MikroTik: Configure Static IP Address on the Interface

by neo
November 28, 2025
in MikroTik
0
MikroTik: Configure static IP Address on the Interface

MikroTik: Configure static IP Address on the Interface

0
SHARES
875
VIEWS
Share on FacebookShare on LinkedIn
Table of Contents
  • Static IP Address
  • Why Configure a Static IP?
  • Step-by-Step Static IP Configuration with WinBox
    • Step 1: Log in to MikroTik Router
    • Step 2: Navigate to the Interface
    • Step 3: Add a New Address
    • Step 4: Apply and Verify
  • Configuration via CLI
    • Step 1: Access the MikroTik Router
    • Step 2: Navigate to the IP Address Configuration
    • Step 3: Add the Static IP Address
    • Step 4: Verify the Configuration
    • Step 5: Test Connectivity
    • Example Configuration
  • Troubleshooting Tips
  • Best Practices

Static IP Address

Setting up a static IP address on a MikroTik interface is a fundamental networking task that ensures consistent connectivity and seamless communication within your network. This guide provides clear, step-by-step instructions to configure a static IP address and optimize your MikroTik router settings.

Why Configure a Static IP?

Assigning a static IP address is crucial for devices requiring reliable access, such as servers, printers, or management interfaces. Unlike DHCP-assigned addresses, a static IP ensures that your network services remain uninterrupted and easily accessible.

Step-by-Step Static IP Configuration with WinBox

Step 1: Log in to MikroTik Router

Access your router via the MikroTik WinBox application or the web interface. Use your credentials to log in.

Step 2: Navigate to the Interface

Open the IP menu and select Addresses.

  • In WinBox, this is found under IP > Addresses.
Winbox, Navigate to IP -> Addresses
Navigate to IP -> Addresses

Step 3: Add a New Address

  • Click on the + button.
  • Enter the static IP address in the format: 192.168.x.x/24.
    • If you are not sure what is Netmack and Adress you can check the link.
  • Select the desired interface (e.g., ether1).
Navigate to Address List -> New Address (Click on the + button)
Navigate to Address List -> New Address (Click on the + button)

Step 4: Apply and Verify

  • Click Apply and OK.
  • Check the configuration under IP > Routes to ensure the new static IP is functional.
Navigated to IP > Routes
Navigated to IP > Routes

Configuration via CLI

Using the MikroTik Command Line Interface (CLI) is an efficient way to configure a static IP address. Here’s a step-by-step guide:

Step 1: Access the MikroTik Router

  • Open a terminal or use an SSH client (e.g., PuTTY) to connect to the MikroTik router.
  • Login with your username and password.

Step 2: Navigate to the IP Address Configuration

Enter the following command to access the IP address settings:

/ip address

Step 3: Add the Static IP Address

To assign a static IP address to a specific interface, use the following command:

add address=192.168.x.x/24 interface=ether1
  • Replace 192.168.x.x/24 with the desired IP address and subnet mask.
  • Replace ether1 with the name of the interface where you want to assign the IP.

Step 4: Verify the Configuration

Check the assigned IP addresses using:

print

This will display a list of all configured IP addresses, along with their interfaces.

Step 5: Test Connectivity

  • Use the ping command to test if the configured IP address is reachable:
ping 192.168.x.x

Example Configuration

To assign the IP 192.168.1.1/24 to the interface ether1, you would run:

/ip address add address=192.168.1.1/24 interface=ether1

Troubleshooting Tips

  1. Verify cable connections
  2. IP Not Reachable – Ensure no conflicting IPs exist.
    • Ensure no other devices are using the same IP address.
  3. Firewall Rules
    • Ensure no firewall rules are blocking traffic to the new IP.
    • Check firewall or NAT settings.

Best Practices

  • Use a subnet that matches your network structure.
  • Avoid conflicts with DHCP ranges.
  • Test connectivity by pinging the configured interface.

Tags: mikrotik
Previous Post

MikroTik: Configure DHCP Server and Settings on Interface

Next Post

MikroTik: Port 443 Forwarding to Web Server (NAT) Configuration

neo

Related Posts

MikroTik OpenVPN: Sound Alert When VPN Tunnel Fails
MikroTik

MikroTik OpenVPN: Sound Alert When VPN Tunnel Fails

MikroTik: OpenVPN Client Failover Script
MikroTik

MikroTik: OpenVPN Client Failover Script

MikroTik: Check Your Wireless Password
MikroTik

MikroTik: Check Your Wireless Password

MikroTik VLAN Configuration
MikroTik

MikroTik VLAN Configuration

MikroTik: Remote Access to Headquarter with OpenVPN
MikroTik

Configure OpenVPN Server on MikroTik Router for Remote Access

MikroTik: Configure SNMP for Network Monitoring
MikroTik

MikroTik: Configure SNMP for Network Monitoring

Next Post
MikroTik: Port Forwarding (NAT) Configuration

MikroTik: Port 443 Forwarding to Web Server (NAT) Configuration

Recommended

Linux Files Operation: tar and zmore Extracting Files

How to Extract and View Compressed Files in Linux Using tar and zmore

Remove Snap Package from an Ubuntu Server

Remove Snap Package from an Ubuntu Server

Terminal Colors in Bash: How and When to Use Them

Terminal Colors in Bash: How and When to Use Them

Solution: Ubuntu Internet Connection Monitoring Script (Create a Log File, Possible to Send per Email)

Ubuntu Internet Connection Monitoring Script: Log Creation and Email Alerts

DefenceDev Public GitHub: Scripts & Automation

DefenceDev Public GitHub: Scripts & Automation

Categories

  • Blog
  • Cloud
    • Private
  • Linux Tutorials
    • Bash Scripting Tutorials
    • Commands
    • Networking
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Solutions
    • Docker
  • Video Tutorials
    • MikroTik Videos
  • Web Tools

DefenceDev Tutorials

defencedev Logo

Whether you’re just starting or looking to expand your skills, I hope you find useful information and engaging discussions here. Let me take you through my journey and the goals behind this space!

Follow Us

Recent News

Terminal Colors in Bash: How and When to Use Them

Terminal Colors in Bash: How and When to Use Them

Solution: Ubuntu Internet Connection Monitoring Script (Create a Log File, Possible to Send per Email)

Ubuntu Internet Connection Monitoring Script: Log Creation and Email Alerts

  • Site Map
  • Privacy Policy
  • Facebook Page
  • GitHub
  • Disclaimer
  • Contact
  • About Me

© 2025 defencedev.com - All rights reserved.

No Result
View All Result
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
  • Web Tools

© 2025 defencedev.com - All rights reserved.