[Lxc-users] lxc container messing with hosts networking

Serge Hallyn serge.hallyn at canonical.com
Mon May 16 17:11:02 UTC 2011


Quoting arkaitzj at gmail.com (arkaitzj at gmail.com):
> On Sat, May 14, 2011 at 4:06 PM, Serge Hallyn <serge.hallyn at canonical.com>wrote:
> 
> > 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 at lxc-natty-amd64:~# brctl show
> > bridge name     bridge id               STP enabled     interfaces
> > br0             8000.001636dd34bc       no              eth0
> >
> > And the lxc container was created with a minimal normal config:
> >
> > lxc.network.type=veth
> > lxc.network.link=br0
> > lxc.network.flags=up
> >
> >
> 
> 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 this screencast that shows the issue:
> http://www.screencast-o-matic.com/watch/cXhD2hbLM

Got it!

It's the user networking.  When I start a debian vm with libvirt (using the
default tap interfaces) I don't get the hang.  When I start the same vm by
hand using -net user the way you do in your script, I do get the hang.

-serge




More information about the lxc-users mailing list