[Lxc-users] Regarding connecting containers to vlan

Kalyana sundaram kalyanceg at gmail.com
Mon Oct 29 10:34:55 UTC 2012


By the way my interface is eth0.211

On Mon, Oct 29, 2012 at 4:02 PM, Kalyana sundaram <kalyanceg at gmail.com>wrote:

> 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
>>
>
>
>
> --
> Kalyanasundaram
> http://blogs.eskratch.com/
>



-- 
Kalyanasundaram
http://blogs.eskratch.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20121029/cc85a436/attachment.html>


More information about the lxc-users mailing list