views:

5642

answers:

2

I am putting together a SVN demonstration using a WinXP Virtual PC image, and am unable to see my host machine from within the VPC guest OS.

This demo will be performed while disconnected from our LAN, so I installed the Microsoft Loopback adapter on my laptop. In the TCP/IP settings I manually set the IP address to 192.168.3.1 to avoid conflicts with our internal network. In the VPC image settings I set the Network Type to Microsoft Loopback Adapter and set the IP address to 192.168.3.2.

I cannot ping my host machine from the guest OS and vice versa. I've followed through several different how-to pages on this subject but still cannot determine why this isn't working. What am I missing here?

+1  A: 

So your host machine's loopback is set to 192.168.3.1 (subnet 255.255.255.0, gateway 192.168.3.1) and your VM's network adapter is set to 192.168.3.2 (subnet 255.255.255.0, gateway 192.168.3.1)? They should be able to see each other, there's not much else to this setup.

I'd shake things up:

  • Install the VM additions, maybe the network driver that comes with the guest OS isn't cutting it.
  • Try a different subnet, maybe 192.168.22.1.
  • Disable your host machine's other network adapters for a bit, maybe packets are getting routed elsewhere.
seisyll
+2  A: 

It might just be because by default Windows XP Firewall blocks ping requests.

To enable pings do the following:

  1. Open Windows Firewall in the Control Panel
  2. On the General tab check Windows Firewall is On. If it's Off you're probably using another firewall and will need to configure that.
  3. On the Advanced tab click the Settings button under ICMP.
  4. Tick the box next to Allow incoming echo request.
  5. Click OK on the ICMP dialog.
  6. Click OK on the Wndows Firewall dialog.
Dave Webb