How to create Vlan on Mikrotik

In this post, I will be sharing with us on how to create vlan on Mikrotik. Vlan, like we know, allows the grouping of network devices based on logical locations instead of physical locations.
Though there are few articles are there with useful information on how to create vlan on Mikrotik, the process is quite simple. For this demonstration, I have a MIkrotik router that is connected to a managed switch. To achieve my objective, the following will be done on the router:

ON the router

>> Create a bridge and assigned the port that connects to the managed switch to the bridge
>> Create vlans  making sure that the correct vlan IDs are used
>> Assign IP addresses to the vlans

On the switch

>>Create vlans making sure the vlan IDs match the ones used on the router.

>> Assigne ports to vlans

Create Vlan on Mikrotik


vlan on mikrotik

Implementing Vlan on Mikrotik routers is quite simple and interesting. Just follow the steps below:
Step1 : Create a bridge and add your preferred trunk port to the bridge.

vlan on mikrotik


vlan on mikrotik


vlan on mikrotik

Step2: Create your Vlans making sure that the vlan IDs are the same with the vlan IDs on the switch. Assign IPs to the Vlan interfaces accordingly.

vlan on mikrotik


vlan on mikrotik

Step3: Finally, configure NAT using the source addresses from the vlans or the Vlan interfaces as “in interface”.
On your switch, make sure the port connected to the Mikrotik is configured as a trunk port, configure the rest as access ports. Create vlans (which must be the same as those you have on your Mikrotik router) and assign ports to your vlans. Thats all.

If you enjoyed this tutorial, please subscribe to this blog to receive my posts via email. Also subscibe to my YouTube channel, like my Facebook page and follow me on Twitter.

Spread the love

6 thoughts on “How to create Vlan on Mikrotik”

  1. Thanks, Shad! I really appreciated this video!

    I have published a scientific work before, and I've been thinking of
    starting a very special, medieval-type novel, so this kind of information is
    very much appreciated!


Leave a Comment