<font size=2 face="Courier New">Hello,</font>
<br>
<br><font size=2 face="Courier New">are there any restrictions using double
tagged VLAN in LXC containers?</font>
<br>
<br><font size=2 face="Courier New">My container network setup looks like
this:</font>
<br><font size=2 face="Courier New">lxc.network.type = veth</font>
<br><font size=2 face="Courier New">lxc.network.link = br0</font>
<br>
<br>
<br><font size=2 face="Courier New">My VLAN-setup inside the container
looks like this:</font>
<br><font size=2 face="Courier New">#!/bin/bash</font>
<br><font size=2 face="Courier New">INTERFACE=eth0</font>
<br><font size=2 face="Courier New">ip link add link ${INTERFACE} ${INTERFACE}.7
type vlan proto 802.1q id 7</font>
<br><font size=2 face="Courier New">ip link add link ${INTERFACE}.7 ${INTERFACE}.7.2
type vlan proto 802.1q id 2</font>
<br><font size=2 face="Courier New">ifconfig ${INTERFACE} up
ifconfig ${INTERFACE}.7 up</font>
<br><font size=2 face="Courier New">ifconfig ${INTERFACE}.7.2 up</font>
<br>
<br>
<br><font size=2 face="Courier New">I can see that RX-traffic is routed
successfully to my eth0.7.2 device, but TX traffic only carries VLAN-tag
7.</font>
<br><font size=2 face="Courier New">Whenever I use the same configuration
with 'lxc.network.type = pyhs' it works just fine.</font>
<br>
<br><font size=2 face="Courier New">Regards Christoph</font>
<br>
<br>
<br><tt><font size=2><br>
Christoph Büttner<br>
Tel.: +49 30 399 76 286<br>
Fax.: +49 30 399 76 255<br>
E-Mail: c.buettner@avm.de</font></tt>
<br><a href=http://www.avm.de/><tt><font size=2>http://www.avm.de</font></tt></a>
<br>
<br><tt><font size=2>AVM Audiovisuelles Marketing und Computersysteme GmbH</font></tt>
<br><tt><font size=2>Alt-Moabit 95, 10559 Berlin<br>
HRB 23075 AG Charlottenburg</font></tt>
<br><tt><font size=2>Geschäftsführer: Johannes Nill</font></tt>
<br>
<br>