From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E15Yt-0005N2-Sg for qemu-devel@nongnu.org; Fri, 05 Aug 2005 13:00:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E15Yl-0005IN-Br for qemu-devel@nongnu.org; Fri, 05 Aug 2005 13:00:43 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E15Yl-0005Hs-86 for qemu-devel@nongnu.org; Fri, 05 Aug 2005 13:00:39 -0400 Received: from [128.8.10.164] (helo=po2.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E15fo-0005lf-Lv for qemu-devel@nongnu.org; Fri, 05 Aug 2005 13:07:56 -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 j75GsQMa012553 for ; Fri, 5 Aug 2005 12:54:26 -0400 (EDT) Date: Fri, 5 Aug 2005 12:54:25 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] Connecting vde and LAN Message-ID: <20050805165425.GA15331@jbrown.mylinuxbox.org> References: <20050710173735.GA21204@jbrown.mylinuxbox.org> <20050711023326.GA31625@jbrown.mylinuxbox.org> <20050711150204.GA7933@jbrown.mylinuxbox.org> <20050711230122.GA9297@jbrown.mylinuxbox.org> <20050712222522.GA21727@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 Thu, Aug 04, 2005 at 12:14:53PM +0200, Henrik Nordstrom wrote: > On Tue, 12 Jul 2005, Jim C. Brown wrote: > > >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? > > Did you fake the ARP response to the guest? If not the guest won't get > past ARP:ing for the host and no IP packet will be sent.. > I attempted to, but it seems I was only partially successful. Sometimes the ARP table would just have an "(Incomplete)" entry. > To make life simpler you should probably start testing UDP in each > direction (netcat is your friend) with static ARP entries registered on > both guest and host. > Hmm...static ARP. Never thought of that. > For host->guest packets the RAW sockets demonstrated earlier is fine if > you accept that the guest packets is also duplicated on the local lan. I > do not know of a method to have host->guest packets sent cleanly without > duplication on the Ethernet without setting up a TUN/TAP or PPP interface. > > Regards > Henrik > -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.