Date: Sun, 24 May 2009 00:30:24 +0200 From: Jedrzej Kalinowski <kalinoj1@iem.pw.edu.pl> To: freebsd-emulation@freebsd.org Subject: Qemu: Assigning two tap devices to one virtual machine Message-ID: <20090523223024.GA93488@volt.iem.pw.edu.pl>
index | next in thread | raw e-mail
Hello all,
I'm running qemu 0.10.5 on CURRENT machine and experienced an
interesting problem.
I try to run a single qemu machine with two network interfaces (tap's)
connected to the same bridge - I need this for playing with m0n0wall for
example.
The qemu launch looks similiar to this:
qemu -net nic -net tap -net nic -net tap -cdrom cdrom.iso -curses
What happens is that when qemu starts up - my machine locks (sometimes I
manage to kill qemu and recover it, sometimes not). I see that it's a
problem with network bridge - looks like the infitine loop of arp
requests that get replicated infinitely (it also kills/floods my real network
that is connected through the bridge to the tap devices).
My question is - have any of You tried to use multiple tap devices within
one qemu machine? Can you replicate this problem in your environments?
One note: there is no problem if I run two qemus and each of them has a
tap device connected to bridge0. They coexist and I have no network
issues in both guests. I can post qemu-if{up,down} scripts if needed.
All the best,
Jedrzej Kalinowski
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090523223024.GA93488>
