[Lxc-users] lxc container messing with hosts networking

2011-05-13 Thread arkai...@gmail.com
Hi all, lxc-version says 0.7.3, kernel 2.6.38 My problem is that I lose network conectivity to the host when I start a guest. My experience: A kvm machine running the host with a debian testing. #/etc/network/interfaces # The primary network interface # allow-hotplug eth0 # iface eth0 inet dhcp

Re: [Lxc-users] lxc container messing with hosts networking

2011-05-14 Thread arkai...@gmail.com
On Sat, May 14, 2011 at 1:34 AM, Serge Hallyn serge.hal...@canonical.comwrote: Immediately I assume that your problem is that the mac addresses assigned to your containers are lower than that of the bridge. The bridge always takes on the lowest mac of any of its nics, so it'll change its mac

Re: [Lxc-users] lxc container messing with hosts networking

2011-05-14 Thread arkai...@gmail.com
I've setup a web server and do requests each 5 seconds from my laptop. Then start tcpdump in the host machine and after a while I do lxc-start. Inspecting later with wireshark, it looks like once the lxc guest finishes DHCP negotiation and setups the local IP address(10.0.2.17) any request to the

Re: [Lxc-users] lxc container messing with hosts networking

2011-05-14 Thread arkai...@gmail.com
On Sat, May 14, 2011 at 2:39 PM, Serge Hallyn serge.hal...@canonical.comwrote: Make sure stp is on on the bridge inside your kvm guest. If that doesn't work, I'll just have to try and reproduce, but you'll probably need someone more network-savvy than me to look into it. I'll set up a test

Re: [Lxc-users] lxc container messing with hosts networking

2011-05-14 Thread arkai...@gmail.com
Hi, Hm, I just did this on natty (natty host, natty kvm VM, with a natty container inside that) and could actually not reproduce your problem. Just a normal bridge on the kvm VM: root@lxc-natty-amd64:~# brctl show bridge name bridge id STP enabled interfaces br0

Re: [Lxc-users] lxc container messing with hosts networking

2011-05-16 Thread arkai...@gmail.com
Not sure if I got it right but seems to me that you are speaking about hardware bridges and not about the software ones we are testing here with the kvm stuff. Besides, looks like Serge reported it working properly on his natty-natty setup, I wonder if it happens the same with the setup I

Re: [Lxc-users] lxc container messing with hosts networking

2011-05-16 Thread arkai...@gmail.com
On Sat, May 14, 2011 at 4:06 PM, Serge Hallyn serge.hal...@canonical.comwrote: Hm, I just did this on natty (natty host, natty kvm VM, with a natty container inside that) and could actually not reproduce your problem. Just a normal bridge on the kvm VM: root@lxc-natty-amd64:~# brctl show

Re: [Lxc-users] lxc container messing with hosts networking

2011-05-16 Thread arkai...@gmail.com
On Mon, May 16, 2011 at 6:11 PM, Serge Hallyn serge.hal...@canonical.comwrote: Quoting arkai...@gmail.com (arkai...@gmail.com): Well, as I said it has to be something from the setup I do because I keep having those problems even with laptop(natty)-kvm(natty)-host(natty) I recorded

[Lxc-users] lxc unix socket, what is it for?

2011-05-18 Thread arkai...@gmail.com
Hi, I'm working with a setup where I store my containers in a place different than /var/lib/lxc/ and I have no issue working with them. However, looking at lxc-ls implementation I noticed there is a unix socket created at the /var/lib/lxc location: unix 2 [ ACC ] STREAM LISTENING

Re: [Lxc-users] lxc unix socket, what is it for?

2011-05-18 Thread arkai...@gmail.com
Yeah, it is an abstract socket, but what is it for? Thanks -- Arkaitz On Wed, May 18, 2011 at 4:51 PM, C Anthony Risinger anth...@extof.mewrote: On Wed, May 18, 2011 at 7:16 AM, arkai...@gmail.com arkai...@gmail.com wrote: Hi, I'm working with a setup where I store my containers