Tool/software:
I am using Ti DP83848 PHY connected to cpsw3g internal switch.
Now my requirement is to allow untagged packets and VLAN 20 tagged packets.
ip link add name br0 type bridge
ip link set eth1 master br0
ip link set br0 type bridge vlan_filtering 1 vlan_default_pvid 20
ip link set br0 up
With this, the untagged packets are transmitting but Iwith VLAN 20 tagged packets it fails.
When I create another eth1.20 interface using vconfig and add it to the bridge, then it worked for both tagged and untagged. But, I doubt this is the right way to do this?
Please give me an answer as soon as possible. Your prompt reply would be appreciated.