On Thu, Jun 05, 2014 at 05:35:10PM +0000, Serge Hallyn wrote: > Quoting Shidan (shi...@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.
Also note that eth0:1 isn't a vlan interface, it's simply an extra address added to eth0 with an alias value of "eth0:1". So even if we did have the phys or vlan interface types working with unprivileged containers, they still wouldn't work with interface aliases. In your case, I think you either want to put eth0 itself into a bridge accessible to your containers or maybe do something with the macvlan driver instead (though that latter won't work with unprivileged containers). > > > > 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 > _______________________________________________ > lxc-users mailing list > lxc-users@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users -- Stéphane Graber Ubuntu developer http://www.ubuntu.com
signature.asc
Description: Digital signature
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users