#!/bin/bash # install bridge utils apt-get install bridge-utils # create bridge cat <<EOF>> /etc/network/interfaces auto br0 iface br0 inet dhcp bridge_ports eth0 bridge_fd 2.5 EOF # restart network /etc/init.d/networking restart # create an interface for a user VBoxAddIF vbox0 $USERNAME br0 # Links # http://wiki.ubuntuusers.de/VirtualBox # http://wiki.debian.org/VirtualBox
Do you like this page? Then support it. Please click the AD below and visit the sponsor. Thank you!