This article provides the steps to modify the default DHCP settings for the vmnet1 (Host-only) and vmnet8 (NAT) network adapters.
For more information about these adapters, see Understanding networking types in VMware Fusion (1022264).
Caution: Do not modify the dhcp.conf file. Modify only the networking file, as detailed in this article.
Symptoms:
To modify the default DHCP settings for the vmnet1 (Host-only) and vmnet8 (NAT) network adapters:
sudo nano /Library/Preferences/VMware\ Fusion/networking
sudo nano /Library/Application\ Support/VMware\ Fusion/networking
NETMASK
and SUBNET
sections of the appropriate adapter(s), as required.boot.sh
script and to load the changes:sudo ./Macintosh HD/Library/Application\ Support/boot.sh --restart
Note: When using 4.x and above, do not use the boot.sh --restart command because it may result in unexpected behaviors. Instead, restart Fusion.
Note: VMware Fusion 6.x Professional, Fusion 7.x Pro and Fusion 8.x Pro includes a network editor that can be used to make the required changes.
To access the network editor:
Run the following commands in sequence to update the changes without restarting Fusion 4.x and later. These can be used if you do not want to relaunch Fusion(if you have other Virtual Machines running).
sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --configure
sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop
sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --start
Opening a command or shell prompt
Editing files on an ESX host using vi or nano
Understanding networking types in VMware Fusion