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:07:30 +0200 Message-ID: <20090715230730.GY2455@nerd.dk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: kvm@vger.kernel.org Return-path: Received: from irq.hestdesign.com ([212.97.207.97]:40471 "EHLO irq.hestdesign.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756115AbZGOXPM (ORCPT ); Wed, 15 Jul 2009 19:15:12 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Jul 15, 2009 at 05:54:14PM -0500, Michael Jinks wrote: > > Now I want to bring up a VM with two NICs, one attached to tap12 > (bridge 0), the other on tap11 (bridge 1), but I think I've > misunderstood the versious "-net" options as described in the kvm man > page. It *seems* to say that the way to map a specific tap to a > specific guest NIC is to say, "-net nic" followed by "-net > tap,name=", and repeat > that sequence for each nic to appear within the VM. > > So, here's the full command line I tried, based on that reading: > > # kvm -m 512M -net nic -net tap,name=tap11 -net nic -net > tap,name=tap12 -hda /vmstore/wee -vnc :11 -cdrom > /path/to/my/Windows.iso -boot d The parameter is "ifname", not "name". -- Andreas