vlan configuration
Hello,
I would like to receive tagged and untagged packets from a port .I have to send all untagged packets with vlanid 20 and tagged packets through the same vlan 10, So I wanted to configure my system in the below fashion.
ifconfig eth0 0.0.0.0 up
ifconfig eth1 0.0.0.0 up
vconfig add eth0 10
ifconfig eth0.10 up
vconfig add eth1 10
ifconfig eth1.10 up
vconfig add eth1 20
ifconfig eth1.20 up
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1.20
ifconfig br0 up
brctl addbr br1
brctl addbr br1 eth0.10
brctl addbr br1 eth1.10
ifconfig br1 up.
But when I do the configuration like this, all the tagged packets (with vlan10 are going through the bridge br0.
Please help me in configuring the bridges with vlans.
Thanks
Vani.
|