I’ve downloaded and installed the Microsoft Virtual PC image for testing IE6. The development copy of my website is on the host PC, running on Windows XP/Apache/PHP. I need to use IE6 on the virtual PC to view pages served up by Apache on the host PC.
I know this requires networking them together, but I’ve no idea how to do that. I’ve installed the Microsoft Loopback Adapter on the host PC, and told the virtual PC it can use that adapter in the Virtual PC settings dialogue, but on the host PC the loopback adapter says “limited or no connectivity”.
Can someone tell me what the next step is?
(Before someone suggests it, I’ve been using MultipleIEs. Trouble is, you can’t test printing with that - you need a proper copy of IE6.)
Are you on a LAN? Is another IP being used that your trying to use for that Virtual PC? If its Microsoft Virtual PC 2004 or 2007 you can click on the little “network pipes” on the bottom left of the VPS and you can set it to either “Local” “Shared NAT” and you can “physically” use the network adapter on the host which is the recommended setting.
No, it’s an individual XP Media Centre PC with just a broadband Internet connection. The VPC is XP Pro.
I’ve discovered that I didn’t have any IP set up. I now have the loopback adapter on the host using 192.168.1.1, and the LAN on VPC using 192.168.1.2. The latter says it’s using Intel 21140-Based PCI Fast Ethernet, which I think is the loopback adapter since it doesn’t match any of the real hardware on my laptop.
It’s VPC 2007, and in the dropdown you’re referring to I have the Loopback Adapter selected.
I’ve also run the network setup wizard on both machines, setting up a workgroup called ‘WORKGROUP’. In My Network Places > Entire Network > Microsoft Windows Network > Workgroup I get “Workgroup is not accessible” on both machines.
I’ve been asked whether I got this working or not. I did, but I don’t remember exactly how.
I do remember I had to set the firewall (ZoneAlarm) on the host machine to allow traffic from the loopback adapter by specifying its IP address. I think that may have been the only step necessary to get it working, but I’m not certain of that.
On the ‘ANDORNOT blog’ the advice is given to Allow network sharing on the
Loopback Adaptor, whereas Ben Armstrong (the VPC guy) advises to allow this
on the Network connection that you use for Internet, in my case a wireless.
This worked without the error warnings etc…that seem to appear when allowing
this on the Loopback adaptor(as mentioned in the andornot blog).
For the sake of clarity (for anyone who reads this thread looking for a
solution), this is what I did for an XP SP2 VPC on a XP SP2 Host (might be
different for other configurations):
Installing the loopback adaptor on the host (follow Microsoft’s or other
Follow instructions 3 to 9 (skip 6!) from the ANDORNOT blog (see the
blog address above)
Allow internet sharing on the host pc (see the virtual pc guy weblog
mentioned above) on the network connection you use for internet (not the
I finally ended up with a working VPC that allows to test locally developed
websites in IE7 (on the host) and IE6 (on the VPC) and allows real-live
internet for the host and the VPC.
Note that just checking the VPC’s IP address with ipconfig and pinging it from the host, as suggested by AndOrNot, didn’t work for me. I had to set a new IP manually. I think I may not have a DHCP server, I’m not really sure.
I mentioned in an earlier post that I ran the network setup wizard. Since I didn’t have to do that on a fresh VPC, I think that was a red herring. It’s also worth noting that I haven’t got the VPC accessing the Internet. Last time I tried that I lost all Internet access from my host PC and had to reset my router to factory settings. I haven’t needed access badly enough to try that again.
It makes a difference indeed whether the host computer is on a LAN or not.
If you are on a LAN, then you do not need to install Microsoft Loopback Adapter at all. Instead, select Shared Networking (NAT) in the VPC Settings dialog.
The option with Microsoft Loopback Adapter and Internet Connection Sharing is handy if you are occasionally disconnected from your LAN.
If you are not connected to a LAN at all (but how did you get all the VHD there and how do you deploy? ) then you need to use Microsoft Loopback Adapter to create an isolated network. You will have to set the IP addresses on the host PC and virtual PCs manually.