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:12:19 +0200 Message-ID: <20090715231219.GZ2455@nerd.dk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Michael Jinks , kvm@vger.kernel.org To: Stephane Bakhos Return-path: Received: from irq.hestdesign.com ([212.97.207.97]:37243 "EHLO irq.hestdesign.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753693AbZGOXUM (ORCPT ); Wed, 15 Jul 2009 19:20:12 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Jul 15, 2009 at 07:05:48PM -0400, Stephane Bakhos wrote: >> >> I tried "fd=" instead of "name=", but that looks for a file descriptor >> instead of a network interface name, and I didn't even know that Linux >> had file descriptors for network interfaces let alone how to map them >> to a tap. Nothing under /dev looks promising. > > You need to add a vlan option to one of them, for example vlan=2 > Otherwise kvm will bridge the interfaces together, and it's going to > create a packet storm. Not if the tap-interfaces are connected to different bridges. -- Andreas