Guest bridged adapter using Host MAC Address

Discussions related to using VirtualBox on Mac OS X hosts.

Re: Guest bridged adapter using Host MAC Address

Postby rusl » 21. Nov 2012, 02:36

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
rusl
 
Posts: 13
Joined: 7. Mar 2008, 09:53
Location: vancouver, bc
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: windoze, (various)buntu

Re: Guest bridged adapter using Host MAC Address

Postby Adam_M » 20. Nov 2014, 11:43

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
Adam_M
 
Posts: 8
Joined: 21. Oct 2014, 01:33

Re: Guest bridged adapter using Host MAC Address

Postby delitescere » 17. Dec 2014, 06:21

Ditto :(
delitescere
 
Posts: 1
Joined: 17. Dec 2014, 06:20

Re: Guest bridged adapter using Host MAC Address

Postby riramar » 7. Feb 2016, 03:30

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
riramar
 
Posts: 5
Joined: 1. Sep 2010, 17:40
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows/Linux

Re: Guest bridged adapter using Host MAC Address

Postby bogoid » 2. Apr 2019, 22:57

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.
bogoid
 
Posts: 1
Joined: 2. Apr 2019, 22:31

Re: Guest bridged adapter using Host MAC Address

Postby socratis » 2. Apr 2019, 23:46

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?
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25224
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Previous

Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: No registered users and 7 guests