From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN4TT-0005IE-W9 for qemu-devel@nongnu.org; Fri, 20 Sep 2013 13:26:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VN4TO-00005S-6M for qemu-devel@nongnu.org; Fri, 20 Sep 2013 13:26:35 -0400 Received: from mail-ee0-x229.google.com ([2a00:1450:4013:c00::229]:53137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN4TN-00005O-Uv for qemu-devel@nongnu.org; Fri, 20 Sep 2013 13:26:30 -0400 Received: by mail-ee0-f41.google.com with SMTP id d17so419407eek.0 for ; Fri, 20 Sep 2013 10:26:29 -0700 (PDT) Date: Fri, 20 Sep 2013 19:26:26 +0200 From: Stefan Hajnoczi Message-ID: <20130920172626.GA14589@stefanha-thinkpad.redhat.com> References: <20130920115848.GC14738@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Qemu-KVM VETH List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tim Epkes Cc: "qemu-devel@nongnu.org" On Fri, Sep 20, 2013 at 11:48:50AM -0400, Tim Epkes wrote: > The problem aI face is that a bridge in the middle ( using taps) breaks > LLDP ( L2 discovery protocol) and should break ISIS as well. Sockets > aren't bad, but if for some reason I take the listener VM down and bring > back up, then I have to bring down all connector VMs, which chains on > itself if there is a lot of connectivity defined. When UDP was available > that wasn't an issue. I just checked linux.git but this patch has not been applied (although it's trivial if you're willing to rebuild your kernel from source): http://comments.gmane.org/gmane.linux.network/208908 It sounds like improving net/socket.c might be the right place to look. > Anyway, that is how I came to VETHs. I am aware that you can use UDP > multicast, but performance past one hop is extremely poor ( resulting in 3 > of 5 pings to be lost. Thanks Unfortunately the veth driver does not hand Ethernet frames to/from userspace. We really need something tap-like where userspace can inject/extract packets. Stefan