-
-
Save sibosend/5d8cf9543f316e9dcd0592999a898f73 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 | |
VBoxManage modifyvm "vm" --hostonlyadapter6 vboxnetX | |
VBoxManage modifyvm "vm" --nic6 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
# Find the UUID of Network Interface or Connection | |
``` | |
nmcli connection show | |
NAME UUID TYPE DEVICE | |
virbr0 4e02750f-13d9-4662-bfc2-10f9ae1a71bd bridge virbr0 | |
Wired connection 1 09066de3-7eb7-4ee1-9059-c651b6dff7a6 802-3-ethernet -- | |
enp0s3 5144084b-0537-4e4b-9f15-065431bc6d38 802-3-ethernet -- | |
``` |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment