Skip to content

Instantly share code, notes, and snippets.

@filevich
Created April 11, 2022 21:14
Show Gist options
  • Save filevich/3f94710ce89b18aa762abde7d3e824e5 to your computer and use it in GitHub Desktop.
Save filevich/3f94710ce89b18aa762abde7d3e824e5 to your computer and use it in GitHub Desktop.
linux guide
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
# replace enp1s0 with your link according to: `$ip -c link show`
auto enp1s0
iface enp1s0 inet static
address 192.168.1.8
netmask 255.255.255.0
gateway 192.168.1.1
dns-domain olidata
dns-nameservers 8.8.8.8 192.168.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment