On this page
- How do you assign IP addresses in RouterOS?
- What is a MikroTik bridge and why use it?
- How to configure hardware switching on MikroTik?
- How do VLANs enhance MikroTik switching?
- Frequently asked questions
- What is the difference between routing and switching in MikroTik?
- Why is my CPU usage high when bridging ports?
- Can all MikroTik ports be added to a bridge?
- How do I test my IP and switching configuration?
Welcome to the practical world of MikroTik IP and Switching, where network efficiency meets powerful RouterOS capabilities. Setting up a small office network or managing a multi-site infrastructure requires knowing how IP routing and Layer 2 switching interact. By the end of this guide, you will know how to properly assign IP addresses, configure bridging, and optimize your hardware for maximum throughput. Before moving on to advanced routing, brush up on MTCNA Core Networking: Essential Skills for Beginners to ensure your foundational knowledge is solid.
How do you assign IP addresses in RouterOS?
Assigning an IP address in MikroTik RouterOS is done through the IP Address menu, linking a specific subnet to a physical or logical interface. An IP address is a numerical label assigned to devices participating in a computer network that uses the Internet Protocol for communication.
To add an IP address, navigate to IP > Addresses in WinBox or use the terminal command /ip address add address=192.168.88.1/24 interface=bridge1. Make sure you include the correct subnet mask. For comprehensive setup instructions regarding hardware and initial access, consult the MikroTik RouterOS Guide: Master Hardware & Setup.

What is a MikroTik bridge and why use it?
A MikroTik bridge combines multiple physical interfaces into a single Layer 2 broadcast domain, functioning much like an unmanaged network switch. Bridging is necessary when you want devices plugged into different ports on your router to communicate directly at Layer 2 without routing overhead.
When creating a bridge, you add your local Ethernet ports as bridge ports. To prevent high CPU usage, you should enable hardware offloading (hw=yes) whenever your switch chip supports it. This ensures packet forwarding happens at wire speed directly on the switch silicon.
How to configure hardware switching on MikroTik?
Hardware switching on MikroTik devices is achieved by grouping switch ports under a master port or use the modern bridge VLAN filtering feature. Modern RouterOS versions rely on the bridge menu to handle hardware offloading across switch chips.
Follow these steps to configure basic hardware switching using a bridge:
- Open WinBox and navigate to the Bridge menu.
- Create a new bridge named bridge-local.
- Go to the Ports tab and add your physical interfaces (e.g., ether2 through ether5) to bridge-local.
- Verify that the H (HW-offload) flag appears next to your active ports, indicating that switching is handled by the hardware chip.

How do VLANs enhance MikroTik switching?
VLANs enhance MikroTik switching by logically segmenting a single physical network into multiple isolated broadcast domains for improved security and performance. Instead of running separate cables for guest networks, VoIP phones, and employee workstations, you can tag traffic across a single link.
Configuring VLANs on a MikroTik bridge involves defining VLAN IDs, setting up tagged ports for inter-switch links, and assigning untagged ports for end devices. Proper VLAN planning prevents broadcast storms and keeps sensitive network segments isolated from unauthorized access.
Frequently asked questions
What is the difference between routing and switching in MikroTik?
Switching operates at Layer 2 to forward frames within the same local network based on MAC addresses. Routing operates at Layer 3 to forward packets between different networks based on IP addresses. MikroTik devices often combine both functions in a single hardware platform.
Why is my CPU usage high when bridging ports?
High CPU usage during bridging usually occurs because hardware offloading is disabled, forcing the device's main processor to handle packet switching instead of the dedicated switch chip. Enable hardware offloading on your bridge ports to resolve this performance bottleneck.
Can all MikroTik ports be added to a bridge?
Yes, virtually all physical and wireless interfaces can be added to a bridge in RouterOS. However, adding wireless interfaces requires careful consideration of wireless distribution systems and bridging protocols to prevent loops and maintain stable connectivity.
How do I test my IP and switching configuration?
You can test your configuration by pinging devices across different ports and checking the interface traffic statistics in WinBox. Use built-in tools like the MikroTik ping, traceroute, and torch utilities to monitor live traffic flows and verify that packets traverse your switches and routers correctly.
Mastering MikroTik IP and Switching takes hands-on practice in a lab environment. Start by configuring a basic router setup, experiment with bridge ports, and gradually implement VLANs to secure your network architecture.
Photos: Stefano Intintoli / Unsplash, Scott Rodgerson / Unsplash