[Lxc-users] Problems with VLANs under LXC

Daniel Lezcano daniel.lezcano at free.fr
Mon Feb 28 12:34:51 UTC 2011


On 02/23/2011 12:41 PM, Martin Fandel wrote:
> Hi,
>
> vlans are not working correctly with MTU size 1500. I've configured a bridge and linked it with an lxc. In the lxc I've added a vlan via "vconfig add...". I can reach the destination host via the lxc, but if i'm sending ping packets with more than 1468 bytes, it runs in a timeout. So the overall packet size, which is working, is 1496. With lxc disabled but vlans enabled, it works fine. Also over the network bridge.
>
> How can I solve this issue? Setting MTU 1496 on both client sides is working, but is not an option for my network environment.

Did you try with the lxc.network.type=vlan ?




More information about the lxc-users mailing list