VirtualBox

Opened 9 years ago

Closed 9 years ago

#13892 closed defect (fixed)

Cant set promiscuous mode on more than 4 NICs

Reported by: fr6nco Owned by:
Component: network Version: VirtualBox 4.3.22
Keywords: promiscuous mode, vboxmanage, allow-all Cc:
Guest type: Linux Host type: Linux

Description

Hi,

I needed to add more NICs to a ubuntu machine, but it allows only 4 via GUI, so remaining 4 I have added usin vboxmanage. However, it is not possible to set promiscuous mode on NIC indexed from 5-8.

I am attaching some outputs:

thomas@thomas-H61M-DS2:~$ vboxmanage showvminfo ubuntu_1204_ofsoftswitch | grep NIC
NIC 1:           MAC: 0800278F9460, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:           MAC: 080027C9DD67, Attachment: Bridged Interface 'eth0', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 3:           MAC: 0800279EDF14, Attachment: Internal Network 'client', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 4:           MAC: 08002760931A, Attachment: Internal Network 'origin', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 5:           MAC: 080027BA61DD, Attachment: Internal Network 'dns', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 6:           MAC: 080027877A08, Attachment: Internal Network 'sea', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 7:           MAC: 0800270A2F69, Attachment: Internal Network 'sr', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 8:           MAC: 08002738B38E, Attachment: Internal Network 'cdsm', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none

After I tried the following commands:

vboxmanage controlvm ubuntu_1204_ofsoftswitch nicpromisc5 allow-all

and

vboxmanage controlvm ubuntu_1204_ofsoftswitch nicproperty5 promiscuousModePolicy='allow-all'

but the result remained the same...

Expected result: NIC 5 is set to Promisc Policy - allow-all
Actual result: NIC 5 remained in promisc policy - deny

Attachments (1)

VBox.log (140.5 KB ) - added by fr6nco 9 years ago.
vbox log file

Download all attachments as: .zip

Change History (3)

by fr6nco, 9 years ago

Attachment: VBox.log added

vbox log file

comment:1 by Frank Mehnert, 9 years ago

Actually what you observe is that the promisc settings done with 'VBoxManage controlvm' are not permanently saved. Which is most likely a bug. 'VBoxManage modifyvm' will store the setting permanently. 'controlvm' is for a running VM while 'modifyvm' is for a VM which is currently not running.

comment:2 by Frank Mehnert, 9 years ago

Resolution: fixed
Status: newclosed

The fix is part of the VBox 4.3.24 release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use