VirtualBox

Opened 12 years ago

Last modified 9 years ago

#10778 closed defect

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

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

Description (last modified by Frank Mehnert)

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.

Recreation/Validation:

Prerequisites:

  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 (1)

comment:1 by Frank Mehnert, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use