Search the VMware Knowledge Base (KB)
View by Article ID

Modifying the DHCP settings of vmnet1 and vmnet8 in Fusion (1026510)

  • 59 Ratings


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.


To modify the default DHCP settings for the vmnet1 (Host-only) and vmnet8 (NAT) network adapters:

  1. Shut down all virtual machines and quit Fusion.
  2. Open a Terminal window. For more information, see Opening a command or shell prompt (1003892).
  3. Run this command:

    In Fusion 4.x and above:

    sudo nano /Library/Preferences/VMware\ Fusion/networking

    In Fusion 3.x and earlier:

    sudo nano /Library/Application\ Support/VMware\ Fusion/networking

  4. When prompted for a password, enter the administrator user's password.

    Note: For security reasons, the password that you type is not displayed. You need not enter your password again for the next five minutes.

  5. Modify the NETMASK and SUBNET sections of the appropriate adapter(s), as required.
  6. Press Ctrl + X to exit.
  7. When prompted, press Y to save.
  8. In Fusion 4 and later, restarting Fusion restarts the networking service. In Fusion 3.x and earlier, run this command in Terminal to restart the script and to load the changes:

    sudo ./Macintosh HD/Library/Application\ Support/ --restart

Note: When using 4.x and above, do not use the --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:

  1. Click VMware Fusion in the menu bar.
  2. Click Preferences.
  3. Click Network.
  4. Click the + sign located at the bottom right to add a custom network connection.

Additional Information

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\ --configure
sudo /Applications/VMware\ --stop
sudo /Applications/VMware\ --start


network-hardware network-problem reconfigure-networking

See Also

Update History

10/09/2011 - Added information on restarting Fusion 4 networking. 01/19/2012 - Added note not to restart networking via script in Fusion 4 and fixed the script location for Fusion 3. 05/21/2014 - Added information on network editor in VMware Fusion 6.x Professional 11/08/2012 - Added 5.x info. Added some additional info. 08/25/2014 - Update for Fusion 7.x

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 59 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 59 Ratings