Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bq0Fj-0002JZ-0Z for qemu-devel@nongnu.org; Wed, 28 Jul 2004 22:02:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bq0Fh-0002JB-9K for qemu-devel@nongnu.org; Wed, 28 Jul 2004 22:02:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bq0Fh-0002J1-7M for qemu-devel@nongnu.org; Wed, 28 Jul 2004 22:02:37 -0400 Received: from [66.163.168.183] (helo=smtp804.mail.sc5.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1Bq0C5-0001SX-RK for qemu-devel@nongnu.org; Wed, 28 Jul 2004 21:58:54 -0400 From: Joe Menola Subject: Re: [Qemu-devel] TUN network Date: Wed, 28 Jul 2004 20:58:51 -0500 References: <4107194E.3080201@optusnet.com.au> <200407281336.38355.vaise@votreservice.com> <4109137F.7010703@optusnet.com.au> In-Reply-To: <4109137F.7010703@optusnet.com.au> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407282058.51251.menola@sbcglobal.net> 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 July 29 2004 10:10 am, Darrin Ritter wrote: > HI > > I have tried all diferent types of configs arround the IP adresses with > the host at 192.168.1.10 and the win98 guest at 198.168.1.10 or > 198.168.1.11 set staticly I cant seem to ping the host at 192.168.1.254 > or the freesco router at 192.168.0.1 > > any ideas? > Let's try things manually? Check if iptables is setup as in iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE (I used webmin to check firewall settings not sure how else to do it) If host tun0 is 192.168.1.10, Win98 should be configured staticly to 192.168.1. Set win98 gateway and dns server to 192.168.1.10. Shutdown Windows, in terminal as root do /etc/rc.d/init.d/iptables stop echo "1" >&/proc/sys/net/ipv4/ip_forward /etc/rc.d/init.d/iptables start verify that the contents of /proc/sys/net/ipv4/ip_forward is "1" if content is "0" then ip_forward is not being set, and tun will fail. start qemu with -n (make sure -user-net is not included in start command) If this works then the problem lies in your ifip script(s). If not, I'm lost. -jm