VLAN tag stacking with bridge/tap device ?

From: Stephan von Krawczynski
Date: Wed Aug 14 2019 - 14:36:40 EST


Hello all,

I try to do a setup with qemu and tap devices attached to bridges where 802.1Q
vlan packets that are tag stacked are running through the tap device/bridge
where the outer tag is stripped. But it seems on the way back out of
qemu/guest and back through the tap and bridge no additional vlan tags are
added back.
The very same setup with only one vlan tag that is stripped and added back
works as expected. Is there something in the tap device or bridge code that
prevents stacking? Can this be done by configuration or by additional coding
in the tap or bridge?

--
Regards,
Stephan

PS: please add me as cc in reply