Received: from [140.186.70.92] (port=48997 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJv8Q-0002ku-Fm for qemu-devel@nongnu.org; Wed, 02 Jun 2010 17:05:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJv8O-000287-Rm for qemu-devel@nongnu.org; Wed, 02 Jun 2010 17:05:58 -0400 Received: from adelie.canonical.com ([91.189.90.139]:58270) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJv8O-00027z-Hu for qemu-devel@nongnu.org; Wed, 02 Jun 2010 17:05:56 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OJv8M-0005i4-QG for ; Wed, 02 Jun 2010 22:05:55 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 2CA072F60D6 for ; Wed, 2 Jun 2010 22:05:40 +0100 (BST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Jun 2010 20:58:47 -0000 From: Anthony Liguori Sender: bounces@canonical.com References: <20100307023136.31268.42109.malonedeb@soybean.canonical.com> Message-Id: <20100602205847.14807.69888.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 533610] Re: Routing net multicast socket over loopback make Ethernet broadcast bounce back to VM. Reply-To: Bug 533610 <533610@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The way you're setting up your route is going to result in an infinite loop. I'd suggest you use tap networking to do this. ** Changed in: qemu Status: New =3D> Invalid -- = Routing net multicast socket over loopback make Ethernet broadcast bounce b= ack to VM. https://bugs.launchpad.net/bugs/533610 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Invalid Bug description: How to reproduce: Host commands: ip link set dev lo up ip addr add 127.0.0.1/8 dev lo ip route add 230.0.0.0/24 dev lo qemu-system-x86_64 --kernel bzImage --initrd initrd.gz -net nic,model=3De10= 00,vlan=3D0,macaddr=3D52:54:00:00:00:01 -net socket,vlan=3D0,mcast=3D230.0.= 0.1:1234 -net nic,model=3De1000,vlan=3D1,macaddr=3D52:54:00:00:00:02 -net s= ocket,vlan=3D1,mcast=3D230.0.0.2:1234 In any of the VM: ip link set dev eth0 up ip link set dev eth2 up brctl addbr br0 brctl addif br0 eth0 brctl addif br0 eth2 brctl stp br0 on ip link set dev br0 up As soon as the bridge is up, you will get messages about eth0 and eth2 rece= iving their own packets from the bridge, then, be prepared for a packet/mes= sage storm as it grow infinitly until you end Qemu or probably have the gue= st's kernel hang.