VirtualBox

Ticket #13892 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Cant set promiscuous mode on more than 4 NICs

Reported by: fr6nco Owned by:
Priority: major 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

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

Change History

Changed 3 years ago by fr6nco

vbox log file

comment:1 Changed 3 years ago by frank

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 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

The fix is part of the VBox 4.3.24 release.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use