Skip to content

Instantly share code, notes, and snippets.

@ryanbarrett
Last active December 22, 2015 10:09
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 ryanbarrett/6456457 to your computer and use it in GitHub Desktop.
Save ryanbarrett/6456457 to your computer and use it in GitHub Desktop.
Ubuntu /etc/network/interfaces with static IP
auto eth0
iface eth0 inet static
address 10.10.10.10
netmask 255.255.255.0
gateway 10.10.10.1
dns-nameservers 8.8.8.8 8.8.4.4
dns-search domain.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment