Created
March 1, 2023 14:02
-
-
Save Max95Cohen/e204a749edaa86b9488e8ebc9c9d1e86 to your computer and use it in GitHub Desktop.
netplan config
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: | |
ethernets: | |
eno1: | |
addresses: | |
- 192.168.10.4/24 | |
dhcp4: no | |
routes: | |
- to: 192.168.10.0/24 | |
via: 192.168.10.1 | |
routing-policy: | |
- from: 192.168.10.0/24 | |
eno2: | |
addresses: | |
- 111.112.11.12/24 | |
dhcp4: no | |
routes: | |
- to: default | |
via: 111.112.11.10 | |
nameservers: | |
addresses: [1.1.1.1, 2.2.2.2] | |
version: 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment