- Install the loopback adapter on Windows 7. Some more info here.
- Configure IPv4 settings on the loopback adapter on the host. A quote from this thread:
"To be able to communicate between the host and guest, give both the loopback adapter on the host and the NIC in the vm IP addresses which are in the same subnet. For example you could make them 192.168.21.1 and 192.168.21.2 with netmask of 255.255.255.0."
My settings on my host has a static IP Of 192.168.131.200 and submask 255.255.255.0. - On the virtual pc, set 2 network adapters, one for Shared NAT, the 2nd for the Loopback Adapter.
- On the virtual pc, set the loopback connection's TCP/IP properties to use a static IP.
My settings on my virtual pc has a static IP of 192.168.131.201 and submask 255.255.255.0.
[When I tried VirtualBox, I didn't need to do all that at all (I realized this after many hours of frustrating firewall blockage). Just set the vm's network card to NAT, and that's it. No need to connect to the loopback adapter.]
Very useful post. Thanks a lot :)
ReplyDelete