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] [PATCH] ignore non-lxc configuration line

2011-05-14 Thread Serge Hallyn
Quoting David Serrano (dserra...@gmail.com): On Sat, May 14, 2011 at 00:15, Serge Hallyn serge.hal...@canonical.com wrote: I'm curious, whatcha got in mind? I don't think you have to have something in mind to implement this. Just that old motto Be lenient in what you accept :). So if I

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

2011-05-14 Thread Serge Hallyn
Quoting arkai...@gmail.com (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

Re: [Lxc-users] LVM in LXC

2011-05-14 Thread Benjamin Kiessling
Hi, That's still doable, just a bit more work. Take a look at ls -l /dev/lxc (or whatever is the vg you're looking at). It has symlinks to the real devices. When you look at the link targets, you can find their maj:min. For me, serge@sergelap:~$ ls -l /dev/lxc total 0 lrwxrwxrwx

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] LVM in LXC

2011-05-14 Thread Serge Hallyn
Quoting Benjamin Kiessling (mittages...@l.unchti.me): Hi, That's still doable, just a bit more work. Take a look at ls -l /dev/lxc (or whatever is the vg you're looking at). It has symlinks to the real devices. When you look at the link targets, you can find their maj:min.

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

2011-05-14 Thread Serge Hallyn
Quoting arkai...@gmail.com (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

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