Created
April 6, 2013 21:46
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VBoxManage modifyvm "vm" --hostonlyadapter5 vboxnetX | |
VBoxManage modifyvm "vm" --nic5 hostonly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VBoxManage modifyvm "vm" --nic5 none |
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
@marcelser
Listing your hosts network interfaces is done with:
In my case, I have 2 physical net-cards on my server (host) eth0 and eth1
Those are the ones I can attach a guest VM network interface to.
So, for example, I want to create a interface on guest vm-name attached to host nic eth0
Okay, now I want to create a second interface on guest vm-name attached to host nic eth1
And that's pretty much it 👍