The VirtualBox GUI allows you to create 4 interfaces in maximum. In order to create another four interfaces, you need to have the following commands:
Create another 7 interfaces
VBoxManage modifyvm R4 --nic5 intnet
VBoxManage modifyvm R4 --nic6 intnet
VBoxManage modifyvm R4 --nic7 intnet
VBoxManage modifyvm R4 --nic8 intnet
複製代碼
where R4 is the vm name. If the vm name has space in between, then you have to use "", for example "RouterOS 1". "intnet" is the name of "internal network". The internal network may be thought as a hub which connect each device. In general, there are only two device connected to this internal network. This internal network may become a Ethernet cable connecting the two devices.