Skip to content

Instantly share code, notes, and snippets.

@tylerjohnst
Created May 5, 2010 15:05
Show Gist options
  • Save tylerjohnst/390900 to your computer and use it in GitHub Desktop.
Save tylerjohnst/390900 to your computer and use it in GitHub Desktop.

/etc/network/interfaces

auto lo
iface lo inet loopback

# WAN Interface
auto eth0
iface eth0 inet static
     address XXX.XXX.XXX.XXX
     netmask XXX.XXX.XXX.XXX
     gateway XXX.XXX.XXX.XXX

# LAN Interface
auto eth1
iface eth1 inet static
     address 192.168.50.1
     network 192.168.5.0
     netmask 255.255.255.0
     broadcast 192.168.50.255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment