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

  1. 1
    Open Virtual Machine1 by click it in the left window, but do not power it on.
  2. 2
    Choose VM > Settings.
    Advertisement
  3. 3
    On the Hardware tab, click Network Adapter.
  4. 4
    Select bridge as the network type to use.
  5. 5
    Click OK.
  6. 6
    Choose VM > Settings.
  7. 7
    On the Hardware tab, click Add.
  8. 8
    Select Network Adapter and click Next.
  9. 9
    select Custom, choose the VMnet2 network to use from the drop‐down menu.
  10. 10
    Click Finish.
  11. 11
    Open Virtual Machine2 by click it in the left window, but do not power it on.
  12. 12
    On the Hardware tab, click Network Adapter.
  13. 13
    In the right windows,select Custom and choose the VMnet2 network to use from the drop‐down menu.
  14. 14
    Open Virtual Machine3 by click it in the left window, but do not power it on.
  15. 15
    On the Hardware tab, click Network Adapter.
  16. 16
    In the right windows,select Custom and choose the VMnet2 network to use from the drop‐down menu.
  17. 17
    Use the virtual machine settings editor to add a second virtual network adapter.
  18. 18
    Connect the second adapter to Custom (VMnet3).
  19. 19
    Open virtual machine 4 by click it in the left window, but do not power it on.
  20. 20
    Use the virtual machine settings editor to add a virtual network adapter.
  21. 21
    Connect the adapter to Custom (VMnet3).
  22. 22
    Choose Edit > Virtual Network Editor.
  23. 23
    On the Virtual Network Editor dialog box, click Add Network.
  24. 24
    On the Add a Virtual Network dialog box, choose the VMnet2 network to add from the drop‐down menu.
  25. 25
    Click OK.
  26. 26
    Add VMnet3
  27. 27
    Click DHCP Setting, check the the range of IP addresses for VMnet2 and VMnet2 in the DHCP settings dialog box.
  28. 28
    Power on the four virtual machines
  29. 29
    Open the firewall in virtual machine1 and virtual machine 3 but close the others.
  30. 30
    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
  31. 31
    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
  32. 32
    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
  33. 33
    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
  34. Advertisement

Warnings

  • Subnet VMnet2 and VMnet3 should be add in the list of Virtual Network dialog box, or the connection will be failed.
    ⧼thumbs_response⧽
Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 9 people, some anonymous, worked to edit and improve it over time. This article has been viewed 224,199 times.
How helpful is this?
Co-authors: 9
Updated: September 16, 2021
Views: 224,199
Categories: Virtual Machines
Advertisement