Skip to content

Instantly share code, notes, and snippets.

@andreferraro
Created July 23, 2015 03:43
Show Gist options
  • Save andreferraro/3cce2c1a7567abeb85e7 to your computer and use it in GitHub Desktop.
Save andreferraro/3cce2c1a7567abeb85e7 to your computer and use it in GitHub Desktop.
/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 172.16.0.200
netmask 255.255.255.0
network 172.16.0.0
broadcast 172.16.0.255
gateway 172.16.0.1
dns-nameservers 172.16.0.200 8.8.8.8 8.8.4.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment