wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 10 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 236,777 times.
Learn more...
VMware Workstation is very useful software, using in developing and testing a system which run in a real network. I will give you an example, showing how to create sophisticated virtual networks in VMware Workstation ,which can be used to test database server system. In this example, a database server connects through a firewall to an external network. An Administrator’s computer connects to the database server through a second firewall. The virtual network shows you as the following:
Four virtual machines will be created and the virtual machine settings editor will be used to adjust the settings for their virtual network adapters. The bridged adapter make virtual machine1 worked in bridged networking so that the virtual machine can connect to an external network by using the host computer’s network adapter. The Custom adapter should be added in making virtual machine1 to make virtual machine1 connect VMnet2.The adapter should also be changed to be added Custom adapter which makes virtual machine2 to make virtual machine1 connect VMnet2.The virtual machine3 should have two Custom adapters. One of them is for connecting VMnet2 and the other of them is for connecting VMnet3. The virtual machine4 only need one Custom adapter for connecting VMnet4.The IP address of each adapter need to be set correctly to make the virtual networks work perfectly!
Steps
-
Open Virtual Machine1 by click it in the left window, but do not power it on.
-
Choose VM > Settings.Advertisement
-
On the Hardware tab, click Network Adapter.
-
Select bridge as the network type to use.
-
Click OK.
-
Choose VM > Settings.
-
On the Hardware tab, click Add.
-
Select Network Adapter and click Next.
-
select Custom, choose the VMnet2 network to use from the drop‐down menu.
-
Click Finish.
-
Open Virtual Machine2 by click it in the left window, but do not power it on.
-
On the Hardware tab, click Network Adapter.
-
In the right windows,select Custom and choose the VMnet2 network to use from the drop‐down menu.
-
Open Virtual Machine3 by click it in the left window, but do not power it on.
-
On the Hardware tab, click Network Adapter.
-
In the right windows,select Custom and choose the VMnet2 network to use from the drop‐down menu.
-
Use the virtual machine settings editor to add a second virtual network adapter.
-
Connect the second adapter to Custom (VMnet3).
-
Open virtual machine 4 by click it in the left window, but do not power it on.
-
Use the virtual machine settings editor to add a virtual network adapter.
-
Connect the adapter to Custom (VMnet3).
-
Choose Edit > Virtual Network Editor.
-
On the Virtual Network Editor dialog box, click Add Network.
-
On the Add a Virtual Network dialog box, choose the VMnet2 network to add from the drop‐down menu.
-
Click OK.
-
Add VMnet3
-
Click DHCP Setting, check the range of IP addresses for VMnet2 and VMnet2 in the DHCP settings dialog box.
-
Power on the four virtual machines
-
Open the firewall in virtual machine1 and virtual machine 3 but close the others.
-
set IP address for the adapters in Virtual Machine1 by keeping the default settings for the bridged network adapter and assigning IP address for the adapter connect to VMnet2 in the range you are using with VMnet2
-
set IP address for the two adapters in Virtual Machine2 by assigning IP address for the adapter connect to VMnet2 in the range you are using with VMnet2
-
set IP address for the adapter in Virtual Machine3 by assigning IP address for the adapter connect to VMnet2 in the range you are using with VMnet2 and IP address for the adapter connect to VMnet3 in the range you are using with VMnet3
-
set IP address for the adapter in Virtual Machine4 by assigning IP address for the adapter connect to VMnet3 in the range you are using with VMnet3
Expert Q&A
Video
Tips
-
ipconfig /allThanks
-
Determine the network addresses used for VMnet2 and VMnet3:open a command prompt and run the following command:Thanks
Warnings
- Subnet VMnet2 and VMnet3 should be add in the list of Virtual Network dialog box, or the connection will be failed.Thanks