From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Plesner Jacobsen Subject: Re: Trouble understanding net config options Date: Thu, 16 Jul 2009 01:35:13 +0200 Message-ID: <20090715233513.GA2455@nerd.dk> References: <20090715230730.GY2455@nerd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: Michael Jinks Return-path: Received: from irq.hestdesign.com ([212.97.207.97]:60243 "EHLO irq.hestdesign.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751286AbZGOXfO (ORCPT ); Wed, 15 Jul 2009 19:35:14 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Jul 15, 2009 at 06:22:56PM -0500, Michael Jinks wrote: > >> =A0 # kvm -m 512M -net nic -net tap,name=3Dtap11 -net nic -net > >> tap,name=3Dtap12 -hda /vmstore/wee -vnc :11 -cdrom > >> /path/to/my/Windows.iso -boot d > > > > The parameter is "ifname", not "name". >=20 > In that case, what does the "name" parameter mean? Quoting from the > manpage on my system: >=20 > -net tap[,vlan=3Dn][,name=3Dname][,fd=3Dh][,ifname=3Dname][,sc= ript=3Dfile][,down- > script=3Ddfile] No idea, it's not a supported parameter in the kvm-72 I have on this machine, maybe it's the name in the qemu console for manipulating the device. > I tried again, substituting "ifname" for "name" and leaving everythin= g > else as-is, That draws an error: >=20 > device tap11 is already a member of a bridge; can't enslave it to b= ridge br0. > /etc/kvm/kvm-ifup: could not launch network script > Could not initialize device 'tap' >=20 > I suppose that's a good sign, but it still leaves me wondering how to > control which tap connects to which bridge, if I can't attach a guest > to an existing tap. You can. Try adding script=3Dno, so the kvm-ifup script does not get ru= n. --=20 Andreas