Re: [Lxc-users] Regarding connecting containers to vlan

2012-10-31 Thread Fajar A. Nugraha
On Wed, Oct 31, 2012 at 9:24 PM, Kalyana sundaram wrote: > My bad, I bridged eth0.211 and eth0.103 with br0. Could I know the > problems it would cause? > > At the very least, you effectively merge vlan 211 and 103. No point in using vlans any more. Worst case scenario, depending on your exact co

Re: [Lxc-users] Regarding connecting containers to vlan

2012-10-31 Thread Kalyana sundaram
My bad, I bridged eth0.211 and eth0.103 with br0. Could I know the problems it would cause? I love the way of creating a vlan interface and putting an ip over it. should try that On Wed, Oct 31, 2012 at 6:18 PM, Fajar A. Nugraha wrote: > On Wed, Oct 31, 2012 at 7:11 PM, Kalyana sundaram > wrote

Re: [Lxc-users] Regarding connecting containers to vlan

2012-10-31 Thread Fajar A. Nugraha
On Wed, Oct 31, 2012 at 7:11 PM, Kalyana sundaram wrote: > Thanks Fajar. Atlast I got the vlan thingy working > I added 2 vlans to eth0 (eth0.211 and eth0.103) and connected them to bridge You assigned eth0 (the trunk) to the bridge, right? Just checking. Cause if you DON'T assign the trunk, but

Re: [Lxc-users] Regarding connecting containers to vlan

2012-10-31 Thread Kalyana sundaram
Thanks Fajar. Atlast I got the vlan thingy working I added 2 vlans to eth0 (eth0.211 and eth0.103) and connected them to bridge br0 and used br0 as a link to container(veth) To reach the host I used another interface eth1(probably assigning ip to bridge br0 would have solved that problem) i should

Re: [Lxc-users] Regarding connecting containers to vlan

2012-10-30 Thread Fajar A. Nugraha
On Wed, Oct 31, 2012 at 12:39 AM, brian mullan wrote: > 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.co

Re: [Lxc-users] Regarding connecting containers to vlan

2012-10-30 Thread brian mullan
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 interface

Re: [Lxc-users] Regarding connecting containers to vlan

2012-10-29 Thread Kalyana sundaram
By the way my interface is eth0.211 On Mon, Oct 29, 2012 at 4:02 PM, Kalyana sundaram 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

Re: [Lxc-users] Regarding connecting containers to vlan

2012-10-29 Thread Kalyana sundaram
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 b

Re: [Lxc-users] Regarding connecting containers to vlan

2012-10-29 Thread Fajar A. Nugraha
On Mon, Oct 29, 2012 at 5:22 PM, Kalyana sundaram 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 a

[Lxc-users] Regarding connecting containers to vlan

2012-10-29 Thread Kalyana sundaram
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) How could I make these containers also to connect to the same private network -- Kalyanasundaram http://blogs.eskratch.com/ --