Community discussions

MikroTik App
 
Juraj22
just joined
Topic Author
Posts: 11
Joined: Mon Oct 19, 2020 7:54 pm

Mikrotik Vlan configuration - recommended config

Tue Dec 15, 2020 11:58 am

Hello, i am little bit confused about configuring VLANs on Mikrotik devices.

I saw many videos with different configurations. Is something like uniform approach how to configure device?
My lector two years ago said that is new approch...create Vlans in interfaces tab, than create ONE bridge - and there enable vlan filtering, then puts all ports to bridge(and set PVID for Vlan) and 3rd step in tab VLANs, set: bridge1, Vland ID and tagged for trung and untagged for access port?

Is this approach right?...because i saw another videos about some vlans where guy was setting vlans in switch tab.....It is very confusing from mikrotik...what is the best approach and right approach?
I am now testing in on my home LAB (two HEX s devices, and two AC LITE)

Thank you very much for your advices. I am not familiar with command shell in mikrotik, only GUI :)
 
erlinden
Forum Guru
Forum Guru
Posts: 1964
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Mikrotik Vlan configuration - recommended config

Tue Dec 15, 2020 12:07 pm

That is the correct approach. Please this (really good) tutorial on VLAN's:
viewtopic.php?t=143620
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: Mikrotik Vlan configuration - recommended config

Tue Dec 15, 2020 12:31 pm

Different switch chips with different capabilities are used in different Mikrotik models. You can use some of them for VLAN handling, but for a beginner, it is definitely better to use the software bridge which works the same on all models, and has the full set of capabilities. The only drawback, which may however be quite significant, is the associated CPU load.

The best tutorial regarding VLANs on Mikrotik is here.

The command line configuration exports can be easily used to setup the configuration using GUI, as the configuration structure is a single one. E.g. the /interface bridge vlan table in the configuration export means "press the [Interface] button, then press the [Bridge] button, and then choose the [VLAN] tab" on GUI.

The "old way" (one bridge per VLAN) has some advantages in certain niche scenarios. You can also create several bridges supporting many VLANs each, and the same VLAN IDs can be used on multiple bridges without leaking to each other. But that's also only necessary for very specific use cases.
 
User avatar
satman1w
Member Candidate
Member Candidate
Posts: 279
Joined: Mon Oct 02, 2006 11:47 am

Re: Mikrotik Vlan configuration - recommended config

Tue Dec 15, 2020 12:36 pm

This is the "wrong way" which works excellent....

http://wiki.tuturutu.eu/doku.php/networ ... eless_vlan
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19384
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Mikrotik Vlan configuration - recommended config

Tue Dec 15, 2020 7:34 pm

Haha satman that is an amusing link, and torture at the same time LOL
 
Juraj22
just joined
Topic Author
Posts: 11
Joined: Mon Oct 19, 2020 7:54 pm

Re: Mikrotik Vlan configuration - recommended config

Tue Dec 15, 2020 8:37 pm

I have found probbaly the best video about VLAN configig using switch chip, not CPU.
Really great!
I can recommend.
https://www.youtube.com/watch?v=Rj9aPoyZOPo
 
User avatar
satman1w
Member Candidate
Member Candidate
Posts: 279
Joined: Mon Oct 02, 2006 11:47 am

Re: Mikrotik Vlan configuration - recommended config

Tue Dec 15, 2020 10:30 pm

Haha satman that is an amusing link, and torture at the same time LOL
you didn't disappoint me...

Your clever comment was expected

Who is online

Users browsing this forum: megabytenet and 190 guests