Skip to content

Instantly share code, notes, and snippets.

@takipone
Created May 24, 2012 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save takipone/2779279 to your computer and use it in GitHub Desktop.
Save takipone/2779279 to your computer and use it in GitHub Desktop.
Debian/Ubuntu /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address IP_ADDR
netmask NETMASK
gateway DEFAULT_GATEWAY
dns-nameservers DNS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment