Skip to content

Instantly share code, notes, and snippets.

@johndel
Created June 9, 2014 17:48
Show Gist options
  • Save johndel/5ec5555cd941055d95a8 to your computer and use it in GitHub Desktop.
Save johndel/5ec5555cd941055d95a8 to your computer and use it in GitHub Desktop.
Basic configuration for static ip
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.51
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 8.8.8.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment