Ticket #10778 (closed defect: fixed)

Opened 6 years ago

Last modified 3 years ago

Unable to enter an odd value in the second character position of the Mac Address assignment field

Reported by: whytigr Owned by:
Priority: major Component: network
Version: VirtualBox 4.1.18 Keywords: MAC Network
Cc: nalkat@… Guest type: all
Host type: Windows

Description (last modified by frank) (diff)

Physical Host OS: Windows 7 Ultimate SP1 64-bit/x64
VBox Version : Virtual Box 4.1.18 r78361

Description of Problem:

Attempts to enter an odd value into the second position of the custom MAC address field will not enter, resulting in the red error message: "The value of the Mac Address field on the Network page is not complete" Entering 222222222222 will work, but 212222222222 will not. Attempts to change the second value to an odd number after entering all twos will fail.

While this may not be a critical issue to most implementations, the inability to change the address to desired values completely defeats the purpose of the feature and should therefore be considered a severity value of at least 2 or at most 1.5 and should be hot-fixed ASAP. This would definitely impact certain applications of using Virtual Box to test network issues relating to MAC addresses which contain unassigned/spoofed/invalid values.

While I have not tested whether this exists solely in the Windows GUI or if it also fails through VBoxManage, but based on the problem, I would take a well-educated guess that the problem is simply an invalid input validation mask for the "Mac Address:" input field in the GUI.



  1. Install Micro$oft Windows 7 Ultimate 64-bit (probably affects all windows versions though).
  2. Install Virtual Box version 4.1.18 r78361 for Micro$oft Windows 7 64-bit (flavor likely has no bearing as the problem appears to be an invalid validation mask on the input field).

Steps to recreate:

  1. Create a new VM (or modify a pre-existing VM)
  2. Highlight the VM in the list and click the "Settings" button (or right-click the desired VM and choose "Settings" from the menu)
  3. Click "Network" from the side bar
  4. Click the "Advanced" Tree expander (take notice of the very ugly shift of the entire contents to the right -- likely another bug)
  5. Ignoring any other values, enter a valid hex digit 0-9A-F followed by an odd valued hex digit (1,3,5,7,9,b,d,f)

Change History

comment:1 Changed 6 years ago by frank

  • Description modified (diff)

comment:2 Changed 6 years ago by aleksey

Please take a closer look at the description of MAC address format (for example, here Addresses with odd second digit are multicast addresses. Only unicast addresses are allowed for VM adapters. Currently GUI silently disallows the input. We will revise the interface so it will give a clear indication that multicast addresses cannot be entered. Thanks for the report!

comment:3 Changed 3 years ago by vushakov

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use