Page 1 of 1

tagged and untagged vlan config in mikrotik

Posted: Wed Mar 14, 2018 5:07 pm
by erfanurmia
Someone can post something about mikrotic switching such as tagged and untagged vlans?

Re: tagged and untagged vlan config in mikrotik

Posted: Wed Mar 14, 2018 5:10 pm
by mkx
Sure somebody can. It would help a lot if you wrote something about what you want to do ...

Re: tagged and untagged vlan config in mikrotik

Posted: Wed Mar 14, 2018 5:15 pm
by erfanurmia
i want config ingress and egress on mikrotik switch for entire vlans which tagged 20,21,22,23 negotiate to separate interface

Re: tagged and untagged vlan config in mikrotik

Posted: Wed Mar 14, 2018 5:28 pm
by mkx
It's still not clear to me what you want to do. Anyhow ...

VLAN settings are supported on Mikrotiks. You can make VLAN settings per port: access port meaning ingress untagged, egress untagged, has default VID or trunk port meaning ingress and egress tagged or mixed - ingress and egress tagged but if VID set, untagged packets both ingress and egress are allowed while internally mapped to the VLAN with VID.
As far as internal workings with VLANs go, you can do some filtering and routing between them ... or you can set Mikrotik to be transparent for a VLAN, without even having IP interface bound to one.

Many of forum users could give you more concrete information and/or advice if you'd state your intentions more clearly.

Re: tagged and untagged vlan config in mikrotik

Posted: Wed Mar 14, 2018 6:49 pm
by erfanurmia
It's still not clear to me what you want to do. Anyhow ...

VLAN settings are supported on Mikrotiks. You can make VLAN settings per port: access port meaning ingress untagged, egress untagged, has default VID or trunk port meaning ingress and egress tagged or mixed - ingress and egress tagged but if VID set, untagged packets both ingress and egress are allowed while internally mapped to the VLAN with VID.
As far as internal workings with VLANs go, you can do some filtering and routing between them ... or you can set Mikrotik to be transparent for a VLAN, without even having IP interface bound to one.

Many of forum users could give you more concrete information and/or advice if you'd state your intentions more clearly.
according to the picture i cant distribute the vlans to servers
what can i do??

Re: tagged and untagged vlan config in mikrotik

Posted: Wed Mar 14, 2018 7:04 pm
by CZFan
Those below the Mikrotik should be Access Ports, not Trunk Ports

Re: tagged and untagged vlan config in mikrotik

Posted: Wed Mar 14, 2018 7:57 pm
by erfanurmia
Those below the Mikrotik should be Access Ports, not Trunk Ports
my servers are in multiple vlans
each server have at least two vlans

Re: tagged and untagged vlan config in mikrotik

Posted: Wed Mar 14, 2018 8:04 pm
by pe1chl
Please explain to us why you cannot do it.
Do you not know where to find the documentation, are you to lazy to read it, is something unclear, what is it?

Re: tagged and untagged vlan config in mikrotik

Posted: Sat Mar 17, 2018 12:04 am
by sindy
You haven't even stated which model of Mikrotik you use. This is an important information if you want the VLAN forwarding to be performed by the switch chip(s) to get wire-speed forwarding, as the capabilities of different switch chips are different. You say in the topic title that you want untagged (tagless) VLANs on some ports, but you've answered to @CZFan that you only want trunk ports. If that means that you are using "trunk ports with default VLAN" (as Cisco calls that) or "hybrid ports" (as some other vendors call that), you may have to use a software bridge for that if you have a switch chip which only supports a single tagless "VLAN" and you want a two or more different VLANs to be untagged on such "hybrid" ports.