Skip to main content

VLAN Setup on RouterOS

VLANs are configured in the Bridge section in RouterOS. 

Login to the WebGUI, and go to the Bridge tab. 

Screenshot_2024-07-01_202815.png

Go to the VLAN tab, and click Add New to add a new VLAN. 

Screenshot_2024-07-02_202416.png

Give your VLAN a name in the Comment section, and set the VLAN ID

Leave the Bridge option as default. 

Screenshot_2024-07-02_202642.png

To add a port to the VLAN, click on the downward pointing triangle next to Tagged or Untagged in order to add new drop-down fields. Within the drop-down, select the interfaces that you want to assign to the VLAN. 

To remove a drop-down, simply click on the upward pointing triangle instead. 

Screenshot_2024-07-02_202707.png

Repeat until you have added all the VLANs you needed. 

Screenshot_2024-07-02_205959.png

For Untagged VLAN Ports that are going to in a Port VLAN setup, you would also need to set the PVID for the interface.

Go to the Ports section, and click on the interface. 

Screenshot_2024-07-02_210043.png

Expand the VLAN dropdown, and enter the VLAN ID in the PVID field. 

Click Apply/Ok when finish. 

Screenshot_2024-07-02_210129.png

One thing to note that at this point, the VLANs are NOT yet in effect and enforce. You will need to enable VLAN filtering on the Bridge in order for the device to start fitering the VLAN traffic and passing traffic through. 

Go to Bridge, and click on the bridge. 

Screenshot_2024-07-01_202815.png

Under VLAN section, check VLAN Filtering

Screenshot_2025-01-03_203527.png

The VLANs for the ports will now be enforced.