Skip to content

Instantly share code, notes, and snippets.

@MikeVelazcoMtz
Created July 27, 2015 23:46
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 MikeVelazcoMtz/c25715b6de5a63abd613 to your computer and use it in GitHub Desktop.
Save MikeVelazcoMtz/c25715b6de5a63abd613 to your computer and use it in GitHub Desktop.
Linux Interfaces file (WORKING)
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#auto eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.1.203
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
dns-nameservers 192.168.1.203
# The secondary network interface
auto eth1
iface eth1 inet dhcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment