[lxc-users] unprivileged containers with PHYS network type and vlan interfaces on host.

Serge Hallyn serge.hallyn at ubuntu.com
Thu Jun 5 17:35:10 UTC 2014


Quoting Shidan (shidan at gmail.com):
> Hello, on my host I have 4 VLAN interfaces on eth0
> (eth0:1, eth0:2, eth0:3, eth0:4) and each one has its own assigned public
> IP address.
> 
> I want to create 4 unprivileged containers and assign a unique VLAN
> interface to each, similar (I think) to a PHYS network type. How should I
> go about doing this?

Currently that's not possible, only veth is supported in unprivileged
containers.  What you can do is bridge each link and connect the
unpriv container veths to those bridges


More information about the lxc-users mailing list