Community discussions

MikroTik App
 
erfanurmia
newbie
Topic Author
Posts: 31
Joined: Wed Mar 07, 2018 11:14 am
Contact:

tagged and untagged vlan config in mikrotik

Wed Mar 14, 2018 5:07 pm

Someone can post something about mikrotic switching such as tagged and untagged vlans?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13070
Joined: Thu Mar 03, 2016 10:23 pm

Re: tagged and untagged vlan config in mikrotik

Wed Mar 14, 2018 5:10 pm

Sure somebody can. It would help a lot if you wrote something about what you want to do ...
 
erfanurmia
newbie
Topic Author
Posts: 31
Joined: Wed Mar 07, 2018 11:14 am
Contact:

Re: tagged and untagged vlan config in mikrotik

Wed Mar 14, 2018 5:15 pm

i want config ingress and egress on mikrotik switch for entire vlans which tagged 20,21,22,23 negotiate to separate interface
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13070
Joined: Thu Mar 03, 2016 10:23 pm

Re: tagged and untagged vlan config in mikrotik

Wed Mar 14, 2018 5:28 pm

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.
 
erfanurmia
newbie
Topic Author
Posts: 31
Joined: Wed Mar 07, 2018 11:14 am
Contact:

Re: tagged and untagged vlan config in mikrotik

Wed Mar 14, 2018 6:49 pm

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??
You do not have the required permissions to view the files attached to this post.
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: tagged and untagged vlan config in mikrotik

Wed Mar 14, 2018 7:04 pm

Those below the Mikrotik should be Access Ports, not Trunk Ports
 
erfanurmia
newbie
Topic Author
Posts: 31
Joined: Wed Mar 07, 2018 11:14 am
Contact:

Re: tagged and untagged vlan config in mikrotik

Wed Mar 14, 2018 7:57 pm

Those below the Mikrotik should be Access Ports, not Trunk Ports
my servers are in multiple vlans
each server have at least two vlans
 
pe1chl
Forum Guru
Forum Guru
Posts: 10541
Joined: Mon Jun 08, 2015 12:09 pm

Re: tagged and untagged vlan config in mikrotik

Wed Mar 14, 2018 8:04 pm

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?
 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11252
Joined: Mon Dec 04, 2017 9:19 pm

Re: tagged and untagged vlan config in mikrotik

Sat Mar 17, 2018 12:04 am

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.