Skip to content

Instantly share code, notes, and snippets.

@shane-c
Last active November 29, 2020 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save shane-c/28afa426358406d59fbb to your computer and use it in GitHub Desktop.
Save shane-c/28afa426358406d59fbb to your computer and use it in GitHub Desktop.
template /etc/network/interfaces
# 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 em1
iface em1 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
auto p4p1
iface p4p1 inet manual
source /etc/network/interfaces.d/*.cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment