0

I am running Windows 7 Ultimate and have now set up two virtual machines in Virtual PC. One is the XP Mode machine which runs XP (obviously). When I set it's network connection to Shared Networking (NAT), it gets internet access without any problems.

On the windows 7 virtual machine, when enabling the Shared Networking (NAT) option, I get no internet access. It does however say that it is connected. Here are what the status says:

alt text

What can I do here? It works with the VM running XP. Why doesn't it work with the one running Windows 7?

2 Answers 2

1

After some digging around I actually found a fix.

I had to, in the VM running Windows 7, set the preferred DNS server of the network adapter to 192.168.131.254.

After doing that I can access internet in the VM. But, oh my, seriously? Is this how it is supposed to work?

4
  • I just thought about adding a remark about the dns server (10.0.0.1 in your screen shot). It was just name resolution which didn't work. So you should have been able to browse the web using an IP-address in stead of a name.
    – fretje
    Aug 13, 2009 at 10:24
  • Yeah, I didn't think about that since it do work on the XP machine and since 10.0.0.1 is the router. But is this seriously how it is supposed to work?
    – Svish
    Aug 13, 2009 at 10:48
  • Virtual PC is creating a virtual networking and NATing your VM's through the host. I'm assuming it creates that random 192.168.131.0 subnet to reduce collisions with more common home subnets. VBox does the sames. You are expecting it to bridge, which will give you a "real" address on your internal network. VMWare does this by default. I don't know if you can configure VPC this way. Aug 27, 2009 at 13:17
  • No, I wasn't really expecting it to bridge and get a "real" address. However I did expect it to be able to connect to the internet. So if Virtual PC are creating a virtual network, it should have created a virtual DNS server as well.
    – Svish
    Aug 28, 2009 at 6:07
0

It is connected to the network. Have you actually tried opening Internet Explorer? Maybe you have to configure a proxy server first?

1
  • Yes, I get "Internet Explorer cannot display the webpage".
    – Svish
    Aug 13, 2009 at 10:00

Not the answer you're looking for? Browse other questions tagged .