From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DrhXJ-0004RZ-12 for qemu-devel@nongnu.org; Sun, 10 Jul 2005 15:32:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DrhXG-0004QI-R6 for qemu-devel@nongnu.org; Sun, 10 Jul 2005 15:32:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DrhSx-0002bg-2X for qemu-devel@nongnu.org; Sun, 10 Jul 2005 15:27:51 -0400 Received: from [128.8.10.163] (helo=po1.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Drh9P-0004dA-Nq for qemu-devel@nongnu.org; Sun, 10 Jul 2005 15:07:40 -0400 Received: from jbrown.mylinuxbox.org (jma-box.student.umd.edu [129.2.237.180]) by po1.wam.umd.edu (8.12.10/8.12.10) with ESMTP id j6AJ0ARu000319 for ; Sun, 10 Jul 2005 15:00:10 -0400 (EDT) Date: Sun, 10 Jul 2005 14:58:58 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] Connecting vde and LAN Message-ID: <20050710185858.GA22762@jbrown.mylinuxbox.org> References: <42D11415.70106@gmx.de> <20050710173735.GA21204@jbrown.mylinuxbox.org> <42D16795.3090304@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42D16795.3090304@gmx.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Sun, Jul 10, 2005 at 08:23:17PM +0200, Oliver Gerlich wrote: > > The best solution is to use a vde_switch with libpcap and libnet. This allows > > intercepting packets meant for the guests (via libnet) and forwarding them thru > > vde. libpcap allows for packets in vde to be passed on to the lan. This also > > allows for a sort of seamless bridging between host and guest lan. (Technically > > a tap device is still required to be able to talk to the host, but my understanding > > is that libpcap handles this automatically.) Plus, the nic remains eth0. > > > > I am not sure how libpcap and libnet would work with DHCP or ARP, but since > > they work on the ethernet level I suppose a single dhcpd server on eth0 would > > work in this case, but I am not 100% sure. > > > > Sounds interesting! How do I set this up? Couldn't find anything on > Google, and personally I have no idea how to do this :) > > Oliver I should have stated that VDE doesn't actually have a version of vde_switch which uses libpcap or libnet - so it will have to be written first. I'm working toward that end, but right now its been a slow start. -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.