Skip to content

Instantly share code, notes, and snippets.

@DriesS
Created April 7, 2015 07:44
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 DriesS/6637c412e3a8ddd4f5ae to your computer and use it in GitHub Desktop.
Save DriesS/6637c412e3a8ddd4f5ae to your computer and use it in GitHub Desktop.
/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.1.2.3
netmask 255.255.255.0
gateway 10.1.2.1
auto eth0:1
iface eth0:1 inet static
address 169.254.242.10
netmask 255.255.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment