Skip to content

Instantly share code, notes, and snippets.

@akora
Last active August 29, 2015 14:15
Show Gist options
  • Save akora/db27fa199f2c46875657 to your computer and use it in GitHub Desktop.
Save akora/db27fa199f2c46875657 to your computer and use it in GitHub Desktop.
Set up static IP address on Debian. Edit /etc/network/interfaces
auto lo
iface lo inet loopback
# IPv4 address
iface eth0 inet static
address 192.168.xxx.xxx
netmask 255.255.255.0
network 192.168.xxx.0
broadcast 192.168.1.255
gateway 192.168.xxx.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment