From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DsTDl-0003P1-4S for qemu-devel@nongnu.org; Tue, 12 Jul 2005 18:27:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DsTDj-0003O0-46 for qemu-devel@nongnu.org; Tue, 12 Jul 2005 18:27:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DsTDj-0003Nv-0B for qemu-devel@nongnu.org; Tue, 12 Jul 2005 18:27:19 -0400 Received: from [128.8.10.164] (helo=po2.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DsTJZ-00080p-5l for qemu-devel@nongnu.org; Tue, 12 Jul 2005 18:33:21 -0400 Received: from jbrown.mylinuxbox.org (jma-box.student.umd.edu [129.2.237.180]) by po2.wam.umd.edu (8.12.10/8.12.10) with ESMTP id j6CMPN58005002 for ; Tue, 12 Jul 2005 18:25:23 -0400 (EDT) Date: Tue, 12 Jul 2005 18:25:22 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] Connecting vde and LAN Message-ID: <20050712222522.GA21727@jbrown.mylinuxbox.org> References: <42D11415.70106@gmx.de> <20050710173735.GA21204@jbrown.mylinuxbox.org> <20050711023326.GA31625@jbrown.mylinuxbox.org> <20050711150204.GA7933@jbrown.mylinuxbox.org> <20050711230122.GA9297@jbrown.mylinuxbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Tue, Jul 12, 2005 at 04:49:08AM +0200, Henrik Nordstrom wrote: > It you forget about Ethernet and instead send the packet as a raw IP > packet then it should reach the host, but you must then fake ARP > responses on behalf of the host. > I just tried this with libnet 1.1 (1.1.2.1 to be specific), and it doesn't seem to work. Pings do not go through. I only handled the vde -> host case though, do I need to do anything special for host -> vde packets? I'll try again with libnet 1.0.2a > >I guess we should just do it the hard way - when grabbing packets that are > >meant for the host, fake the request (fake a ping, manually do the socket > >call, > >etc) and send the result back to the vde. > > You mean diverting them to slirp? Some additional magics for ARP will be > required.. also it doesn't solve host talking to the guest.. Yeah, I'm not sure how to handle the host -> guest case yes. > > Regards > Henrik > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.