qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jedrzej Kalinowski <kalinoj1@iem.pw.edu.pl>
To: qemu-devel@nongnu.org
Cc: Brian Jackson <iggy@theiggy.com>
Subject: Re: [Qemu-devel] Connecting two tap interfaces to one qemu instance
Date: Fri, 29 May 2009 00:13:10 +0200	[thread overview]
Message-ID: <4A1F0C76.1030603@iem.pw.edu.pl> (raw)
In-Reply-To: <92FA8CBC-7909-432D-84D7-E3F5F14BADB5@theiggy.com>

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

  reply	other threads:[~2009-05-28 22:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-28 20:23 [Qemu-devel] Connecting two tap interfaces to one qemu instance Jedrzej Kalinowski
2009-05-28 20:39 ` Brian Jackson
2009-05-28 22:13   ` Jedrzej Kalinowski [this message]
2009-05-29 11:54     ` Paul Brook
2009-05-28 23:31 ` [Qemu-devel] " Charles Duffy
2009-05-30 10:56   ` Jedrzej Kalinowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A1F0C76.1030603@iem.pw.edu.pl \
    --to=kalinoj1@iem.pw.edu.pl \
    --cc=iggy@theiggy.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).