[lxc-users] Several containers with the same VLAN ID on a single host

Gerik Bonaert gerik.bonaert at escaux.com
Mon Feb 16 13:49:22 UTC 2015


Dear lxc-users,

I am trying to create several containers with the same VLAN ID on a single host, using*lxc.network.type = vlan.
*But am able to boot only one container at a time.

I found the following affirmation in this mailing list:

https://lists.linuxcontainers.org/pipermail/lxc-users/2010-April/000260.html

> The advantages are the performances + network segmentation and the
> routers takes care of this id, the disadvantage is you can not specify
> the same vlan id for different containers on the same host (this is not
> supported by the kernel).

Is this information still up to date, since it was published 5 years ago?

As a workaround I can create a bridge on said VLAN, and connect all my containers to it. I would prefer not to do this if possible.

Best regards,

GĂ©rik Bonaert





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150216/4c4751a1/attachment.html>


More information about the lxc-users mailing list