Created
November 25, 2022 18:59
-
-
Save mhf-ir/0a3c1936ffd791ace8ed3f52e2488faa to your computer and use it in GitHub Desktop.
netplan samples
This file contains hidden or 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: | |
version: 2 | |
renderer: networkd | |
ethernets: | |
enp1s0: | |
routes: | |
- to: 0.0.0.0/0 | |
via: 172.31.1.1 | |
on-link: true | |
addresses: [ 5.5.5.5/32 ] | |
nameservers: | |
addresses: | |
- "1.1.1.1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment