[vbox-dev] Maximum NIC number and SystemProperties.getMaxNetworkAdapters

Klaus Espenlaub klaus.espenlaub at oracle.com
Tue Aug 16 16:20:39 GMT 2011


On 16.08.2011 17:38, Olivier Cochard-Labbé wrote:
> Hi all,
>
> I'm trying to create a VM with more than 8 NIC.
>
> Referring to the API manual:
> "The total number of adapters per machine is defined by the
> ISystemProperties::getMaxNetworkAdapters property, so the maximum slot
> number is one less than that property's value"
>
> Because I'm using ChipsetType ICH9, a call to:
> $VIRTUALBOX.SystemProperties.getMaxNetworkAdapters($ChipsetType_ICH9)
> give me a result of 36 NIC… Great !
>
> But, when I'm trying to create more than 8 NIC:
> $ADAPTER=$SESSION.machine.getNetworkAdapter(8)
>
> I've got an error message:
> Argument slot is invalid (must be slot<  RT_ELEMENTS(mNetworkAdapters)) »
>
> How Can I configure more than 8 NIC ?

You can't. From what I can tell the implementation is very incomplete. 
There is a reason why the chipset type ICH9 is clearly marked as 
experimental in the documentation.

Klaus
>
> Thanks,
>
> Olivier
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev


-- 
Oracle <http://www.oracle.com>
Dr. Klaus Espenlaub | Snr. Manager Software Development Desktop
Virtualization
Phone: +49 7151 60405 205 <tel:+49715160405205>
Oracle VM VirtualBox

ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven

Green Oracle <http://www.oracle.com/commitment> 	Oracle is committed to
developing practices and products that help protect the environment





More information about the vbox-dev mailing list