How to use Microsoft Loopback Adapter for internet access on Virtual PC (Part 3)

From within Virtual PC

1.       Select your virtual machine

2.       Go to the Settings (either right-click the VM and select "Settings" or from within a running instance go to the "Edit" menu and select "Settings)

3.       Click the "Networking" setting

4.       For your network adapter, select "Microsoft Loopback Adapter"

clip_image002[4]

Now, you should be able to see your other running Virtual PC instances that also share the same loopback adapter!

Note: If you run into a problem where you can’t select the Microsoft Loopback Adapter", you’ll need to verify that

1) The "Virtual Machine Networking Services" are installed for the loopback adapter, and

2) If they are, and you still can’t select the adapter, uninstall the service and then reinstall the service (by pointing to the Virtual PC installation directory under Utility/VMNetSrv).

Advertisements

How to use Microsoft Loopback Adapter for internet access on Virtual PC (Part 2)

Step # 2 – Configure Internet Connection Sharing

To use Internet Connection Sharing to share your Internet connection, the host computer must have one network adapter

that is configured to connect to the Internet.

To enable Internet Connection Sharing in Windows XP, follow these steps:

1.    Click Start, click Control Panel, and then double-click Network Connections.

2.    Click the local area network (LAN) connection , the one that connects to the Internet), and then under Network Tasks, click Change settings of this connection.

3.    On the Advanced tab, click to select the Allow other network users to connect through this computer’s Internet connection check box.

4.    If you want to permit other network users to enable or to disable the shared Internet connection, click to select the Allow other network users to control or disable the shared Internet connection check box.

5.    Click OK. You receive the following message:

When Internet Connection Sharing is enabled, your LAN adapter will be set to use IP address 192.168.0.1. Your computer may lose connectivity with other computers on
your network. If these other computers have static IP addresses, it is a good idea to set them to obtain their IP addresses automatically. Are you sure you want to enable Internet
Connection Sharing?

6.    Click Yes

Note that to enable Internet Connection Sharing in Windows XP, you must have administrative rights.

For more information, click How to configure Internet Connection Sharing in Windows XP which provides Video demo of the above activity.

Enabling ICS on Windows 7

 

1.       Open Network Connections by clicking the Start button, clicking Control Panel, clicking Network and Internet, clicking Network and Sharing Center, and then clicking Manage network connections.

2.       Right-click the connection that you want to share, and then click Properties.

If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

3.       Click the Sharing tab, and then select the Allow other network users to connect through this computer’s Internet connection check box.

Note:

The Sharing tab will not be available if you have only one network connection. For the same, you’ll have to install Microsoft Loopback Adapter if you have only one network card installed on the PC.

4.       If desired, you can also select the Allow other network users to control or disable the shared Internet connection check box.

5.       Optionally, to allow other network users to use services running on your network, click Settings and select the services you want to allow.

When you enable ICS, your local area network (LAN) connection gets a new static IP address and configuration, so you’ll need to reestablish any TCP/IP connections between your host computer and the other network computers.

Proceed to Step 3

How to use Microsoft Loopback Adapter for internet access on Virtual PC (Part 1)

The Microsoft Loopback adapter is a testing tool for a virtual network environment where network access is not available.

Microsoft Windows 2000 and XP (and probably others) ship with a built-in network interface driver called the “Microsoft Loopback Adapter” that lets you create a local-only network interface device. This adapter can be extremely useful when you are doing development testing using Virtual PC and want to isolate your Virtual PC’s from your main network.

Step # 1 – Install Microsoft Loopback Adapter

Manual installation in Windows XP

To manually install the Microsoft Loopback adapter in Windows XP, follow these steps:

1.   Click Start, and then click Control Panel.

2.   If you are in Classic view, click Switch to Category View under Control Panel in the left pane.

3.   Double-click Printers and Other Hardware, and then click Next.

4.   Under See Also in the left pane, click Add Hardware,and then click Next.

5.   Click Yes, I have already connected the hardware, and then click Next.

6.   At the bottom of the list, click Add a new hardware device, and then click Next.

7.   Click Install the hardware that I manually select from a list, and then click Next.

8.   Click Network adapters, and then click Next.

9.   In the Manufacturer box, click Microsoft.

10.   In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next.

11.   Click Finish.

If you are running Windows 7 host operating system, use the below URL for step-by-step guide:

How to install Microsoft Loopback Adapter in Windows 7

Proceed with Part 2

Force Outlook to connect to Exchange server using RPC over HTTPS in test environment

We can forcibly prevent the Exchange 2003 server from receiving any type of traffic except TCP 80 and TCP 443, which are the ports used by HTTP and HTTPS respectively.

On the Exchange Frontend/CAS server, disable all ports except 443

image

Note: After you perform the above action, you do not have to restart the server. The change will take effect by doing a Disable/Enable action of Local Area Connection.

 

Configure Microsoft Outlook profile to connect to Exchange server using RPC over HTTPS

Note 1: In case you are repeatedly prompted to enter the Username and password, uncheck the checkbox for “Mutually authenticate the session when connecting with SSL” 

Note 2: Remember to check mark “On Fast Network ….

image

 

Try to open MS Outlook from the Run prompt using /rpcdiag switch : Outlook /rpcdiag

image

Your Outlook should be connected to Exchange Mailbox server using HTTPS connection.

Also verify the session status using: netstat –na

image