Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BubnG-0006iK-0i for qemu-devel@nongnu.org; Tue, 10 Aug 2004 14:56:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BubnE-0006hc-Fz for qemu-devel@nongnu.org; Tue, 10 Aug 2004 14:56:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BubnE-0006hS-9J for qemu-devel@nongnu.org; Tue, 10 Aug 2004 14:56:16 -0400 Received: from [62.253.162.45] (helo=mta05-svc.ntlworld.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BubjL-0001op-A4 for qemu-devel@nongnu.org; Tue, 10 Aug 2004 14:52:16 -0400 Received: from [10.10.10.100] ([81.107.87.144]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040810184953.WLUX546.mta05-svc.ntlworld.com@[10.10.10.100]> for ; Tue, 10 Aug 2004 19:49:53 +0100 Subject: Re: [Qemu-devel] Help with tun/tap with qemu From: Antony T Curtis In-Reply-To: <4118EEBE.1020009@fabianowski.de> References: <20040810150655.25395.qmail@webmail-au.server-secure.com> <4118EEBE.1020009@fabianowski.de> Content-Type: text/plain Message-Id: <1092163933.49245.2.camel@pcgem.rdg.cyberkinetica.com> Mime-Version: 1.0 Date: Tue, 10 Aug 2004 19:52:13 +0100 Content-Transfer-Encoding: 7bit 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, 2004-08-10 at 16:50, Bartosz Fabianowski wrote: > > So I am trying TUN/TAP. The guest and host OS can ping each other. > > However, the guest OS cannot ping any other host > > If the setup on Linux is any similar to that on FreeBSD (and I am sure > it is), the problem probably is routing. The guest and host are on > different networks. So, you need to tell your host to forward packets to > and from the guest's network. You didn't have that problem in slirp, > because slirp bridges between the two networks for you, it implicitly > does the forwarding. > > Unfortunately, I can't tell you how to add the route under Linux due to > my lack of experience with that platform. > > - Bartosz When I am using TAP on FreeBSD, I use ng_bridge so the guest is on the same network as the host. Info for configuring ng_bridge is in /usr/share/examples/netgraph/ether.bridge -- Antony T Curtis, BSc. UNIX, Linux, *BSD, Networking antony.t.curtis@ntlworld.com C++, J2EE, Perl, MySQL, Apache IT Consultancy.