Created
February 25, 2017 19:44
-
-
Save stvhwrd/e1c118b3f0c8c9d79089b5a25d958a8e to your computer and use it in GitHub Desktop.
/etc/network/interfaces content for assigning a static ip to local machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# interfaces(5) file used by ifup(8) and ifdown(8) | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto enp0s25 | |
iface enp0s25 inet static | |
address 192.168.0.101 | |
netmask 255.255.255.0 | |
gateway 192.168.0.1 | |
dns-nameservers 8.8.4.4 8.8.8.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment