Q-in-Q (stacked VLANs) forwarding in bridge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have the following setup

ifconfig eth0 0.0.0.0 up
ifconfig eth1 0.0.0.0 up

vconfig add eth0 2
ifconfig eth0.2 0.0.0.0 up
vconfig add eth0.2 4
ifconfig eth0.2.4 0.0.0.0 up

brctl addbr br-lan
brctl addif br-lan eth1
brctl addif br-lan eth0.2.4

Now when I try sending untagged packets from eth1, i get no packets out of the eth0 interface,  ideally i should get double tagged packets coming out.

However when i add
brctl addif br-lan eth0.2
I can see single tagged packets with VID 2

Further, I removed eth0.2.4 from the bridge and assigned an IP 10.10.10.10 and tried Ping to 10.10.10.11
I was able to get double tagged packets with outer tag being VID 4 and inner tag Being VID 2

Can some body explain why the interface eth0.2.4 can not send out stacked VLAn packets in case it is part of a bridge?


REgards
Vikas










_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux