-
-
Save infamousjoeg/5f3347c5443674425d735db2180d9e15 to your computer and use it in GitHub Desktop.
Debian/Ubuntu /etc/network/interfaces
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
auto lo | |
iface lo inet loopback | |
auto ens160 | |
iface ens160 inet static | |
address IP_ADDR | |
netmask NETMASK | |
gateway DEFAULT_GATEWAY | |
dns-nameservers DNS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ip addr flush ens160 && systemctl restart networking.service