Previous Topic

Next Topic

Locate topic in Contents

Creating Host-Only Network

Parallels Workstation provides virtual network accessible only to the primary operating system and virtual machines running on it. The primary operating system is attached to this network through the Parallels Host-Guest Virtual NIC adapter installed along with Parallels Workstation. For a virtual machine to join such a host-only network, the guest network adapter should be set to host-only networking. IP addresses for the primary operating system and virtual machines may be:

Configuring Network with Dynamic IPs

IP addresses for machines in a host-only network are provided by Parallels DHCP server that is started automatically whenever you launch Parallels Workstation. DHCP server is installed along with Parallels Workstation.

Configure network with dynamic IPs in the following way:

  1. Open Configuration Editor for the virtual machine and on the Network Adapter Options tab select the Host-only networking parameter.
  2. Select Edit->Preferences in the Parallels Workstation menu. Specify a range of IP addresses to be assigned to the virtual machines on the Network tab.

Configuring Network with Static IPs

To configure host-only network with static IP addresses you have to manually assign them to the primary operating system and to each virtual machine in which you want to include on the network.

The virtual machine should be configured as follows:

  1. Open the Configuration Editor for the virtual machine and on the Network Adapter Options tab select the Host-only networking parameter.
  2. Start the virtual machine and specify the IP address by standard means for the guest operating system installed on it.

Configuring a static IP address for the primary operating system:

In Windows primary OS:

  1. Open Windows Control Panel, select Network Connections.
  2. In the Network Connections window right click on the Parallels Workstation network adapter, Parallels Host-Guest Virtual NIC, to display its context menu and select Properties in it.
  3. The Parallels Host-Guest Virtual NIC Properties windows is displayed, in This connection uses the following item list select Internet Protocol (TCP/IP) and click Properties button.
  4. In the Internet Protocol TCP/IP Properties window select Use the following IP address option, after that other options in this group become accessible. Specify IP address and Subnet mask for the primary system.

In Linux primary OS:

  1. Open /usr/lib/Parallels/.dhcpd_configuration file.
  2. Settings under "[vnic0]" determine Parallels network adapter parameters. Find the string "DHCP=1". This setting means that address for the primary operating system is assigned automatically. To allow static IP change DHCP setting to 0 instead of 1. Set "DHCP=0" and save the file.
  3. Launch the Terminal program and run two following commands:

    /etc/init.d/parallels stop

    and after this

    /etc/init.d/parallels start

  4. Specify an IP address for the primary system by means of the Linux version installed on your computer.