VMware Workstation is an desktop based hypervisor which provides capability to run and simulate multiple operating systems on one desktop. VMware Workstation comes with the large of networking features which helps you to create and manage private, shared or isolated networks inside VMware Workstation.
VMware Workstation provides capability to create private networks , isolated networks. VMware Workstation also provides DHCP Server which can be easily used to distribute IP Addresses for virtual machines running on it. You can even set the limits for Incoming as well as outgoing traffic for the virtual machines.
In previous post we have seen on How to Install VMware Workstation Step by Step, In this post we will see about Networking in VMware Workstation.
To access the Networking in VMware Workstation.
Open the VMware Workstation > Go to Edit menu.
Click Virtual Network Editor.
You can see nice Virtual Network Editor window here. From here you can create and manage Virtual Network Editors based on your requirements.
As you can see there are 3 default Network which gets created when you install VMware Workstation. Which are VMnet0, VMnet1, VMnet8. Three of them are of different types Bridged, Host-only and NAT.
As the name suggests this is an Bridged network which means that your virtual machine will act as an independent VM connected to your physical switch or router. In this VM will directly get IP Address from DHCP Server present in your infra. If you use bridged networking, the virtual machine is a full participant in the network. It has access to other machines on the network and can be contacted by other machines on the network as if it were a physical computer on the network.
This is the default network used and assigned when you create a virtual machine. In case of NAT, your virtual machine does not have its own IP address on the external network. Instead, a separate private network is set up on the host computer. Your virtual machine gets an address on that network from the VMware virtual DHCP server. The VMware NAT device passes network data between one or more virtual machines and the external network. It identifies incoming data packets intended for each virtual machine and sends them to the correct destination.
This is used when you want to create an completely isolated network so your VM will not be able to see other network or the Internet. Host-only networking provides a network connection between the virtual machine and the host computer, using a virtual Ethernet adapter that is visible to the host operating system. This approach can be useful if you need to set up an isolated virtual network.
You can create and use any of the Network you wish to use for your testing. VMware Workstation support maximum up to 0 to 19 VMnet adapters. Where 3 are created by default rest you can create your own.
To create Virtual Network click on Add Network button. You will get prompt to Add a Virtual Network. Select the Virtual Network you want to add. Click OK to add.
Once you add Virtual Network. You can see it is listed in the Box. Now you can specify which Type you want to use for this Network, If you want to use DHCP then you can check the box at the end. You can also specify Subnet IP and Subnet mask based on your requirement.
You can configure below DHCP Settings for the Virtual Network.
VMware Workstation also provides feature of NAT , So you can use the NAT for your Virtual Machines. Select the NAT Adapter and Click NAT Settings to access the NAT Configuration.
Here you can configure NAT Settings such as Gateway IP, Port Forwarding, active FTP etc.
Once you create your Virtual Network Adapter, you can easily assign it to any of the virtual machines you want.
Select the VM and go to Edit settings of the VM.
Select Network Adapter.
Here you can see all the configuration, You can change the Network Connection Type, If you have Virtual Network created you can use it. you can also connect and disconnect network for the virtual machine from here by just checking the boxes under Device status.
You can also limit the bandwidth usage for Virtual Machine by clicking on Advanced. So here you can limit the Incoming and Outgoing Transfer.
Using this way you can easily create and manage virtual networking in VMware Workstation. Once you setup the network you can create your own isolated network and do the testing.
That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.