Tagged and Untagged VLAN across single interface (hybrid)

Hi,

I had a question regarding VLAN configurations on RouterOS.

My situation is as follows:

[RouterOS] {ether2} ↔ Mutliple Clients

VLAN 100: Management
VLAN 300: Network
VLAN 500: Guest

All these VLANs are trunked on ether2.

Now, in addition to that, I also want ether2 to act as an access port for VLAN 500. Essentially what that means is that any client connected via ether2 will automatically receive a DHCP address… further to this, any client that explicitly adds VLAN 500 headers will also receive a DHCP address. VLAN 500 should be both tagged and untagged on ether2.

I’ve been playing around with multiple bridges etc and have haven’t had much success. I’m trying to figure out if this hybrid situation is indeed possible with RouterOS.

Any ideas?

Look in the switch chip features. Specifically the vlan table. You can tell it to add a vlan id if it’s missing. So you can add the vlan id of 500 for untagged packets.

Sent from my SCH-I545 using Tapatalk 2

At home now… the actually commands would be

/interface ethernet switch port
set 1 vlan-header=add-if-missing default-vlan-id=500

or even

set [find name="ether2"] vlan-header=add-if-missing default-vlan-id=500