[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Windows Update on guest

From: William Greenland
Subject: Re: [Qemu-devel] Windows Update on guest
Date: Tue, 23 Nov 2004 09:26:09 +0000

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

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         #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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]