[vbox-dev] Custom Bridge Interface

Klaus Espenlaub klaus.espenlaub at oracle.com
Tue Jan 13 17:26:25 GMT 2015


Ritesh,

On 13.01.2015 12:54, Ritesh Raj Sarraf wrote:
> Does VBox support attaching to a custom bridge interface in "Bridge
> Networking Mode" ??

What you're calling a "custom bridge interface" is simply a Linux bridge.

You can directly bridge in VBox to such a device. I know multiple users 
who use this successfully.

> I have a custom bridge configured on my host, to which I'd like VBox to
> attach the Guest VMs to. On that bridge, I have dhcp configured externally.
>
>
> My intent is to have 1 single bridge interface, to which I configure
> all: VBox, KVM (libvirt), LXC etc. And be able to have them all under
> that bridge's network subnet and talk to each other.
>
>
> The VBox guest VMs are initially able to work. They get a DHCP IP, and
> can ping to each other. But eventually, something in VBox crashes.

That it works initially means that the problem isn't related to bridging.

> [  756.958798] nspr-3[6988]: segfault at 8 ip 00007f0cbcbf285c sp
> 00007f0ca80b7670 error 4 in VBoxXPCOM.so[7f0cbcb9b000+fe000]

This is a crash in the xpcom middleware VBox uses for its API, and 
that's far, far away from the actual network functionality.

Which VBox build do you use? One from debian? Then install the matching 
debug info package(s), make sure that core dumps are enabled (hints see 
https://www.virtualbox.org/wiki/Core_dump ), and once you have a core 
you can use gdb to find out where things have crashed... postponing a 
detailed recipe to avoid wasting time if you know what to do.

> Please see Debian Bug report for more details:
> http://bugs.debian.org/775266

Helpful, but still not very detailed... no hint how the VM is configured.

Klaus




More information about the vbox-dev mailing list