Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DrULK-0003kN-Rv for qemu-devel@nongnu.org; Sun, 10 Jul 2005 01:27:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DrUL9-0003e5-2t for qemu-devel@nongnu.org; Sun, 10 Jul 2005 01:26:58 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DrUL8-0003Z3-F5 for qemu-devel@nongnu.org; Sun, 10 Jul 2005 01:26:54 -0400 Received: from [83.241.133.2] (helo=filer.marasystems.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DrU9f-0007vv-64 for qemu-devel@nongnu.org; Sun, 10 Jul 2005 01:15:03 -0400 Date: Sun, 10 Jul 2005 07:07:44 +0200 (CEST) From: Henrik Nordstrom Subject: Re: [Qemu-devel] make qemu use tap0 instead of tun0 In-Reply-To: <20050707021913.GA16038@jbrown.mylinuxbox.org> Message-ID: References: <20050706230842.GA14066@jbrown.mylinuxbox.org> <20050707015530.GC20325@MAIL.13thfloor.at> <20050707020551.GA15727@jbrown.mylinuxbox.org> <20050707021913.GA16038@jbrown.mylinuxbox.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 Wed, 6 Jul 2005, Jim C. Brown wrote: > Ok this is not 100% true either. It wouldn't be too difficult to add a layer on > top of the nic hw emulation that did ethernet frame to ip frame and vice versa > before passing the frames to a tun device. (The user mode networking code > already does ethernet frame conversion.) So it wouldn't be that difficult to > get to work, and you wouldn't lose too much either (only IP-based protocols > such as TCP or UDP would work, but I've never heard of anyone trying to use > IPX or even IPv6 with qemu so that probably is not an issue). Not entirely sure how you would map this.. tun is a point-to-point device. There is no broadcasts, no ARP, just plain unicast protocol packets (usually IP, but may be any protocol supported by the host). Regards Henrik