How configure VLAN on MikroTik?

How configure VLAN on MikroTik?

How to Create VLAN in MikroTik

  1. Login to your MikroTik Router by winbox with your login credentials.
  2. Click on Interfaces menu from left menu bar and then click on VLAN tab.
  3. Click on PLUS SIGN (+) to add new VLAN interface.
  4. Put your VLAN name what you wish in Name input field.
  5. Put your VLAN id in VLAN ID input field.

What is trunk MikroTik?

When the VLAN extends over more than one switch, the inter-switch link has to become a ‘trunk’, where packets are tagged to indicate which VLAN they belong to. A trunk carries the traffic of multiple VLANs; it is like a point-to-point link that carries tagged packets between switches or between a switch and router.

How to check trunk and access ports in MikroTik switch?

Make sure to check the VLAN Filtering under VLAN tab. When assigning the ports in the bridge for the access ports under VLAN tab change the PVID to proper VLAN, interface SFP1 or the trunk is added as default no changes in PVID. It is important for all the interfaces to have the Hardware Offload checked.

How to configure VLAN access and Trunk ports on RouterOS?

The picture is from Mikrotik Wiki http://wiki.mikrotik.com/wiki/Vlans_on_Mikrotik_environment. I’m trying to configure the router same way as SW3 on the picture. Two trunk port and one access port. I tried to configure the router as it is described on the wiki page and the access port is not working correctly.

Which is an example of VLAN Trunking in MikroTik RouterOS?

The example I showed above where I tagged VLANs 100, 200, and 300 on port ether20 is a great example; those are the VLANs tagged on that port, but the switch might also have VLANs 150, 250, and 350 defined. Those VLANs won’t be tagged on ether20, and therefore are effectively pruned (or filtered) from that port.

How to configure a bridge with VLAN filtering?

To configure the trunk/access port setup, you need to first create a bridge: Don’t enable VLAN filtering yet as you might get locked out from the device because of the lack of management access, which is configured at the end. Add the bridge ports and specify PVID for each access port: PVID has no effect until VLAN filtering is enabled.