Kalyana & Fajar I know this answer isn't about VLAN specifically but it might interest you. I'd stumbled upon it a few weeks ago and the title was *"Connecting containers on several hosts with Open vSwitch"* http://s3hh.wordpress.com/2012/05/28/connecting-containers-on-several-hosts-with-open-vswitch/ There was also a newer post regarding Open vSwitch and LXC: http://s3hh.wordpress.com/
---------- Forwarded message ---------- From: Kalyana sundaram <kalyan...@gmail.com> To: "Fajar A. Nugraha" <l...@fajar.net> Cc: lxc-users@lists.sourceforge.net Date: Mon, 29 Oct 2012 16:02:25 +0530 Subject: Re: [Lxc-users] Regarding connecting containers to vlan Hey, I am trying to pass multiple vlans on to a single interface. My switch is already configured as a trunk and therefore is passing multiple vlans. * Do I need to set a bridge ip or can I just add to bridge_ports the physical interfaces * My container is set to use the lxc.network.link as the bridge. Do I also need to mention the vlan ? On Mon, Oct 29, 2012 at 3:56 PM, Fajar A. Nugraha <l...@fajar.net> wrote: > On Mon, Oct 29, 2012 at 5:22 PM, Kalyana sundaram <kalyan...@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 >
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users