Guest bridged adapter using Host MAC Address

Discussions related to using VirtualBox on Mac OS X hosts.
rusl
Posts: 13
Joined: 7. Mar 2008, 09:53
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: windoze, (various)buntu
Location: vancouver, bc

Re: Guest bridged adapter using Host MAC Address

Post by rusl »

I'm also having the exact same issue and wondering if anyone came up with any solution? Trying to run Ubuntu 12.04 guest inside of OSX 10.7

Thanks
Adam_M
Posts: 8
Joined: 21. Oct 2014, 01:33

Re: Guest bridged adapter using Host MAC Address

Post by Adam_M »

I'm having the same problem.
My router sees traffic from my VM with Host mac...
Was this ever resolved?

VM is bridged on hosts WIFI
Promiscuous mode is denied
delitescere
Posts: 1
Joined: 17. Dec 2014, 06:20

Re: Guest bridged adapter using Host MAC Address

Post by delitescere »

Ditto :(
riramar
Posts: 5
Joined: 1. Sep 2010, 17:40
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows/Linux
Contact:

Re: Guest bridged adapter using Host MAC Address

Post by riramar »

Found the answer.

https://www.virtualbox.org/manual/ch06. ... rk_bridged
Note
Bridging to a wireless interface is done differently from bridging to a wired interface, because most wireless adapters do not support promiscuous mode. All traffic has to use the MAC address of the host's wireless adapter, and therefore VirtualBox needs to replace the source MAC address in the Ethernet header of an outgoing packet to make sure the reply will be sent to the host interface. When VirtualBox sees an incoming packet with a destination IP address that belongs to one of the virtual machine adapters it replaces the destination MAC address in the Ethernet header with the VM adapter's MAC address and passes it on. VirtualBox examines ARP and DHCP packets in order to learn the IP addresses of virtual machines.
Thanks!
Ricardo
bogoid
Posts: 1
Joined: 2. Apr 2019, 22:31

Re: Guest bridged adapter using Host MAC Address

Post by bogoid »

I realize this is a very old thread. But it seemed a good match to my problem.

Host: MacBook Pro, macOS 10.14.3, VirtualBox 6.0.4 r128413 (Qt5.6.3, mac address 3c:15:c2:dc:6f:02, ip 192.168.192.76 (from dhcp reservation)
VM: Win7, Bridged Adapter, en0: Wi-Fi (AirPort), Intel PRO/1000 MT Server (82545EM), Promiscuous deny, mac address 08:00:27:18:2d:fd, ip 192.168.192.80 (from dhcp reservation)

When from another machine on the subnet I ping or ssh the VM, arp tells me that the VM is using the host mac address.
192.168.192.76 ether 3c:15:c2:dc:6f:02 C enp2s0
192.168.192.80 ether 3c:15:c2:dc:6f:02 C enp2s0

Similar setup with another Mac, but using cat5, it gets the VM's mac address, as does when it's a Linux host on cat5.

If I use arp on this other machine to force the VM's IP to map to the VM's mac address, there is no reply.

This is mostly harmless, EXCEPT...

Google WiFi won't port forward. I'm guessing that it's because its port forward mechanism synthesizes packets with the VM's mac address and the VM's ip. I don't know what Google WiFi does to figure out the VM's mac address.
socratis
Site Moderator
Posts: 27330
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: Guest bridged adapter using Host MAC Address

Post by socratis »

I'm sorry, but why doesn't the quoted passage from the User Manual, on the post right above yours, cover your situation?
bogoid wrote:Google WiFi won't port forward. I'm guessing that it's because its port forward mechanism synthesizes packets with the VM's mac address and the VM's ip. I don't know what Google WiFi does to figure out the VM's mac address.
Are we talking about this https://store.google.com/us/product/google_wifi? Yeah, I don't know either what that thing does or how it does it. And why should we? There are a gazillion of routers out there, and not all are the same. Some combinations of Routers/Access Points, WLAN cards and drivers work, some don't. See: Bridging & Wifi - Supported hardware and add your experience.

I still haven't figured out how this affects you in RealLife™, could you explain the issue at hand a little bit?
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