Ticket #10778 (closed defect: fixed)
Unable to enter an odd value in the second character position of the Mac Address assignment field
|Reported by:||whytigr||Owned by:|
|Version:||VirtualBox 4.1.18||Keywords:||MAC Network|
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.
- Install Micro$oft Windows 7 Ultimate 64-bit (probably affects all windows versions though).
- 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:
- Create a new VM (or modify a pre-existing VM)
- Highlight the VM in the list and click the "Settings" button (or right-click the desired VM and choose "Settings" from the menu)
- Click "Network" from the side bar
- Click the "Advanced" Tree expander (take notice of the very ugly shift of the entire contents to the right -- likely another bug)
- 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)