You can use the virtual network editor to set up multiple host-only virtual networks.
On Windows and Linux host systems, the first host-only network is set up automatically when you install Workstation Pro. You might want to set up multiple host-only networks on the same computer in the following situations.
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.
To test routing between two virtual networks.
To test a virtual machine that has multiple network interface cards, without using any physical network adapters.
Procedure
- Select .
- Click Add Network.
- Select a virtual switch.
On Windows and Linux hosts, the VMnet1 virtual switch is mapped to a host-only network by default.
Workstation Pro assigns a subnet IP address to the virtual network.
- Select the new virtual network from the list and select Host-only (connect VMs internally on a private network).
- (Optional) To connect a physical network on the host system to the network, select Connect a host virtual adapter to this network.
- (Optional) To use a local DHCP service to distribute IP addresses to virtual machines on the network, select Use local DHCP service to distribute IP addresses to VMs.
- (Optional) (Windows hosts only) To customize DHCP settings if the network uses a local DHCP service, click DHCP Settings.
- (Optional) To change the subnet IP address or subnet mask, modify the addresses in the Subnet IP and Subnet mask text boxes.
- Click OK to save your changes.