Skip to content

Instantly share code, notes, and snippets.

@sdoro
Created April 6, 2013 21:46
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save sdoro/5327746 to your computer and use it in GitHub Desktop.
Save sdoro/5327746 to your computer and use it in GitHub Desktop.
Howto add/remove in VirtualBox a fifth NIC (without GUI) in hostonly networking
VBoxManage modifyvm "vm" --hostonlyadapter5 vboxnetX
VBoxManage modifyvm "vm" --nic5 hostonly
VBoxManage modifyvm "vm" --nic5 none
@rmoyano
Copy link

rmoyano commented Sep 7, 2021

How do I create vboxnetx or list all the vboxnetX without GUI?

Create a new host-only if:
$ VBoxManage hostonlyif vboxnetXY

List host-only if's:
$ VBoxManage list hostonlyifs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment