Page 1 of 1

VB networking on MACOSX

Posted: 12. Jun 2014, 04:19
by brownbytes
Hello All,

I am currently running ubuntu VM on MAC OSX. I am trying to bridge multiple interfaces , but facing connectivity issues

set up:

Default router : 192.168.1.1

Physical machine:
MAC OS : eth0 (physical NIC) 192.168.1.115
MAC OS: eth5(USB<-> Ethernet) 192.168.1.116

VirtualBox:
eth0 -Bridged to MACOS-eth0
eth1-Bridged to MACOS-eth5
eth2-Host Only Adapter

VM:
eth0 192.168.1.117
eth1 removed IP (No IP)
eth2 192.168.56.102

Now, I am running another virtualised environment (VE) within the VM which comprises of a switch(sw1) and a host(h1).
I have binded switch(sw1)'s port to VM's eth1 (with help of internal function provided by VE), so I am imaging host(h1) is logically connected to the default router via the switch(sw1).

When I try to ping the Default router from the host(h1), though I see exchange of icmp requests and reply on physical machine, I fail to receive them in the host(h1).
Please note I have manually configured the arp table in host (h1) .

The same setup works perfect if eth1 is a NAT adapter and not a bridge adapter.

I understand without VE details replicating the issue is difficult, but any pointers as to where I can start looking would be very helpful. Also let me know if any further details are needed.
Thank You

Re: VB networking on MACOSX

Posted: 12. Jun 2014, 09:22
by noteirak
brownbytes wrote:When I try to ping the Default router from the host(h1), though I see exchange of icmp requests and reply on physical machine, I fail to receive them in the host(h1).
Do you see them in sw1?

Re: VB networking on MACOSX

Posted: 12. Jun 2014, 11:37
by brownbytes
nope.

I dont see the packets on switch interfaces.

Re: VB networking on MACOSX

Posted: 12. Jun 2014, 13:53
by noteirak
Configure the promiscious mode of the VM to "Allow all". Then you'll need to configure your other virtualised environment to do the same basically.

Re: VB networking on MACOSX

Posted: 12. Jun 2014, 14:30
by brownbytes
awesome!

thank you for that. I did try promiscuous mode earlier but allowed only vms. Allow all resolved the issue.

Thank you very much