How to Create Virtual Networks with VMware Workstation

Table of contents:

How to Create Virtual Networks with VMware Workstation
How to Create Virtual Networks with VMware Workstation
Anonim

VMware Workstation is a very useful software that is used to develop and test systems that run on real networks. In this article, you can learn how to create a virtual network in VMware Workstation that can be used to test the database server. In this example, the database server exits to the outside network through a firewall. The administrator's computer connects to the server through a second firewall. The virtual network looks like this.

Four virtual machines will be created, and their network adapters will be configured to the required parameters. An adapter configured in bridged mode provides the ability for VM 1 to operate in bridged mode so that it can access the external network using the host adapter. You need to add a network adapter for virtual machine 1 to connect to VMnet2. The same is for virtual machine 2. Virtual machine 3 must have two adapters. One is for connecting to VMnet2 and the other is VMnet3. Virtual machine 4 must have an adapter to connect to VMnet4. The IP address of each adapter must match the VLAN data.

Steps

Create a Virtual Networks by Using VMware Workstation Step 1
Create a Virtual Networks by Using VMware Workstation Step 1

Step 1. Open virtual machine 1 by clicking on the left window, but do not turn it on

Create a Virtual Networks by Using VMware Workstation Step 2
Create a Virtual Networks by Using VMware Workstation Step 2

Step 2. Select VM> Settings

Create a Virtual Networks by Using VMware Workstation Step 3
Create a Virtual Networks by Using VMware Workstation Step 3

Step 3. On the Hardware tab, click on Network Adapter.

Create a Virtual Networks by Using VMware Workstation Step 4
Create a Virtual Networks by Using VMware Workstation Step 4

4 Select the type of network adapter Bridge (Bridge)

Create a Virtual Networks by Using VMware Workstation Step 5
Create a Virtual Networks by Using VMware Workstation Step 5

Step 5. Click OK

Create a Virtual Networks by Using VMware Workstation Step 6
Create a Virtual Networks by Using VMware Workstation Step 6

Step 6. Select VM> Settings

Create a Virtual Networks by Using VMware Workstation Step 7
Create a Virtual Networks by Using VMware Workstation Step 7

Step 7. On the Hardware tab, click Add

Create a Virtual Networks by Using VMware Workstation Step 8
Create a Virtual Networks by Using VMware Workstation Step 8

Step 8. Select Network Adapter and click Next

Create a Virtual Networks by Using VMware Workstation Step 9
Create a Virtual Networks by Using VMware Workstation Step 9

Step 9. Select Custom, then select VMnet2 from the drop-down menu

Create a Virtual Networks by Using VMware Workstation Step 10
Create a Virtual Networks by Using VMware Workstation Step 10

Step 10. Click Finish

Create a Virtual Networks by Using VMware Workstation Step 11
Create a Virtual Networks by Using VMware Workstation Step 11

Step 11. Open virtual machine 2 by clicking on the left window, but do not turn it on

Create a Virtual Networks by Using VMware Workstation Step 12
Create a Virtual Networks by Using VMware Workstation Step 12

Step 12. On the Hardware tab, click Network Adapter

Create a Virtual Networks by Using VMware Workstation Step 13
Create a Virtual Networks by Using VMware Workstation Step 13

Step 13. Select Custom in the right window and select VMnet2 from the drop-down menu

Create a Virtual Networks by Using VMware Workstation Step 14
Create a Virtual Networks by Using VMware Workstation Step 14

Step 14. Open virtual machine 3 by clicking on the left window, but do not turn it on

Create a Virtual Networks by Using VMware Workstation Step 15
Create a Virtual Networks by Using VMware Workstation Step 15

Step 15. On the Hardware tab, click on Network Adapter

Create a Virtual Networks by Using VMware Workstation Step 16
Create a Virtual Networks by Using VMware Workstation Step 16

Step 16. Select Custom in the right window and select VMnet2 from the drop-down menu

Create a Virtual Networks by Using VMware Workstation Step 17
Create a Virtual Networks by Using VMware Workstation Step 17

Step 17. Use the virtual machine settings to add a second virtual network adapter

Create a Virtual Networks by Using VMware Workstation Step 18
Create a Virtual Networks by Using VMware Workstation Step 18

Step 18. Connect the second adapter to Custom (VMnet3)

Create a Virtual Networks by Using VMware Workstation Step 19
Create a Virtual Networks by Using VMware Workstation Step 19

Step 19. Open virtual machine 4 by clicking on the left window, but do not turn it on

Create a Virtual Networks by Using VMware Workstation Step 20
Create a Virtual Networks by Using VMware Workstation Step 20

Step 20. Use the virtual machine settings to add the virtual network adapter

Create a Virtual Networks by Using VMware Workstation Step 21
Create a Virtual Networks by Using VMware Workstation Step 21

Step 21. Connect the adapter to Custom (VMnet3)

Create a Virtual Networks by Using VMware Workstation Step 22
Create a Virtual Networks by Using VMware Workstation Step 22

Step 22. Select Edit> Virtual Network Editor

Create a Virtual Networks by Using VMware Workstation Step 23
Create a Virtual Networks by Using VMware Workstation Step 23

Step 23. In the Virtual Network Editor dialog box, click on Add Network

Create a Virtual Networks by Using VMware Workstation Step 24
Create a Virtual Networks by Using VMware Workstation Step 24

Step 24. In the Add a Virtual Network dialog box, select VMnet2 from the drop-down menu

Create a Virtual Networks by Using VMware Workstation Step 25
Create a Virtual Networks by Using VMware Workstation Step 25

Step 25. Click OK.

Create a Virtual Networks by Using VMware Workstation Step 26
Create a Virtual Networks by Using VMware Workstation Step 26

26 Add VMnet3

Create a Virtual Networks by Using VMware Workstation Step 27
Create a Virtual Networks by Using VMware Workstation Step 27

Step 27. Click on DHCP Setting and in the dialog box that opens, check the IP address range for VMnet2 and VMnet3

Create a Virtual Networks by Using VMware Workstation Step 28
Create a Virtual Networks by Using VMware Workstation Step 28

Step 28. Power on the four virtual machines

Create a Virtual Networks by Using VMware Workstation Step 29
Create a Virtual Networks by Using VMware Workstation Step 29

Step 29. Open the firewall in virtual machines 1 and 3, but close the rest

Create a Virtual Networks by Using VMware Workstation Step 30
Create a Virtual Networks by Using VMware Workstation Step 30

Step 30. Configure the IP address for the adapters in virtual machine 1 without changing the default settings for the bridged adapter and assigning an IP address for the VMnet2 network adapter

Create a Virtual Networks by Using VMware Workstation Step 31
Create a Virtual Networks by Using VMware Workstation Step 31

Step 31. Configure the IP address for the two virtual machine 2 adapters by assigning an IP address to connect to VMnet2 in the range for VMnet2

Create a Virtual Networks by Using VMware Workstation Step 32
Create a Virtual Networks by Using VMware Workstation Step 32

Step 32. Configure the IP address for the virtual machine 3 adapter by assigning an IP address for the VMnet2 network adapter in the range for VMnet2 and an IP address for the VMnet3 network adapter in the range for VMnet3

Create a Virtual Networks by Using VMware Workstation Step 33
Create a Virtual Networks by Using VMware Workstation Step 33

Step 33. Configure the IP address for the virtual machine 4 adapter by assigning an IP address for the VMnet3 network adapter in the range for VMnet3

Advice

  • Find out the network addresses for VMnet2 and VMnet3: open a command prompt and write:
  • ipconfig / all

Popular by topic