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