Virtualbox supports up to eight network cards. If you look into the *.vbox
you will see that there are already preconfigured but disabled. Unfortunately inside the VBox GUI we could only configure up to four. I will show how to get and configure the other.
You have to use VBoxManage
to get the other network cards. After the option will always be the NIC Number count one to eight. Here I will use five and the name of the machine that will be configured is “network-test”.
When a Mode is set the NIC will be enabled.
VBoxManage modifyvm network-test --nic5 hostonly VBoxManage modifyvm network-test --hostonlyadapter5 "vboxnet0"
VBoxManage modifyvm network-test --nic5 bridged VBoxManage modifyvm network-test --bridgeadapter5 "eth1'
VBoxManage modifyvm network-test --nic5 nat
VBoxManage modifyvm network-test --nic5 intnet VBoxManage modifyvm network-test --intnet5 "test01"
VBoxManage modifyvm network-test --nicpromisc5 allow-all
VBoxManage modifyvm network-test --nictype5 82545EM
VBoxManage modifyvm network-test --cableconnected5 off
The help of VBoxManage
contains much more options than I've showed