Community discussions

MikroTik App
 
johndjmix
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 60
Joined: Fri Aug 13, 2010 12:13 am

Strip a certain VLAN ID on egress....

Thu Jun 14, 2012 7:20 am

Gentleman, im at wits end here. I need to remove the Vlan tag upon a certain vlan when it exits out port 5. BUT i have 2 other VLANS that need to keep their id upon exiting this port......Any ideas on how to acomplish this?

I have a trunk of 4 VLANS running into port 1 of a 250GS.

VLAN 50: ------> goes to ----> ports 4 and 5 BUT want to strip the tag from Vlan 50 so the unifi AP see it! BUT only strip the tag from vlan 50!

VLAN 51: ------> goes to ----> ports 2 and 3 (Strips tags on exit)

Vlan 52: -----> goes to -----> port 4 and 5 (need it to keep the vlan ID upon exiting the switch)

Vlan 53: -----> goes to -----> port 4 and 5 (need it to keep the vlan ID upon exiting the switch)


In case your wondering this is a network that runs in our building. I have an rb1100 in the basement with vlans 50,51,52, and 53 on it, that has a dumb switch connected to it. Off this dumb switch each floor has an ethernet run to a rb250gs. On each floor we use ports 2 and 3 for wired customers, and ports 4 and 5 for our ubiqui UniFI access points. The access points i want on vlan 50 but they support 2 seperate SSID's, and i have one set to run on VLAN 51 and one set for VLAN 52.......hence the problem why i need to do this. The AP itself needs to be on vlan 50, but has to see this untaged...since there is no way to set a vlan id for the AP's main IP.

Hope someone can figure this one out!

--John
 
reverged
Member Candidate
Member Candidate
Posts: 270
Joined: Thu Nov 12, 2009 8:30 am

Re: Strip a certain VLAN ID on egress....

Tue Jun 19, 2012 7:47 am

You might be able to do this using the ACL feature of the 250GS.

Packets coming into the port matching the mac address of the AP management interface get a new vlan id of 50 assigned.
Packets leaving the port going to the mac address of the AP management interface get the vlan stripped (assigned to '0' I think is the correct way to do this).

I did this once, but I'd have to find the switch and log into it to remember how I did it.
 
endre
just joined
Posts: 2
Joined: Thu Jun 21, 2012 8:09 pm

Re: Strip a certain VLAN ID on egress....

Thu Jun 21, 2012 8:28 pm

Generally, the hardware lacks the feature of using Cisco-speaking 'native vlan' in trunked more.
I hope that you can setup the unifi ap to talk with it's own VLAN-tag for its management.

Who is online

Users browsing this forum: No registered users and 11 guests