Created
August 1, 2023 07:13
-
-
Save rojenzaman/c070842f8505c4279ef51815535961bb to your computer and use it in GitHub Desktop.
Ubuntu 22.04 (Server Edition) Static IP Configuration (Netplan)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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