Changing the MAC address of the VirtualBox Host-Only Adapter

Discussions related to using VirtualBox on Windows hosts.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Changing the MAC address of the VirtualBox Host-Only Adapter

Post by mpack »

BigCharIie wrote:Sorry, 5 day 5 post limit for new accounts here.
I'm not aware of any such limit, in fact I'm quite certain that no such limit exists.

Changing the MAC address of a network service is a non sequiter. The dialog for changing the Host Only IP address, on the other hand, is easily found in preferences, though I've never needed to try it myself.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Changing the MAC address of the VirtualBox Host-Only Adapter

Post by Perryg »

Did you read the posts above yours? It has the solution.
BigChar1ie
Posts: 1
Joined: 13. Apr 2016, 13:57

Re: Changing the MAC address of the VirtualBox Host-Only Adapter

Post by BigChar1ie »

h3.ggpht dot com/-_8-xK7b_9ak/UmbYUQczP5I/AAAAAAAACXQ/EGQy9CxH5m8/image%25255B13%25255D.png?imgmax=800
i.imgur dot com/Oqz5aUh.png
This is the adapter I'm referring to, unfortunately there's no advanced tab with network settings like other adapters have. It seems some people have gotten this adapter to work by adding the registry key of "MAC" or "NetworkAddress" wwith the 48bit MAC and it take effect.
Perryg wrote:Did you read the posts above yours? It has the solution.
It does not seem to work, I have tried on multiple computers with a few reinstalls. :(

Also, " Open your registry (start-->run-->regedit) and search for 08xxxxxxxxxx (without hyphen), " on that part of the solution, I can not find any of my MAC address within the registry because it is not there, but I can go to the HKLM area where the network adapters are and find the VB adapter.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Changing the MAC address of the VirtualBox Host-Only Adapter

Post by Perryg »

Post the screens shot here by using the upload attachment below your reply window.

Also the guest must be shut down and not saved state.
JasonS007
Posts: 1
Joined: 11. Oct 2016, 18:33

Re: Changing the MAC address of the VirtualBox Host-Only Adapter

Post by JasonS007 »

I found a bit more info, but no solution yet.

On my computer, using VirtualBox Manager v5.1.6 r110634, the Host-Only MAC address is stored as REG_BINARY data at the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a11-9b1a-11d4-9123-0050047759bc}\10\0000000f00000600

Regedit doesn't allow searching for binary data. To work around this limitation, I exported the all data from HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet to a C:\CurrentControlSet.reg file, then opened that file in a text editor and searched for a subset of the MAC address.

The MAC address I was searching for was: 0A-00-27-00-00-12.

I searched for a subset of this MAC address in the binary data: 0a,00,27

Code: Select all

    6f,6e,69,63,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,06,00,0a,00,27,\
    00,00,12,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
    00,00,00,00,06,00,0a,00,27,00,00,12,00,00,00,00,00,00,00,00,00,00,00,00,00,\
    00,00,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,\
I tried editing this MAC address in the Binary data, and rebooting. But the MAC address did not change.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Changing the MAC address of the VirtualBox Host-Only Adapter

Post by socratis »

Can somebody explain to me the meaning of this exercise? What's the purpose of changing the HostOnly address of the host adapter? In details if you don't mind...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply