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):
- Turn off any started VM
- Start in a terminal the following (Requires Desktop, the same way the player does)
user@localhost:~$ /usr/bin/vmware-netcfg #Virtual Network Editor
- Select VMNet1 (Host-Only) and deactivate "Use local DHCP Service to distribute IP-Adresses to local VMs"
- Press Save
- 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
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: