Tuesday, January 09, 2007 12:30 AM
janiquec
Using the Microsoft Loopback Adapter with Virtual Server 2005 R2
The Virtual Server 2005 R2 network architecture was designed to allow default isolation of virtual machine network traffic from other virtual machines, the Virtual Server host, and external networks. However, using the Microsoft Loopback Adapter, you can configure virtual machines to be connected to each other, the Virtual Server host, corporate networks, or the Internet.
Using the Microsoft Loopback Adapter
The Microsoft Loopback Adapter is a built-in, software-based network interface. When you use it, network traffic between connected virtual machines and the Virtual Server host is constrained to the internal virtual network, remaining isolated from external, physical networks.
Installing the Microsoft Loopback Adaptor
Here are the steps to install the Microsoft Loopback Adaptor on Windows Server 2003 R2:
- On the Virtual Server host, click Start, and then click Control Panel.
- In the Control Panel, click Add Hardware, then click Next.
- In the Is The Hardware Connected dialog box, click Yes (I have already connected the hardware), and then click Next.
- In the Installed hardware list, click Add a new hardware device, and then click Next.
- In the What Do You Want The Wizard To Do check list, click Install the hardware that I manually select from a list (Advanced), and then click Next.
- In the Common Hardware Types list, click Network adapters, and then click Next.
- In the Manufacturer list, click Microsoft.
- In the Network Adapter list, click Microsoft Loopback Adapter, then click Next.
- In the Hardware To Install dialog box, click Next.
- In the Completing the Add Hardware Wizard dialog box, click Finish.
You must be a member of the administrators group in order to install a new network adapter in the host operating system.
Configuring the Microsoft Loopback Adaptor
The Microsoft Loopback Adaptor must be bound to Virtual Machine Network Services to allow communications through a virtual network. Follow these steps to configure the Microsoft Loopback Adaptor bindings on the Virtual Server 2005 R2 host:
- On the Virtual Server 2005 R2 host, click on Start and select Control Panel.
- Select Network Connections, right-click the local area connection associated with the Microsoft Loopback Adapter, and then select Properties.
- In This connection uses the following items, ensure that the Virtual Machine Network Services check box is selected.
- Click Internet Protocol (TCP/IP), and then click Properties.
- On the General tab, click Use The Following IP Address, and then type the IP address and subnet mask, but do not enter a gateway address.
- Click OK, and then click Close.
Creating a Virtual Network and Connecting Virtual Machines to the Host
After the Microsoft Loopback Adapter has been installed and configured on the Virtual Server host, you can create a new virtual network and connect the virtual machines.
- Open the Virtual Server 2005 R2 Administration Website.
- In the navigation pane, under Virtual Networks, click Create.
- In Virtual network name, type a name for the virtual network.
- In Network adapter on physical computer, select the Microsoft Loopback Adapter.
- In Disconnected virtual network adapters, select the Connected check box for any virtual machine network adapter that you want to attach to the new virtual network.
- In Virtual network notes, type in a description for the new virtual network, then click OK.
You can now boot the virtual machines, configure the network address for the new local connection, and configure firewall settings to enable resource sharing, as required.
Make sure to use non-routable TCP/IP addresses when you configure the Microsoft Loopback Adaptor network address properties. The network address and network mask must match between the Virtual Server host and the virtual machines.
Enabling Virtual DHCP Server on a Virtual Network
If you intend to connect several virtual machines, you can configure the Virtual DHCP Server option on the virtual network to manage and supply network configuration options to connecting virtual machines.
- Open the Virtual Server 2005 R2 Administration Website.
- In the navigation pane, under Virtual Networks, select Configure and then click the appropriate virtual network.
- In Virtual Network Properties, click DHCP server.
- Click in the Enabled check box and configure the DHCP server options as needed
- Click OK.
Share this article in
del.icio.us |
Digg |
reddit
Filed under: Virtualization, Virtual Server, Virtual Networks, Virtual Machine