I defined vlan aware bridge with vlan10 as pvid:
ip link set br-lan type bridge vlan_filtering 1 vlan_default_pvid 10
root@prplWrt:# bridge vlan show port vlan ids br-lan 10 PVID Egress Untagged wlan0.0 10 PVID Egress Untagged
wlan0.0 is in the bridge.
I have a test station connected to wlan0.0, and this station sends ping with vid 10 tag to another station on the network which also connected to a VLAN 10 port.
My test fails, since the test environment expects that the traffic will drop.
I need that only untagged packet would pass, and adding on it the vlan tag 10. If a packet comes with a tag, the packet must be dropped.
How can I do it?