Skip to content

Instantly share code, notes, and snippets.

@yesmeck
Created March 22, 2012 02:30
Show Gist options
  • Save yesmeck/2155232 to your computer and use it in GitHub Desktop.
Save yesmeck/2155232 to your computer and use it in GitHub Desktop.
Set up bridge network interface on VirtualBox
# /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual
# Bridge
auto br0
iface br0 inet static
address 192.168.0.118
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.247
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
sudo apt-get install uml-utilities bridge-utils
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment