Skip to content

Instantly share code, notes, and snippets.

@mschlenker
Last active August 29, 2015 14:13
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 mschlenker/6d0047083a0fd9051f47 to your computer and use it in GitHub Desktop.
Save mschlenker/6d0047083a0fd9051f47 to your computer and use it in GitHub Desktop.
auto lo
iface lo inet loopback
auto eth0.101
auto eth0.102
# dhcp configuration
iface eth0.101 inet dhcp
# static ip configuration
iface eth0.102 inet static
address 192.168.1.23
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 8.8.8.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment