D
D
Delsian2011-11-14 13:03:45
Computer networks
Delsian, 2011-11-14 13:03:45

Virtualbox - fifth adapter?

You can specify up to four adapters in the virtualbox settings. I am now setting up a test system on virtualbox and it became necessary to bridge five network cards inside. So far I've managed to get around this by simply using USB-to-Ethernet as one of the cards, but this is somehow crooked. Is it possible to somehow set the fifth network adapter in virtualbox? Googling hasn't yielded any results yet.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
coxx, 2011-11-14
@coxx

A VirtualBox virtual machine can have up to eight network adapters. For some reason, only four can be added via the GUI. Four more can be added using a command line utility, something like this (all in one line):
VBoxManage modifyvm vm --nic5 hostonly --nictype5 virtio --cableconnected5 on --hostonlyadapter5 "VirtualBox Host-Only Ethernet Adapter" --nic6 hostonly --nictype6 virtio --cableconnected6 on --hostonlyadapter6 "VirtualBox Host-Only Ethernet Adapter" --nic7 hostonly --nictype7 virtio --cableconnected7 on --hostonlyadapter7 "VirtualBox Host-Only Ethernet Adapter" --nic8 hostonly --nictype8 virtio --cableconnected8 on --hostonlyadapter8 "VirtualBox Host-Only Ethernet Adapter"
Where "VirtualBox Host-Only Ethernet Adapter" is the name of the interface on the host machine (in Windows they are so long called).

R
rPman, 2011-11-14
@rPman

The question has not been studied, but it seems that this limitation is built-in (and it is not enough to correct the constant in the sources), what about other virtual machines? kvm?
I can advise a simple solution - run another virtual machine exclusively for organizing a bridge, set one of the networks of this machine (and your first one) as an internal network.

Y
YourChief, 2011-11-14
@YourChief

and if you bridge the interfaces between each other on the host machine and transfer one interface inside? something for the program, maybe we will find more solutions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question