Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9nnw-00018Q-BM for qemu-devel@nongnu.org; Thu, 28 May 2009 18:10:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9nnr-000121-CG for qemu-devel@nongnu.org; Thu, 28 May 2009 18:10:27 -0400 Received: from [199.232.76.173] (port=52953 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9nnr-00011e-3a for qemu-devel@nongnu.org; Thu, 28 May 2009 18:10:23 -0400 Received: from volt.iem.pw.edu.pl ([194.29.146.3]:58241) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M9nnq-0002Qr-KA for qemu-devel@nongnu.org; Thu, 28 May 2009 18:10:22 -0400 Message-ID: <4A1F0C76.1030603@iem.pw.edu.pl> Date: Fri, 29 May 2009 00:13:10 +0200 From: Jedrzej Kalinowski MIME-Version: 1.0 Subject: Re: [Qemu-devel] Connecting two tap interfaces to one qemu instance References: <4A1EF2C3.40001@iem.pw.edu.pl> <92FA8CBC-7909-432D-84D7-E3F5F14BADB5@theiggy.com> In-Reply-To: <92FA8CBC-7909-432D-84D7-E3F5F14BADB5@theiggy.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Brian Jackson Brian Jackson pisze: > Try turning STP on for the bridge maybe. > > > On May 28, 2009, at 3:23 PM, Jedrzej Kalinowski wrote: > >> Hello, >> >> I've found a problem when trying to run one qemu instance with two tap >> devices connected to a bridge. >> >> I mean a commandline like this: >> qemu -net nic -net tap -net nic -net tap ... >> >> After a short time (in seconds, rather than minutes, depends on the >> machine I'm runnig qemu) my network gets flooded with packets - mostly >> arp requests gathered from all over the network and replicated. >> >> What's interesting there is no problem with running two or more qemu >> instances, when giving each one a tap device and connecting all of them >> to the same bridge - everything works fine then. >> >> The issue appears on qemu 0.10.5 stable both in FreeBSD and Linux >> environment. >> >> Have any of you tried to use two tap devices in one qemu instance? Any >> luck? >> >> >> >> Any information would be greatly appreciated, >> Jedrzej Kalinowski >> >> > Yes, I tried STP on bridge and it helps. But it's fighting effects, not cause of the problem My understanding is that qemu should not work like this. Usual host with two network devices connected to the same network doesn't create loops like this. -- Jedrzej Kalinowski