VirtualBox - Bridge over internal and bridge interface

1

1

Hope you can help me with this.

I have setup like this.

Windows 7 Enterprise (64 bit) as a HOST running VirtualBox 4.2.4 Two virtual machines running LinuxMint 12 (64 bit). VM-1 with one network interface: internal (net1) BR-1 with two network interfaces: eth0, internal (net1) and eth1, bridged to ethernet adapter.

The idea is to let BR-1 act as a bridge for VM-1 to another host which will have a similar setup. This is a test-project so don‘t ask me why i‘m doing this.

On BR-1 I have created bridge over both of the interfaces (eth0 and eth1). My problem is that ip-frames are not passing through the bridge to the other host. The bridge is seeing all the mac-addresses but it seems that VirtualBox is not allowing traffic from eth0 (internal) to be forwarded to eth1 (bridge).

Has anyone tried this or have a opinion on this ?

sammi.is

Posted 2013-11-12T11:10:33.513

Reputation: 11

Maybe this is intentionally blocked? You're using "Internal Network" for a reason. You don't want traffic from an "Internal Network"-device seeping through to a physical device. (Well... you do, but that's the opposite of what the "Internal Network" is suppose to do :) – Rik – 2013-11-12T16:03:22.787

Yes that is true with "Internal Network" but I was not trying to go around that. Just to forward the traffic in a controlled way to the bridge interface.

I found what the reason was after some deep digging and using Wireshark to monitor the devices.

The bridge was working fine but the host was not forwarding the ip packets. So ping would never work between clients on different hosts.

The solution was to enable IP forwarding on the host (Windows 7). You have to change the registry to enabled that.

Now it works. :-) – sammi.is – 2013-11-12T18:59:50.297

No answers