[Lxc-users] Regarding connecting containers to vlan

Fajar A. Nugraha list at fajar.net
Mon Oct 29 10:26:38 UTC 2012


On Mon, Oct 29, 2012 at 5:22 PM, Kalyana sundaram <kalyanceg at gmail.com> wrote:
>
> Hi
> I am pretty new to lxc
> I have set up lxc centos containers on centos host. The centos host is
> connected to our private network (vlan id 211)

What do you use on the host? eth0, or eth0.211?

> How could I make these containers also to connect to the same private
> network

Simply put: create a bridge for that interface (Google "centos bridge
howto"), and set the container to use that bridge (lxc.network.link)

-- 
Fajar




More information about the lxc-users mailing list