[Linux] VMware Player - Host Only Network - DHCP

[Linux] VMware Player - Host Only Network - DHCP

Symptoms

Your Windows VMs are assigned an IP Address from the VMWare Player automatically - but you want to learn more about DHCP and want to install and configure a DHCP by yourself for the VMs. 
(And the Documentation is from 2015!!!) 

Diagnosis

The default Setting for Networks in the VMware Player is "DHCP" enabled. Including the Host-Only Network.

Solution

To disable or configure the Network setting on Linux (VMware Player 17):

  1. Turn off any started VM
  2. Start in a terminal the following (Requires Desktop, the same way the player does)

 

user@localhost:~$ /usr/bin/vmware-netcfg #Virtual Network Editor

 

  1. Select VMNet1 (Host-Only) and deactivate "Use local DHCP Service to distribute IP-Adresses to local VMs"
  2. Press Save
  3. restart vmware service

 

 

user@localhost:~$ sudo /etc/init.d/vmware restart # Restarting VMWare Service, to reinitialize DHCP Config
# This will give you more output if something failed, then starting the service with systemctl

 

 

 

  • Start VMs again and try

Attention: You can keep NAT unchanged. This way you can have one local network and one network with internet access on the same VM. 

Screenshot of the Tool for comparison: 

Ebiko_0-1671094821756.png

 

Labels (4)
Version history
Revision #:
2 of 2
Last update:
‎12-15-2022 01:21 AM
Updated by:
 
Contributors