Skip to content

Instantly share code, notes, and snippets.

@firatkucuk
Last active August 29, 2015 13:56
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 firatkucuk/8790297 to your computer and use it in GitHub Desktop.
Save firatkucuk/8790297 to your computer and use it in GitHub Desktop.
Standard Linux Network Configuration
# sample /etc/network/interfaces file
# local network
auto lo
iface lo inet loopback
# Auto-start Network with Static IP
auto eth0
iface eth0 inet static
address 192.168.1.11
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 8.8.8.8
# Commented Auto-start Network with Dynamic IP
# auto eth1
# iface eth1 inet dhcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment