Static networking (aka bridging) on Ubuntu 6.06 LTS
- Install bridge-utils
sudo apt-get install bridge-utils - Edit /etc/network/interfaces:
auto br0
iface br0 inet dhcp
bridge_ports eth0 - Restart networking
/etc/init.d/networking restart - Create a new vbox networking interface. Replace “username” with the name of the user starting the virtual machine, and vbox0 with vbox1, vbox2, etc. if creating several interfaces:
sudo VBoxAddIf vbox0 username br0 - Add the virtual networking device to the virtual machine:
VBoxManage modifyvm "vm name" -hostifdev1 vbox0 - Change permissions of the following device:
crw-rw---- 1 root vboxusers 10, 200 2007-10-18 18:27 /dev/net/tun