Skip to content

Instantly share code, notes, and snippets.

@nickpegg
Last active August 29, 2015 14:05
Show Gist options
  • Save nickpegg/bec2cbdbd81df72d8eb6 to your computer and use it in GitHub Desktop.
Save nickpegg/bec2cbdbd81df72d8eb6 to your computer and use it in GitHub Desktop.
My router's /etc/network/interfaces file
auto lo
iface lo inet loopback
# outside
allow-hotplug eth0
iface eth0 inet dhcp
hwaddress ether AA:BB:CC:DD:EE:FF
dns-search home.nickpegg.com nickpegg.com
dns-nameservers 8.8.8.8 8.8.4.4
# inside
iface eth1 inet manual
iface wlan0 inet manual
auto br0
iface br0 inet static
address 10.0.0.1
netmask 255.255.255.0
bridge_ports eth1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment