Coming from a different brand of router, and networking being an interest but not my job, I found myself struggling with some of the Mikrotik/RouterOS terminology. The fact that some network constructs, like VLANs, must be configured in different places also didn't help.
So I gathered my readings and findings into a small summary for myself. But I might as well share it, maybe it can help someone else.
The explanation below is definitely not complete, and is only meant as a starting guide for SoHo setups with some VLAN's.
It is written with WinBox as the router management tool in mind.
Interface
In RouterOS, an interface is the point where Layer-2 traffic enters or leaves the router. An interface can either be physical or virtual:
- -ether1, ether2, ...: physical Ethernet interfaces
- -sfp1: physical SFP interface
- -wlan1, ...: Wi-Fi interfaces
- -vlan10, ...: virtual VLAN interface
- -bridge: see below (a bridge itself is also an interface)
You can assign an IP address to an interface. The router's Layer-3 functionality can then process Layer-3 packets associated with that interface (= routing).
In the example above β with only interfaces and no bridge β PC2 can only talk to PC3 through L3 routing.
ARP broadcast (L2) from PC2 will never reach PC3, because Ether3 is a different L2 interface.
Bridge
A bridge is a software switch (a virtual Layer-2 switch) that combines multiple interfaces into one Layer-2 network.
A bridge is also an interface, but instead of being backed directly by one physical Ethernet port, it represents a Layer-2 switching domain. That is why you see the bridge both on the Bridge page (where you create/edit it) and on the Interfaces page .
In RouterOS, a bridge contains other interfaces as Ports (Bridge > Ports)
You attach an IP to the bridge interface. Now RouterOS's Layer-3 presence is associated with the entire bridged LAN rather than one individual physical port. The IP address of the bridge interface is typically the default gateway for the devices connected to the different interfaces combined into the bridge.
In the example above β where ether2 and ether3 are both members of the bridge β PC2 can talk to PC3 without any routing involved as there is one broadcast domain. This is pure Layer -2 switching.
Switch
If the bridge is a switch within RouterOS, then why is there a Switch menu?
The Bridge, as a software switch, is a RouterOS networking construct, while the Switch is the physical switching hardware and its hardware-specific configuration .
The Bridge defines the logical Layer-2 topology. The switch chip may implement that topology in hardware.
If you see an H flag in Bridge > Ports, this indicates that hardware offloading is being used.
The available hardware-specific switch-chip features can be found here:
Bridge Hardware Offloading
You do not need to configure anything in the Switch menu, unless the hardware switch chip in your router supports HW Offloading features, you need some of these specific features and you know what you are doing (beyond the scope of this guide).
VLAN
There are three places where some part of VLAN configuration can be set:
- Interfaces
- Creates a Layer-3 interface representing a specific VLAN so the MikroTik itself can have an IP address and provide rout in g/services on that VLAN
- Bridge
- Defines which bridge ports are allowed to carry each VLAN and whether the VLAN is tagged or untagged on those ports (= Bridge VLAN Filtering)
- Takes care of Layer-2 switching
- Switch
- Configures VLAN handling at the hardware-switch-chip level
- You only need (can use) this if your device supports HW offloading for VLANs
For a typical SoHo VLAN scenario (Mikrotik is the only router and provides DCHP and DNS services), you configure VLAN on both the Interface and the Bridge. The configuration steps below outline a typical initial VLAN setup:
-
Keep vlan-filtering=no on the bridge (if you donβt have active VLANs already)
-
Create the VLAN interface (Interfaces > VLAN)
-
Assign an IP address to the VLAN interface (IP > Addresses)
-
Configure the bridge VLAN table (Bridge > VLAN)
- Set the appropriate ports as tagged (trunk) or untagged (access)
-
Create an IP Pool (IP > Pool > Pools)
-
Add a new network (IP > DHCP Server > Networks)
-
Create a DHCP server for the network (IP > DHCP Server > DHCP)
-
Set vlan-filtering =yes on the bridge
For proper VLAN isolation, make sure that all network devices between the access port (managed switch or VLAN capable AP) and the router handle VLAN traffic properly. So no unmanaged switches in between.
Setting up inter-VLAN traffic requires Layer-3 routing. So you must configure this with Firewall rules (IP > Firewall > Filter Rules)


