Simple VLAN set up

New to this community so excuse my ignorance with terminology and protocol.

Just wondering if there was a quick and simple way to set up VLANs on the bridge so that any eth port (or any switch connected to any eth port) will be set to look out for tagged packets and deal with them accordingly.

Thinking something like the example below

LAN1 - VLAN1 - 10.0.10.1/24 - DHCP ON
LAN2 - VLAN20 - 10.0.20.1/24 - DHCP ON

device with no VLAN tag picks up an address on the default LAN1 and works away as normal
device that has VLAN20 tagged gets picked up by the bridge as a different VLAN and gets its DHCP and routes etc from LAN2

currently working on RB951Ui-2nD on 6.45.6

Hi!


here:
https://mum.mikrotik.com/presentations/US19/presentation_6723_1554716964.pdf

Thanks that doc was actually quite helpful in explaining the different areas of the router to add the vlans.

Still struggling however to get this working. :frowning:

I know this may be asking too much but would it be possible to get some step by step guides to setting this up?

Perhaps this tutorial will help you …

That looks pretty comprehensive. Thanks!

I understand how vlans work and have configured them 100% on hp, draytek, cisco etc but just not sure of the methodology on mikrotik.

I’ll give this a go and see how I get on!

The one thing the most excellent ref material mkx passed on, that may not be covered is a discussion of hybrid port for bridge, software setup.
It an be found on diagram #4 on this wiki…
https://wiki.mikrotik.com/wiki/Manual:Bridge_VLAN_Table

The only comment I would make based on my limited experience (for bridge, software approach) is leave the vlan1 defaults as is on all settings and do not use VLAN1 for any vlans.
This includes not assigning a vlan to normal lan traffic - avoid this and assign a vlan be it 2, 5, 10 whatever (as vlan1 is the default used to cover off default LAN traffic and it just gets confusing down the line IF one has other vlans).