Skip to content

Instantly share code, notes, and snippets.

@versatran01
Last active August 29, 2015 14:12
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 versatran01/9f42f24efa36b08f53d6 to your computer and use it in GitHub Desktop.
Save versatran01/9f42f24efa36b08f53d6 to your computer and use it in GitHub Desktop.
Network interfaces setup
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
# wireless
auto wlan0
iface wlan0 inet static
address 192.168.129.104
netmask 255.255.255.0
gateway 192.168.129.1
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
dns-nameservers 192.168.129.1
# ubnt
auto eth0
iface eth0 inet static
address 192.168.100.104
netmask 255.255.255.0
gateway 192.168.100.217
dns-nameservers 192.168.129.1 8.8.8.8
# other
auto eth2
iface eth2 inet static
address 192.168.0.104
netmask 255.255.255.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment