Page 1 of 2

how to change the "Physical Address" for virtualbox's MAC?

Posted: 26. Feb 2011, 07:53
by blackantt
the "Physical Address" will be changed after i re-setup the virtualbox everytime.
how to change the "Physical Address" to a constant value?
i.e. c:>ipconfig/all

Ethernet adapter VirtualBox Host-Only Network:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
Physical Address. . . . . . . . . : 08-00-27-00-B4-20

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 26. Feb 2011, 11:26
by BillG
What do you mean by "resetup VirtualBox". DO you mean reinstalling VirtualBox? Or do you mean setting up a new virtual machine?

If the latter, then I would expect the machine to have a different MAC address.

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 26. Feb 2011, 12:35
by mpack
The MAC address can be found and edited under the Advanced tab on the Network settings page. Of course the MAC address must be different from the hosts, as well as different from any other guests running at the same time. If the guests are not running at the same time on the same host then it can use the same MAC address - as most of my XP guests do.

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 26. Feb 2011, 12:53
by blackantt
mpack wrote:The MAC address can be found and edited under the Advanced tab on the Network settings page. Of course the MAC address must be different from the hosts, as well as different from any other guests running at the same time. If the guests are not running at the same time on the same host then it can use the same MAC address - as most of my XP guests do.

hi,mpack

the place you said does not exist the option of MAC. the tab of virtualbox is not same with the real network card.

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 26. Feb 2011, 13:05
by blackantt
because i need a constant MAC to active a software.but the MAC will be changed when i reinstall the virtualbox

and no tag of MAC for virtualbox
So,please give me a method.
v.gif
v.gif (46.78 KiB) Viewed 15233 times

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 26. Feb 2011, 19:12
by mpack
Why are you trying to change the MAC address of hardware on the host? I assume you actually need to set the MAC address for the guest, in which case the setting is where I said it was. No software on the host (outside of the Ethernet stack) is going to care what a driver on the host (VirtualBox Host-Only Ethernet Adapter) is using as a MAC address!

To be clear: VirtualBox Host-Only Ethernet Adapter, assuming you are using Host-Only network mode at all, is software which runs on the host and which acts as the host end of the comms link to a guest which is configured by you for host-only mode (not NAT or Bridged or any other network mode).

The setting I was referring to was the Advanced tab of the Network settings branch of the VM settings displayed by the VBox GUI. The host control panel plays no part in running your VM.

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 27. Feb 2011, 06:54
by blackantt
mpack wrote:Why are you trying to change the MAC address of hardware on the host? I assume you actually need to set the MAC address for the guest, in which case the setting is where I said it was. No software on the host (outside of the Ethernet stack) is going to care what a driver on the host (VirtualBox Host-Only Ethernet Adapter) is using as a MAC address!

To be clear: VirtualBox Host-Only Ethernet Adapter, assuming you are using Host-Only network mode at all, is software which runs on the host and which acts as the host end of the comms link to a guest which is configured by you for host-only mode (not NAT or Bridged or any other network mode).

The setting I was referring to was the Advanced tab of the Network settings branch of the VM settings displayed by the VBox GUI. The host control panel plays no part in running your VM.

because i need a constant MAC address of hardware on the host to active the other software.
but the MAC will be changed when i reinstall the virtualbox
help me!

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 27. Feb 2011, 12:55
by mpack
Sorry, I'm not sure that the Host Only adapter even has a MAC address (since it only needs to communicate with VBox), in any case you have not confirmed that you are using Host Only mode, and otherwise the faking of MAC addresses on host hardware is beyond the purview of this site. Here we're about building and using virtual PCs and controlling their features, not features of the host.

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 27. Feb 2011, 16:42
by Martin
He was asking about the MAC address of the "Virtualbox Host-Only Network Adapter" on the host.
This adapter is installed/created by Virtualbox, so it should be a relevant topic of this forum.

I did a quick search for "host-only" in the windows registry and found the adapter on my system under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0022
This entry has a key "MAC" which contains the MAC address.

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 27. Feb 2011, 20:27
by Sasquatch
But the question others have, is why does it need to be on the Host? What kind of ridiculous software is he using that uses the VB Host-Only adapter for it's registration.

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 27. Feb 2011, 20:29
by mpack
Martin wrote:He was asking about the MAC address of the "Virtualbox Host-Only Network Adapter" on the host.
Not really, or at least that isn't how I interpreted him. It sounded more like he wants to "change the MAC address of his host" (whatever that means), and somehow he has latched on to the VBox Host-Only adapter as something whose MAC address might be configurable. It isn't clear that he understands.... well quite a number of things really.

Your registry find is interesting tho. If that is indeed all he wants then good luck to him!

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 27. Feb 2011, 23:03
by Martin
There are many commercial software packages which try to have some copy protection by linking their license key to the physical hardware.
Some of them seem to just use all visible network adapter MAC addresses to create that key.

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 27. Feb 2011, 23:06
by Sasquatch
Martin wrote:There are many commercial software packages which try to have some copy protection by linking their license key to the physical hardware.
Some of them seem to just use all visible network adapter MAC addresses to create that key.
If you know one of your software packets do this, wouldn't you just remove the Host-Only interface from the config before installing/registering it to avoid this nonsense?

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 28. Feb 2011, 08:37
by blackantt
Sasquatch wrote:
Martin wrote:There are many commercial software packages which try to have some copy protection by linking their license key to the physical hardware.
Some of them seem to just use all visible network adapter MAC addresses to create that key.
If you know one of your software packets do this, wouldn't you just remove the Host-Only interface from the config before installing/registering it to avoid this nonsense?
Can i still use the virtualbox after i remove the Host-Only interface from the config?

let me try it .

thanks for above.

Re: how to change the "Physical Address" for virtualbox's MAC?

Posted: 28. Feb 2011, 12:02
by mpack
Martin wrote:There are many commercial software packages which try to have some copy protection by linking their license key to the physical hardware.
Some of them seem to just use all visible network adapter MAC addresses to create that key.
IMHO that should be a regarded as a bug in the said software - complain loudly to them about such intrusive protection features (particularly if they are not effective).