Skip to content

Instantly share code, notes, and snippets.

@rojenzaman
Created August 1, 2023 07:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save rojenzaman/c070842f8505c4279ef51815535961bb to your computer and use it in GitHub Desktop.
Ubuntu 22.04 (Server Edition) Static IP Configuration (Netplan)
network:
renderer: networkd
ethernets:
eth0:
addresses:
- 192.168.1.2/24
nameservers:
addresses: [192.168.1.1,1.1.1.1,1.0.0.1]
routes:
- to: default
via: 192.168.1.1
version: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment