From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CWX5W-00033I-9l for qemu-devel@nongnu.org; Tue, 23 Nov 2004 04:35:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CWX5T-00032h-Ux for qemu-devel@nongnu.org; Tue, 23 Nov 2004 04:35:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CWX5O-00031J-0C for qemu-devel@nongnu.org; Tue, 23 Nov 2004 04:35:46 -0500 Received: from [129.67.1.163] (helo=tx0.mail.ox.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CWWw7-00055u-7U for qemu-devel@nongnu.org; Tue, 23 Nov 2004 04:26:11 -0500 Received: from scan0.mail.ox.ac.uk ([129.67.1.162] helo=localhost) by tx0.mail.ox.ac.uk with esmtp (Exim 4.42) id 1CWWw6-0001zi-2a for qemu-devel@nongnu.org; Tue, 23 Nov 2004 09:26:10 +0000 Received: from rx0.mail.ox.ac.uk ([129.67.1.161]) by localhost (scan0.mail.ox.ac.uk [129.67.1.162]) (amavisd-new, port 25) with ESMTP id 07619-01 for ; Tue, 23 Nov 2004 09:26:10 +0000 (GMT) From: William Greenland MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16803.561.49364.119388@client83.comlab> Date: Tue, 23 Nov 2004 09:26:09 +0000 Subject: Re: [Qemu-devel] Windows Update on guest In-Reply-To: <1101121526.3726.4.camel@localhost.localdomain> References: <16801.47587.355398.280900@client83.comlab> <41e41e7a041122021411b0269@mail.gmail.com> <16801.49902.808845.86465@client83.comlab> <1101121526.3726.4.camel@localhost.localdomain> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: esrever_otua@pythonhacker.is-a-geek.net, qemu-devel@nongnu.org Thanks for the responses. The network connection is "working", but sadly there is still some subtle brokenness. I'm beginning to wonder, though, whether this is Windows being broken rather than QEMU... I looked at Darryl's earlier post, and used that configuration, i.e. putting the tun0 interface and guest NIC on a different subnet, because putting it on the same subnet (192.168.0.xxx) didn't work for me. Maybe it's time to give XP a whirl, see if that works any better... > contents of qemu-ifup: > #!/bin/bash > > /sbin/iptables --flush #Clear out all old rules. You will want to > customise this step. > > echo 1 >/proc/sys/net/ipv4/ip_forward #Enable IP Forwarding for > the host OS > > /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE #Enable > MASQUERADEing on the real eth0 NIC > > /sbin/ifconfig $1 192.168.0.254 #Bring up tun0 - guest OS NIC > should be on the same subnet with > #a different address; tun0 > should be its gateway. > > > After that just manually configure your guest to use a static IP address > and some external DNS servers and you're away. >