VirtualBox

Ticket #5538 (new defect)

Opened 4 years ago

Last modified 4 years ago

Cannot assign specific mac address for bridged networking

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

comment:1 Changed 4 years ago by frank

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 Changed 4 years ago by lat

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

  • Component changed from network to GUI
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use