Page 1 of 1

Trouble setting up more than 4 network adapters (XP Guest)

Posted: 30. Apr 2014, 14:07
by MaxPower
Hello all,

I've been trying to setup the 8 network adapters that VirtualBox is supposed to support, through the command line. I need them as bridged networks (because I use them to forward ports from a server installed in the VM).

So, the commands I've used go like this:

Code: Select all

VBoxManage modifyvm <myvmname> --nic5 bridged
VBoxManage modifyvm <myvmname> --bridgeadapter5 "Realtek PCIe GBE Family Controller"
VBoxManage modifyvm <myvmname> --nicpromisc5 allow-all
And so on for the other 3. I set them up as bridged, set the adapter name to my host network adapter name, and set promiscuous mode to allow all. They use the adapter PCnet-FAST III (Am79C973).
Checking with the showvminfo command, I get this:

Code: Select all

C:\Program Files>cd Oracle

C:\Program Files\Oracle>cd VirtualBox

C:\Program Files\Oracle\VirtualBox>VBoxManage showvminfo XP2
Name:            XP2
Groups:          /
Guest OS:        Windows XP (32 bit)
UUID:            b53a67f9-7fba-43a0-9f2c-a13e9f1249ab
Config file:     C:\Users\MyUserName\VirtualBox VMs\XP2\XP2.vbox
Snapshot folder: C:\Users\MyUserName\VirtualBox VMs\XP2\Snapshots
Log folder:      C:\Users\MyUserName\VirtualBox VMs\XP2\Logs
Hardware UUID:   b53a67f9-7fba-43a0-9f2c-a13e9f1249ab
Memory size:     256MB
Page Fusion:     off
VRAM size:       18MB
CPU exec cap:    40%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  1
PAE:             off
Long Mode:       off
Synthetic CPU:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          off
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
State:           running (since 2014-04-30T11:22:59.596000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0):            IDE
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
IDE (0, 0): E:\Programas\VirtualBox\Guindous XP.vdi (UUID: 70549b55-f222-4b47-be
78-52ba486e880d)
IDE (1, 0): Empty
NIC 1:           MAC: 08002780847C, Attachment: Bridged Interface 'Realtek PCIe
GBE Family Controller', Cable connected: on, Trace: off (file: none), Type: Am79
C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandw
idth group: none
NIC 2:           MAC: 080027B2180A, Attachment: Bridged Interface 'Realtek PCIe
GBE Family Controller', Cable connected: on, Trace: off (file: none), Type: Am79
C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandw
idth group: none
NIC 3:           MAC: 080027803511, Attachment: Bridged Interface 'Realtek PCIe
GBE Family Controller', Cable connected: on, Trace: off (file: none), Type: Am79
C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandw
idth group: none
NIC 4:           MAC: 080027DE9E9D, Attachment: Bridged Interface 'Realtek PCIe
GBE Family Controller', Cable connected: on, Trace: off (file: none), Type: Am79
C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandw
idth group: none
NIC 5:           MAC: 080027918504, Attachment: Bridged Interface 'Realtek PCIe
GBE Family Controller', Cable connected: on, Trace: off (file: none), Type: Am79
C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandw
idth group: none
NIC 6:           MAC: 08002719AAFC, Attachment: Bridged Interface 'Realtek PCIe
GBE Family Controller', Cable connected: off, Trace: off (file: none), Type: Am7
9C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Band
width group: none
NIC 7:           MAC: 08002739E2E1, Attachment: Bridged Interface 'Realtek PCIe
GBE Family Controller', Cable connected: off, Trace: off (file: none), Type: Am7
9C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Band
width group: none
NIC 8:           MAC: 0800277BD34B, Attachment: Bridged Interface 'Realtek PCIe
GBE Family Controller', Cable connected: off, Trace: off (file: none), Type: Am7
9C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Band
width group: none
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: DSOUND, Controller: AC97)
Clipboard Mode:  Bidirectional
Drag'n'drop Mode: Bidirectional
Session type:    GUI/Qt
Video mode:      1920x1002x16 at 0,0
VRDE:            disabled
USB:             enabled
EHCI:            disabled

USB Device Filters:

<none>

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Bandwidth groups:  <none>

Shared folders:  <none>

VRDE Connection:    not active
Clients so far:     0

Video capturing:    not active
Capture screens:    0
Capture file:       C:\Users\MyUserName\VirtualBox VMs\XP2\XP2.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Guest:

Configured memory balloon size:      0 MB
OS type:                             WindowsXP
Additions run level:                 3
Additions version:                   4.1.10 r76836


Guest Facilities:

Facility "VirtualBox Base Driver": active/running (last update: 2014/04/30 11:23
:09 UTC)
Facility "VirtualBox System Service": active/running (last update: 2014/04/30 11
:23:15 UTC)
Facility "VirtualBox Desktop Integration": active/running (last update: 2014/04/
30 11:23:25 UTC)
Facility "Seamless Mode": active/running (last update: 2014/04/30 11:23:09 UTC)
Facility "Graphics Mode": active/running (last update: 2014/04/30 11:23:09 UTC)
So all of the adapters have the exact same configuration, except for the MAC addresses, which is all right.

But on opening the VM (which uses Windows XP), it seems unable to manage more than four network adapters at once. Whatever four adapters were the last to connect show an error icon and don't work.

So at this point, I don't know what else am I supposed to do. I don't find any info saying I should touch any more settings in VirtualBox, and I'm unsure if this is a VBox error or a Windows XP error.

Has anyone tried this? Any suggestions?

Many thanks in advance.

Re: Trouble setting up more than 4 network adapters (XP Gues

Posted: 30. Apr 2014, 16:11
by mpack
Are you certain that XP itself supports more than 4 network adapters? Or, there might be a chipset limitation, related to the number of virtual PCI slots.

Re: Trouble setting up more than 4 network adapters (XP Gues

Posted: 5. May 2014, 17:34
by MaxPower
I failed to find any official reference to a maximum number of nics supported by XP. However, I found this thread, where a user claims:
I've seen as many as eight working as a result of VMWare Workstation
being installed (they were virtual NICs). I expect it depends on your
selected hardware more than anything.
So technically what I'm trying should be viable.

I played around with the virtual hardware type a little bit, but they just wouldn't work. I'll keep on touching things up and see if I get any results.

Re: Trouble setting up more than 4 network adapters (XP Gues

Posted: 5. May 2014, 18:57
by mpack
If "playing around with the hardware type" means changing the chipset, then you can't do that after XP is installed. But yes, in general the default chipset chosen in the guest OS template is there for a reason, i.e. that the selected OS supports it.

Re: Trouble setting up more than 4 network adapters (XP Gues

Posted: 6. May 2014, 10:06
by MaxPower
mpack wrote:If "playing around with the hardware type" means changing the chipset, then you can't do that after XP is installed. But yes, in general the default chipset chosen in the guest OS template is there for a reason, i.e. that the selected OS supports it.
I'll try and create a new VM from scratch and see what hardware options I have. Maybe just with the clean install I'll surpass the problem.

Re: Trouble setting up more than 4 network adapters (XP Gues

Posted: 8. May 2014, 13:09
by MaxPower
UPDATE: It seems to work correctly in a Windows 7 guest, probably because it uses a different virtualized network card (Intel PRO/1000 MT Desktop).

Re: Trouble setting up more than 4 network adapters (XP Gues

Posted: 8. May 2014, 14:49
by mpack
I don't see why the choice of network card simulation would affect how many cards the guest OS or VM supports. The Win7 template uses a different chipset, I assume that is the actual solution, as I mentioned previously.

Re: Trouble setting up more than 4 network adapters (XP Gues

Posted: 8. May 2014, 16:32
by Martin
If I remember correctly someone mentioned a long time ago (and many Vbox versions earlier) that the Vbox pcnet32 code only allowed four cards because there were only four individual base addresses.

Re: Trouble setting up more than 4 network adapters (XP Gues

Posted: 8. May 2014, 17:09
by mpack
Meaning, I/O base address assigned to a card in a PCI slot? Yes, that sounds like a plausible chipset limitation.