Skip to content

Instantly share code, notes, and snippets.

@itochan
Created June 23, 2013 12:06
Show Gist options
  • Save itochan/5844792 to your computer and use it in GitHub Desktop.
Save itochan/5844792 to your computer and use it in GitHub Desktop.
# 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 em1
iface em1 inet static
address 192.168.1.11
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.0.1
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 192.168.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment