Skip to content

Instantly share code, notes, and snippets.

@slimymars
Created December 19, 2020 02:46
Show Gist options
  • Save slimymars/eac3b2944bcf1d010cecc4fa84bc2e96 to your computer and use it in GitHub Desktop.
Save slimymars/eac3b2944bcf1d010cecc4fa84bc2e96 to your computer and use it in GitHub Desktop.
/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp5s0f0
iface enp5s0f0 inet static
address 192.168.10.100/24
gateway 192.168.10.1
iface enp5s0f0 inet6 static
address 240d:1c:1:2000::100/64
iface enp5s0f0 inet static
address 192.168.10.101/24
gateway 192.168.10.1
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp5s0f0
iface enp5s0f0 inet static
address 192.168.10.100/24
gateway 192.168.10.1
iface enp5s0f0 inet static
address 192.168.10.101/24
gateway 192.168.10.1
iface enp5s0f0 inet6 static
address 240d:1c:1:2000::100/64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment