From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BXGtu-0005Fr-0C for qemu-devel@nongnu.org; Mon, 07 Jun 2004 05:58:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BXGtr-0005Df-I2 for qemu-devel@nongnu.org; Mon, 07 Jun 2004 05:58:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BXGtr-0005Da-ET for qemu-devel@nongnu.org; Mon, 07 Jun 2004 05:58:39 -0400 Received: from [194.90.9.29] (helo=mxout5.netvision.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BXGsq-0002Cx-N0 for qemu-devel@nongnu.org; Mon, 07 Jun 2004 05:57:36 -0400 Received: from abu-fatma.softier.local ([212.143.109.38]) by mxout5.netvision.net.il (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HYX00KSONNYUN@mxout5.netvision.net.il> for qemu-devel@nongnu.org; Mon, 07 Jun 2004 12:57:34 +0300 (IDT) Date: Mon, 07 Jun 2004 12:57:34 +0300 From: Hetz Ben Hamo Message-id: <200406071257.34308.hetz@softier.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline Subject: [Qemu-devel] TUN settings 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 Hi, Since SLiRP seems to not work with the PCI NE2000 here (4 machines, different configurations, none of them work), I decided to try the TUN way.. Here's my /etc/qemu-ifup script (based on what Tim posted): !/bin/sh sudo /sbin/ifconfig tun0 192.168.2.200 netmask 255.255.255.0 broadcast 192.168.2.255 sudo sh -c 'echo 1 > /proc/sys/net/ipv4/ip_forward' (it's 2 lines, kmail breaks them...grrr) In Windows 98 guest the config is: IP Address: 192.168.2.201 Subnet Mask: 255.255.255.0 Default Gateway: 192.168.2.200 And yet, I cannot ping the TUN interface in the host (192.168.2.200), and I cannot ping anywhere else. Suggestions? Thanks, Hetz