Community discussions

MikroTik App
 
marina
just joined
Topic Author
Posts: 7
Joined: Mon May 30, 2022 10:22 am

Assign VLAN by MAC same config not working on different model

Mon May 30, 2022 10:33 am

Hello.

I try to implement assigning VLAN by MAC. The scope is any device connected to a port X goes to guest vlan G. A specified device with MAC-Y goes to vlan-Z.
All ports are in a bridge hardware offload. VLANs are configured. The port X has:
"/interface bridge port add bpdu-guard=yes bridge=bridge edge=yes-discover frame-types=admit-only-untagged-and-priority-tagged ingress-filtering=yes interface=etherX pvid=G restricted-role=yes restricted-tcn=yes"
also the port is added as tagged to vlan-Z:
"/interface bridge vlan add bridge=bridge tagged=bridge,etherX vlan-ids=Z"
Now there is a rule to assign vlan by mac:
"/interface ethernet switch rule add new-vlan-id=11 ports=etherX src-mac-address=MAC-Y/FF:FF:FF:FF:FF:FF switch=switch1"

This configuration works as expected on CRS328, while does not as expected on netPower 16P.
On netPower the connected device does not go to expected vlan and does not get assigned IP address.

Is on netPower vlan-by-mac is configured differently?

Who is online

Users browsing this forum: Bing [Bot], diasdm, MrBrick, SMARTNETTT and 65 guests