Petteri,
Since you are doing complex labs, you may be interested in using all 8 adapters available in the EXOS VM.
Only the first 4 adapters can be managed throgh the GUI. The remaining 4 adapters (corresponding to ports 4 to 7 in the switch) must be configured using
vboxmanage.
Here's the list of commands needed to enable and configure these adapters:
- vboxmanage modifyvm --nicX bridged | intnet
(to definer adapter X as Bridged or Internal Network)
- vboxmanage modifyvm --intnetX
(to define the name of the internal network connected to adapter 😵
- vboxmanage modifyvm --nictypeX Am79C973
(to define the adapter’s nic type as PCnet-FAST III)
- vboxmanage modifyvm --nicpromiscX allow-all
(to configure adapter X promiscuous mode)
- vboxmanage modifyvm --cableconnectedX on |off
(to configure adapter X cable connected status)
- vboxmanage modifyvm --macaddressX
(to configure adapter X MAC address)
So, if you want to configure Adapter 5 of a VM named
sw1 so that it connects to link15 the commands would be:
vboxmanage modifyvm sw1 --nic5 intnet
vboxmanage modifyvm sw1 --intnet5 link15
vboxmanage modifyvm sw1 --nictype5 Am79C973
vboxmanage modifyvm sw1 --nicpromisc5 allow-all
vboxmanage modifyvm sw1 --cableconnected5 on
vboxmanage modifyvm sw1 --macaddress5 00:11:22:33:44:55:66
Additional adapters configured through the CLI will appear in the GUI, but you will not be able to configure them or view detailed information.
To get detailed information about these adapters you'll need to use
vboxmanage showvminfo
Vboxmanage is very useful if you plan to write scripts to automate tasks...