0% found this document useful (0 votes)
333 views15 pages

How To Create A Virtual Networks by Using Vmware Workstation

The document describes how to create a virtual network using VMware Workstation by configuring four virtual machines and their network adapters. The first virtual machine connects to an external network and VMnet2. The second and third virtual machines connect to VMnet2. The third also connects to VMnet3. The fourth connects only to VMnet3. The IP addresses of the adapters must be configured correctly within the appropriate ranges for each virtual network.

Uploaded by

Asad Ejaz
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
333 views15 pages

How To Create A Virtual Networks by Using Vmware Workstation

The document describes how to create a virtual network using VMware Workstation by configuring four virtual machines and their network adapters. The first virtual machine connects to an external network and VMnet2. The second and third virtual machines connect to VMnet2. The third also connects to VMnet3. The fourth connects only to VMnet3. The IP addresses of the adapters must be configured correctly within the appropriate ranges for each virtual network.

Uploaded by

Asad Ejaz
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

How to Create a Virtual Networks by Using VMware Workstation

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 Administrators 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 computers network adapter. The Custom adapter should be added in make 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. Open Virtual Machine1 by click it in the left window, but do not power it on.

2. Choose VM > Settings.

3. On the Hardware tab, click Network Adapter.

4. Select bridge as the network type to use.

5. Click OK. 6. Choose VM > Settings. 7. On the Hardware tab, click Add.

8. Select Network Adapter and click Next.

9. select Custom, choose the VMnet2 network to use from the dropdown menu.

10. Click Finish. 11. Open Virtual Machine2 by click it in the left window, but do not power it on. 12. On the Hardware tab, click Network Adapter.

13. In the right windows,select Custom and choose the VMnet2 network to use from the drop down menu.

14. Open Virtual Machine3 by click it in the left window, but do not power it on. 15. On the Hardware tab, click Network Adapter. 16. In the right windows,select Custom and choose the VMnet2 network to use from the drop down menu. 17. Use the virtual machine settings editor to add a second virtual network adapter. 18. Connect the second adapter to Custom (VMnet3).

19. Open virtual machine 4 by click it in the left window, but do not power it on. 20. Use the virtual machine settings editor to add a virtual network adapter.

21. Connect the adapter to Custom (VMnet3).

22. Choose Edit > Virtual Network Editor.

23. On the Virtual Network Editor dialog box, click Add Network.

24. On the Add a Virtual Network dialog box, choose the VMnet2 network to add from the dropdown menu.

25. Click OK. 26. Add VMnet3

27. Click DHCP Setting, check the the range of IP addresses for VMnet2 and VMnet2 in the DHCP settings dialog box.

28. Power on the four virtual machines

29. Open the firewall in virtual machine1 and virtual machine 3 but close the others.

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. 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. 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. 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

Tips

Determine the network addresses used for VMnet2 and VMnet3:open a command prompt and run the following command:

ipconfig /all

Warnings

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

You might also like