On OS X, 10.10, if I start a Vagrant based VirtualBox VM that is configured with a host only network adapter and then destroy that VM and attempt to re-create it with the VMware provider the vboxnet# adapter I used previously is still holding onto the static IP I have declared in the Vagrantfile. (the # at the end of vboxnet is an integer that can vary based on how many VM's have been spun up)

Without rebooting or uninstalling VirtualBox, how do I remove that vboxnet# virtual adapter? It doesn't get presented in the OS X network properties window.

  • By the way, uninstalling VirtualBox and Vagrant won't clean the list. So, the solutions below are the way to go. :)
    – Arvid
    Feb 20 '17 at 10:07

Open Virtualbox, click File -> Preferences -> Network -> Host-only Network, remove Vboxnet#


  • 4
    This is just a simple and working way to do it on Win7. You helped me, thanks.
    – Gondil
    Nov 5 '15 at 10:13
  • Sure enough, that looks like it would work. (Not sure how I missed that back when I originally posted the question; did they add this to the GUI between then and now?) Sep 2 '16 at 10:47
  • Even it worked in Fedora too
    – brg
    Sep 9 '16 at 8:25
  • 1
    This is now at File -> Host Network Manager
    – 13rac1
    Dec 28 '17 at 1:31
  • FYI, this showed nothing on my Mac running High Sierra. Nov 30 '18 at 0:57

Looks like the VBoxManage command line tool is how to do it. Couldn't find a way to do it from the GUI, but this seems to work:

VBoxManage hostonlyif remove vboxnet4

(replace the '4' accordingly, of course)

  • See above comment on how to do it via the GUI Sep 2 '16 at 10:47
  • This woirked for me on my Mac (High Sierra). In addition, you can list the networks with VBoxManage list hostonlyifs. Nov 30 '18 at 0:58
  • @EricSmalling It's possible that the GUI doesn't show a network, in which case this answer is more helpful Feb 5 '20 at 15:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.