If you are an advanced user, you can edit the DHCP server configuration file to modify DHCP settings.
The location of the DHCP server configuration file depends on the operating system type.
Host Operating System | DHCP Server Configuration File Location |
---|---|
Windows Server 2008 R2, Windows Server 2012 R2, Windows 7, Windows 8, or Windows 10 | C:\ProgramData\VMware\vmnetdhcp.conf |
Linux | For the default host-only network: /etc/vmware/vmnet1/dhcp/dhcp.conf For the NAT network: /etc/vmware/vmnet8/dhcp/dhcp.conf |
On a Windows host system, you can change DHCP settings by using the virtual network editor. You do not need to edit the DHCP server configuration file.
On a Linux host system, you can use the virtual network editor to specify that a local DHCP service distributes IP addresses to virtual machines on the network. To change DHCP settings further, you must edit the DHCP server configuration file. Editing the DHCP server configuration file requires information that is best obtained directly from the DHCP server documentation. See the dhcpd(8) and dhcpd.conf(8) manual pages.