Sign in with
Sign up | Sign in
Closed

VMware Workstation Automatically Assigns IP Addresses to VMs

This Tutorial addresses:
VMware Workstation Automatically Assigns IP Addresses to VMs

During the process of creating virtual machine in VMware Workstation, the application asks the users to choose the type of network that the VM should have. Users can then select any of the available options according to their virtual environment needs. In most cases, the users choose Bridged that allows the virtual machine to communicate with the host computer by mapping the virtual NIC with the NIC connected to the physical PC.

On the other hand, if the Network Address Translation (NAT) or Host to Host option is selected, the VMs automatically receive the IP addresses from the VMware Workstation’s built-in DHCP server which is by default enabled. The built-in DHCP server that the VMware Workstation has assigns the IP address of class C range along with the default subnet mask.

You, as a VMware Workstation user, can either disable the DHCP server option or you can also change the default DHCP IP address range so that the virtual machines can be assigned with the IP addresses that are compatible with the current subnet. This can be done by accessing the ‘Virtual Network Editor’ option that is available under the ‘Edit’ menu in the VMware Workstation.
Although the issue can be easily resolved by modifying the DHCP address range within the VMware Workstation, if the virtual machines are running within production environments, the existing DHCP server of the organization should be used to assign the dynamic IP addresses to the VM’s.

In either case, below is the process using which you can modify or completely disable the built-in DHCP server in the VMware Workstation:

  1. Log on to the Windows 7 computer with the administrator account.
  2. Double-click the VMware Workstation icon to initialize the application.
  3. On the opened interface, click Edit menu.
  4. From the displayed drop-down menu, click Virtual Network Editor.

  5. On the displayed User Account Control (UAC) confirmation box, click Yes button to provide your consent to continue.
  6. On the opened Virtual Network Editor box, click to select the virtual NICs individually that are configured to be used as Network Address Translation (NAT) or Host-to-Host.
  7. After selecting each NIC from the displayed list, either choose the Bridged radio button that automatically disables the DHCP server feature, and bypasses the NAT configuration requirements as well. Optionally you can uncheck the DHCP checkbox if you want to keep the NIC type intact. You can also modify the DHCP IP address range from the Subnet IP fields.

  8. In order to modify the NAT settings, click to select the NIC that has been configured to be used as NAT type, and click NAT Settings button.

  9. On the opened NAT Settings box, make appropriate changes as required.

  10. Click OK button on all the opened boxes and windows to save the changes.
  11. To be on the safer side, restart all the virtual machines running within the VMware Workstation application.

    Can't find your answer ? Ask !