MS Loopback adapter
If you need to browse your SharePoint site or for that matter any site, hosted on your VPC while you are not connected to a network, read on. If you are not connected to a network the VPC does not get an IP address issued hence why you cannot browse hosted sites. The solution to this is the MS Loopback Adapter. The following shows you how to set up your loopback adapter.
Add Loopback adapter
- Click Start, and then click Control Panel. Then click Add Hardware:
- Select Yes, I have already connected the hardware:
- From the list of devices select Add a new hardware device:
- Select Install the hardware that I manually select from list (Advanced):
- From the list of hardware types select Network Adapter:
- From the list of Manufactures select Microsoft and from the list of Network Adapters select Microsoft Loopback Adapter:
- Click Finish once the adapter is installed.
- The Loopback Adapter will now appear in you list of Network Connections:
Configure Loopback Adapter
- In the Network Connections right mouse click on the newly created Loopback Adapter and select Properties;
- From the Properties select Internet Protocol (TCP/IP) and click Properties:
- In the Properties add the IP address as follows:
- Click OK to commit the changes.
Configure VPC Network Adapter
- On Virtual PC (VPC) Console click Settings;
- On the settings dialog box select Networking and then select Microsoft Loopback Adapter as the 1st Adapter. Click OK;
- On the VPC click the Network icon in the task bar or navigate to the Network Connections through the control panel. The network icon may display a warning message “Limited or no connectivity”. Don’t worry about this at the moment;
- On the Network Connections window, right mouse click on the Local Area Connection and click Properties;
- On the TCP/IP settings for the Network adapter enter the following details. Click OK;
- You will notice that the network icon on the desktop task bar no-longer displays the warning message;
- On the VPC, launch the Command Prompt and type IPConfig you should see that the VPC now has the IP address, subnet and gateway that you just entered;
- From the VPC Command prompt ping 192.168.5.10 to confirm connectivity to the host;
- Ensure that you don’t have any network connectivity on your host computer, then from the Command Prompt ping the VPC 192.168.5.11 to confirm connectivity to the VPC;
Configure Host File
If your SharePoint (or website) uses Host Headers then you’ll need to edit your Host file: