Manually Add and Remove VMware Fusion Virtual Adapters

• Updated May 13, 2017

VMware Fusion exposes command line options that make it easy to add or remove virtual adapters manually.

In this post, I will be adding and removing virtual adapter vmnet7. A fresh install of VMware Fusion does not include this virtual adapter.

Manually Add VMware Fusion Virtual Adapter

The following commands will create vmnet7, a VMware Fusion host only virtual adapter assigned to network

sudo /Applications/VMware\ vnetcfgadd VNET_7_DHCP no
sudo /Applications/VMware\ vnetcfgadd VNET_7_HOSTONLY_SUBNET
sudo /Applications/VMware\ vnetcfgadd VNET_7_HOSTONLY_NETMASK
sudo /Applications/VMware\ vnetcfgadd VNET_7_VIRTUAL_ADAPTER yes

Restart VMware Fusion networking to apply the changes:

sudo /Applications/VMware\ --configure
sudo /Applications/VMware\ --stop
sudo /Applications/VMware\ --start

Perhaps you also want that network to route out to the internet via NAT. No problem, simply run the following command or include it with the other commands above:

sudo /Applications/VMware\ vnetcfgadd VNET_7_NAT yes

Once again, to apply the change, restart VMware Fusion networking with the three vmnet-cli commands above.

The vmnet-cfgcli command will modify entries in /Library/Preferences/VMware\ Fusion/networking. This file can also be edited by hand and any changes can be applied by restarting VMware Fusion networking with the three vmnet-cli commands above.

Manually Remove VMware Fusion Virtual Adapter

To remove the vmnet7 VMware Fusion virtual adapter, you can edit /Library/Preferences/VMware\ Fusion/networking, remove all lines containing VNET_7, and restart VMware Fusion networking, or you can use the following commands and then restart VMware Fusion networking:

sudo /Applications/VMware\ vnetcfgremove VNET_7_DHCP
sudo /Applications/VMware\ vnetcfgremove VNET_7_HOSTONLY_SUBNET
sudo /Applications/VMware\ vnetcfgremove VNET_7_HOSTONLY_NETMASK
sudo /Applications/VMware\ vnetcfgremove VNET_7_VIRTUAL_ADAPTER

If you configured vmnet7 to use NAT, also run the following command and then restart VMware Fusion networking:

sudo /Applications/VMware\ vnetcfgremove VNET_7_NAT


If you found this post useful, you can help support this site and get something for yourself by signing up for any of the services listed below through the provided links.

The following links are part of affiliate programs, and I will receive a referral payment from any of the services you sign-up for.

  • Get Faster Shipping: Perhaps you're about to order some stuff on Amazon but want to get more value out of the money you would normally pay for shipping. Sign-up for a free, 30-day trial of Amazon Prime to get free two-day shipping, access to thousands of movies and TV shows, and more.
  • Start Investing Now: Are you looking to start investing some of your disposable saved income? Get started by opening an account with Webull, where upon sign-up and opening a brokerage account with an initial deposit of at least $100 you will receive 1 stock valued (subject to change based on normal market movement) between $8 and $1600.

Thanks for reading and take care.