Skip to content

Instantly share code, notes, and snippets.

@jverdeyen
Created July 14, 2012 08:03
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 jverdeyen/3109983 to your computer and use it in GitHub Desktop.
Save jverdeyen/3109983 to your computer and use it in GitHub Desktop.
Ubuntu: network interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
metric 10
auto eth1
iface eth1 inet static
metric 20
address 192.168.99.xxx
netmask 255.255.255.0
network 192.168.99.0
broadcast 192.168.99.255
gateway 192.168.99.254
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment