Skip to content

Instantly share code, notes, and snippets.

/interface Secret

Created October 5, 2015 08:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f13a3e4a04856959170e to your computer and use it in GitHub Desktop.
Save anonymous/f13a3e4a04856959170e to your computer and use it in GitHub Desktop.
# 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
auto eth1
iface eth1 inet dhcp
#iface eth1 inet static
# address 192.168.56.101
# netmask 255.255.255.0
# network 192.168.56.0
# broadcast 192.168.56.255
auto tap0
iface tap0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0 tap0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment