Skip to content

Instantly share code, notes, and snippets.

@jedmund
Created January 24, 2012 22:44
Show Gist options
  • Save jedmund/1673201 to your computer and use it in GitHub Desktop.
Save jedmund/1673201 to your computer and use it in GitHub Desktop.
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
# Uncomment this and configure after the system has booted for the first time
auto eth0
iface eth0 inet static
address 173.203.211.76
netmask 255.255.255.0
gateway 173.203.211.1
dns-nameservers 72.3.128.240 72.3.128.241
auto eth1
iface eth1 inet static
address 10.177.146.83
netmask 255.255.224.0
up route add -net 10.176.0.0 netmask 255.248.0.0 gw 10.177.128.1
down route del -net 10.176.0.0 netmask 255.248.0.0 gw 10.177.128.1
up route add -net 10.191.192.0 netmask 255.255.192.0 gw 10.177.128.1
down route del -net 10.191.192.0 netmask 255.255.192.0 gw 10.177.128.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment