Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am having trouble using my guest (Windows XP SP3) to communicate over TCP/IP to the host computer (Windows 7) using Virtual PC 2007. I have WAMPServer running on my host, and want to be able to access the websites on there from my guest OS.

What do I do to make this work? What is the IP address of the host computer when using Shared Networking?

As far as I can tell "Internal Networking" won't work, because that only allows communication between the guests, not between a guest and the host.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

For it to work with shared networking mode, leave the guest's IP settings to be autoconfigured by DHCP. You should be able to access the site by the IP returned in ipconfig (on the host). NAT and Bridged should also work, even with static addressing (as long as it's done correctly).

share|improve this answer
1  
Need to use IP addresses because Win7 and XP don't normally discover each other automatically. –  harrymc Jan 21 '10 at 7:16

Your NIC will be listed on the Network Adapter setting on Virtual PC, select that one (and disable all other adapters)

For the guest machine, specify an IP address at the same subnet as the host (ie: if your host IP is 192.168.1.5, the guest must be 192.168.1.x),the Gateway and DNS address must be the same as on the host.

Make sure the Virtual Machine Network Service is listed and checked on the host NIC, and you have installed the Virtual Machine Additions.

should work.

share|improve this answer
    
I agree to the Network Adapter setting, but prefer John's recommendation for using DHCP. –  harrymc Jan 21 '10 at 7:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.