VB networking on MACOSX

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
brownbytes
Posts: 3
Joined: 12. Jun 2014, 04:06

VB networking on MACOSX

Post 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
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: VB networking on MACOSX

Post 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?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
brownbytes
Posts: 3
Joined: 12. Jun 2014, 04:06

Re: VB networking on MACOSX

Post by brownbytes »

nope.

I dont see the packets on switch interfaces.
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: VB networking on MACOSX

Post 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.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
brownbytes
Posts: 3
Joined: 12. Jun 2014, 04:06

Re: VB networking on MACOSX

Post 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
Post Reply