Wednesday, 20 June 2012

Understanding Virtual networking Concepts- Host Only Networking

Understanding Virtual networking Concepts

Host Only Networking

Configuring Host-Only Networking

When you install Workstation on a Windows or Linux host system, a host-only network (VMnet1) is set up for you. Host-only networking is useful if you need to set up an isolated virtual network. In a host-only network, the virtual machine and the host virtual network adapter are connected to a private Ethernet network. The network is completely contained within the host system.

The network connection between the virtual machine and the host system is provided by a virtual network adapter that is visible on the host operating system. The virtual DHCP server provides IP addresses on the host-only network.

Host-Only Networking Configuration

In the default configuration, a virtual machine in a host-only network cannot connect to the Internet. If you install the proper routing or proxy software on the host system, you can establish a connection between the host virtual network adapter and a physical network adapter on the host system to connect the virtual machine to a Token Ring or other non-Ethernet network.

On a Windows XP or Windows Server 2003 host computer, you can use host-only networking in combination with the Internet connection sharing feature in Windows to allow a virtual machine to use the dial-up networking adapter or other connection to the Internet on the host system.

Add a Host-Only Network

When you install Workstation on a Windows or Linux host system, a host-only network (VMnet1) is set up for you. You might want to configure multiple host-only networks to manage network traffic between virtual machines in specific ways.

For example, you can set up multiple host-only networks on the same host system to test routing between two virtual networks or test a virtual machine that has multiple network interface cards without using any physical network adapters.

You might also want to have two virtual machines connected to one host-only network and other virtual machines connected to another host-only network to isolate the network traffic on each network.

  • On a Windows host, log in as an Administrator user. Only an Administrator user can change network settings in the virtual network editor.
  • On a Linux host, log in as root. You must enter the root password to use the virtual network editor.


Select Edit > Virtual Network Editor.

Click Add Network and select a network to add, for example, VMnet2.
You can create a custom host-only network on VMnet2 to VMnet7.

·         On Windows hosts, you can also use VMnet9.
·         On Linux hosts, you can also use vmnet10 through vmnet255.

The new network is configured as a host-only network by default.

Click OK to save your changes.

After the host-only networks are set up on a Linux host system, at least three network interfaces appear: eth0, lo and virbr0. These three interfaces should have different IP addresses on separate subnets.

No comments :

Post a Comment

Note: only a member of this blog may post a comment.