How to Create a Virtual Networks by Using VMware Workstation

Download ArticleDownload Article

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!

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

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

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

      About This Article

      How.com.vn 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 234,239 times.
      How helpful is this?
      Co-authors: 9
      Updated: September 16, 2021
      Views: 234,239
      Categories: Virtual Machines
      Thanks to all authors for creating a page that has been read 234,239 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement