VirtualBox

Opened 14 years ago

Closed 9 years ago

#5538 closed defect (obsolete)

Cannot assign specific mac address for bridged networking

Reported by: lat Owned by:
Component: GUI Version: VirtualBox 3.0.10
Keywords: Cc:
Guest type: other Host type: Mac OS X

Description

In our networking environment we all MAC addresses must be pre-registered before the computer can even get on the network. Hence I would very much like to specify a specific address in Settings / Network / Adapter 1 / Attached to: (Click on cog wheel) / Guest MAC Address. However it seems I cannot enter any text to the text widget. It appears I can just have VirtualBox assign another random address by clicking on the green cycle. I can change the setting by editing the XML file manually after creating the virtual machine, but it would be much simpler to just assign one my registered addresses in the GUI.

Change History (4)

comment:1 by Frank Mehnert, 14 years ago

Well, the GUI does some sanity checks before accepting a MAC address. The first byte must be a member of [0-9A-Fa-f], the second byte must be a member of [02468ACEace], the final 10 bytes must member of [0-9A-Fa-f].

comment:2 by lat, 14 years ago

There is something else fishy going on. Sometimes I can paste the value in. If I try to edit the value, it usually doesn't work - can't change the value in any way, no editing is even visible. If I click the recycle button, editing also won't work after that. Frequently when I paste in, it won't work either - value doesn't change. But sometimes, maybe one time out of ten, I can actually paste the MAC address straight in, and it's accepted. Occasionally restarting VirtualBox helps, I can paste it in immediately after typing a value, but not after that.

The address I am registering was actually generated by VirtualBox itself, so it should be fine. I just need to keep using a particular MAC address when I recreate the virtual machines. One particular address was 0800271576F6.

Maybe the validation is overzealous and can't handle me typing over the existing value? It probably should prevent clicking on "OK", not trying to prevent editing the value (if I understood you correctly).

comment:3 by Frank Mehnert, 14 years ago

Component: networkGUI

comment:4 by Frank Mehnert, 9 years ago

Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use