From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BbQTA-0007j0-HP for qemu-devel@nongnu.org; Fri, 18 Jun 2004 17:00:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BbQT9-0007iS-Vz for qemu-devel@nongnu.org; Fri, 18 Jun 2004 17:00:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BbQT9-0007iJ-RP for qemu-devel@nongnu.org; Fri, 18 Jun 2004 17:00:15 -0400 Received: from [66.35.155.164] (helo=gandalf.teamlightning.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BbQRV-0006YV-3q for qemu-devel@nongnu.org; Fri, 18 Jun 2004 16:58:33 -0400 Received: from [192.168.1.110] ([66.35.155.177]) by gandalf.teamlightning.com (8.12.8/8.12.8) with ESMTP id i5IKwVkt021170 for ; Fri, 18 Jun 2004 16:58:31 -0400 Subject: Re: [Qemu-devel] Can't see network under qemu 0.5.5 From: "Leonard T. Erwine" In-Reply-To: <40D1BB18.40304@free.fr> References: <1087396951.40d05c57252a0@www.raysa.org> <1087413230.29688.93.camel@elrond.ltgnet.com> <1087460530.40d154b2731af@www.raysa.org> <40D1BB18.40304@free.fr> Content-Type: text/plain Message-Id: <1087592303.26225.10.camel@elrond.ltgnet.com> Mime-Version: 1.0 Date: Fri, 18 Jun 2004 16:58:23 -0400 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 Mailing List I tried this, but still to no avail. Nothing gets in and nothing gets out of the qemu instance. Are you using Windows 98 for this? On Thu, 2004-06-17 at 11:39, Marc Vertes wrote: > Here is the /etc/qemu-ifup I use to perform full network configuration: > > ----------------------------------------------------- > #!/bin/sh > # > # Inside the qemu VM, the following commands are required: > # > # ifconfig eth0 172.20.0.2 > # route add default gw 172.20.0.1 > # > intf=$1 > eth0_ipaddr=$(ifconfig eth0 | awk '/inet addr:/ {print substr($2, 6)}') > > sudo sh << EOT > /sbin/ifconfig $intf 172.20.0.1 > /sbin/route add -host 172.20.0.2 $intf > /usr/sbin/iptables -t nat -F > /usr/sbin/iptables -t nat -A POSTROUTING -j SNAT -o eth0 --to $eth0_ipaddr > echo 1 > /proc/sys/net/ipv4/ip_forward > EOT > --------------------------------------------------- > > Marc > > Ludovic Gele wrote: > > >Selon "Leonard T. Erwine" : > > > >>I have this problem with using qemu 0.5.5 under windows 98. > >> > >>I can ping the interface's own IP but can't see beyond that. > >> > >>I have screen captures of my settings and other relevant system data at > >>http://www.lennyerwine.com/qemu-net. > >> > >>If anyone can help me with this problem, I will be GLAD to transform the > >>aforementioned web page into a help document. If I can get past this, I > >>plan on doing this for Win2K, Linux as well. > >> > > > >Have you activate the ipforwarding on your host system? And the NAT? > > > > > > > >_______________________________________________ > >Qemu-devel mailing list > >Qemu-devel@nongnu.org > >http://lists.nongnu.org/mailman/listinfo/qemu-devel > > > > > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel