Skip to content

Instantly share code, notes, and snippets.

@icholy
Created July 9, 2013 17:46
Show Gist options
  • Save icholy/5959515 to your computer and use it in GitHub Desktop.
Save icholy/5959515 to your computer and use it in GitHub Desktop.
static ip config
# The primary network interface
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.7
netmask 255.255.0.0
network 192.168.1.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment