Page 1 of 1

Starting vbox bridging on startup

Posted: 14. May 2008, 12:48
by DeanoUk
Hi all.

The 'permanent host interface' called vbox0 etc which is created via:

Code: Select all

sudo VBoxAddIF vbox0 <user> br0
Doesn't seem to be valid on a reboot. I've tried adding a script to do this manually within rc5.d e.g.

Code: Select all

#!/bin/sh
echo Starting vbox IP bonding.
VBoxAddIF vbox0 root br0
VBoxAddIF vbox1 root br1
echo Finished vbox IP bonding.
But they still don't come up on a reboot.

Is there a better way of doing it? Or can anyone suggest why the script isn't being called on boot, from rc5.d

Re: Starting vbox bridging on startup

Posted: 15. May 2008, 06:10
by gagarobu
DeanoUk wrote:Hi all.

The 'permanent host interface' called vbox0 etc which is created via:

Code: Select all

sudo VBoxAddIF vbox0 <user> br0
Doesn't seem to be valid on a reboot. I've tried adding a script to do this manually within rc5.d e.g.

Code: Select all

#!/bin/sh
echo Starting vbox IP bonding.
VBoxAddIF vbox0 root br0
VBoxAddIF vbox1 root br1
echo Finished vbox IP bonding.
But they still don't come up on a reboot.

Is there a better way of doing it? Or can anyone suggest why the script isn't being called on boot, from rc5.d
edit this file:
/etc/network/interfaces

Code: Select all

auto lo
iface lo inet loopback
address 127.0.0.1

auto br0
iface br0 inet static
address 192.168.0.2
bridge_ports eth0

Posted: 15. May 2008, 08:50
by DeanoUk
The bridges come up on reboot, the vbox0, vbox1 etc bonds do not.