[Lxc-users] Regarding connecting containers to vlan
brian mullan
bmullan.mail at gmail.com
Tue Oct 30 17:39:15 UTC 2012
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 <kalyanceg at gmail.com>
To: "Fajar A. Nugraha" <list at fajar.net>
Cc: lxc-users at 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 <list at fajar.net> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20121030/08c7b60f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 493 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20121030/08c7b60f/attachment.pgp>
More information about the lxc-users
mailing list