Hi,
Is it possible to get the host's mac address from within a Windows XP virtual machine?? My host is a Debian.
I truly belive not, I mean, it goes against everything I understand about virtual machines (wich is not that much xD).
Any help will be appreciated.
Access host's mac address from within a virtual machine?
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Access host's mac address from within a virtual machine?
There is no direct way to get the MAC address of a host NIC, because host NICs are not visible to the guest. The guest only sees its own (virtual) NICs, if you provided any, and these have their own MAC addresses.
-
jorgwel
- Posts: 6
- Joined: 21. Aug 2011, 01:26
- Primary OS: Linux other
- VBox Version: OSE Debian
- Guest OSses: Linux Debian, Windows XP
Re: Access host's mac address from within a virtual machine?
mpack,
Thanks for your answer,
I belive what you say, that's what I thought. But what do you mean with "direct way"? Is there another chance to get the host's mac adress from within a virtual machine?
Please kindly respond.
Thanks again.
Thanks for your answer,
I belive what you say, that's what I thought. But what do you mean with "direct way"? Is there another chance to get the host's mac adress from within a virtual machine?
Please kindly respond.
Thanks again.
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: Access host's mac address from within a virtual machine?
Here is a hint. How would you get the MAC address of another physical machine?
Bill
-
jorgwel
- Posts: 6
- Joined: 21. Aug 2011, 01:26
- Primary OS: Linux other
- VBox Version: OSE Debian
- Guest OSses: Linux Debian, Windows XP
Re: Access host's mac address from within a virtual machine?
Ok BillG, thanks for the hint.
I have to deny the access from my VM to the NIC of my host. Maybe selecting the "Not connected" mode for the VM will work.
That's what I was looking from the beginning.
The thing is that I'd really like to permit web navigation in my VM...but that belongs to another post.
Thanks mpack and Billg for your time.
I have to deny the access from my VM to the NIC of my host. Maybe selecting the "Not connected" mode for the VM will work.
That's what I was looking from the beginning.
The thing is that I'd really like to permit web navigation in my VM...but that belongs to another post.
Thanks mpack and Billg for your time.
-
smartysmart34
- Posts: 101
- Joined: 21. Apr 2008, 20:56
Re: Access host's mac address from within a virtual machine?
How about using bridged network-mode, pinging the host and reading the arp-cache?
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Access host's mac address from within a virtual machine?
Requires cooperation from the VBox user (by selecting bridged mode), and (assuming "ping" is shorthand for network discovery in general) you need the host network name, else all you discover is the MAC addresses of other PCs on the same network. I believe the OP is asking if the licensed software he wants to rip off could find out the hosts MAC address without his cooperation.smartysmart34 wrote:How about using bridged network-mode, pinging the host and reading the arp-cache?