Opened 14 years ago

Closed 9 years ago

#6174 closed defect (obsolete)

Bridged network on 3.1.2 only works when eth0 provides 'media connect'

Reported by: madworm Owned by:
Component: network Version: VirtualBox 3.1.2
Keywords: bridged Cc:
Guest type: Windows Host type: other

Description (last modified by Frank Mehnert)

I used to work with a bridged setup going the complicated way with 'brctl' and a 'tap' interface some time ago.

On the host the bridge 'br0' got assigned an IP address e.g., the bridge member devices 'eth0' and 'tap0' both got as IP addresses. The VM was assigned an IP address in the same subnet as the host. This worked just fine regardless if the physical device 'eth0' was connected to a real switch or not (media connect). The bridge 'br0' essentially worked as a layer2 switch.

Trying to replicate this with 3.1.2 failed miserably at first. I couldn't ping both ways, firewall was off. As soon as 'eth0' is connected to a real switch, communication between the host and the VM works with the bridged setup. I then replaced the real switch by connecting 'eth0' to my printer (which supports auto MDX), and it still worked. My printer definitely doesn't work as a switch. Therefore I conclude that the VirtualBox bridge also works as a layer2 switch, but ONLY if the host interface 'eth0' provides 'media connect'. I'm not sure that makes sense.

version: 3.1.2 r56127 OS: openSUSE 11.2 (32bit)

Change History (1)

comment:1 by Frank Mehnert, 9 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use