Skip to content

Instantly share code, notes, and snippets.

@gdarko
Created February 13, 2022 13:17
Show Gist options
  • Save gdarko/e466163f0f34b89a83111e55ef9f1001 to your computer and use it in GitHub Desktop.
Save gdarko/e466163f0f34b89a83111e55ef9f1001 to your computer and use it in GitHub Desktop.
# /etc/network/interfaces
# Loopback device:
auto lo
iface lo inet loopback
# device: ens18
auto ens18
iface ens18 inet static
address <additional IP>
netmask 255.255.255.255
pointopoint <gateway of the additional IP>
gateway <gateway of the additional IP>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment