Skip to content

Instantly share code, notes, and snippets.

@matsubo
Last active November 7, 2021 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matsubo/7ade7936a81e84571c90e94f48ecb73e to your computer and use it in GitHub Desktop.
Save matsubo/7ade7936a81e84571c90e94f48ecb73e to your computer and use it in GitHub Desktop.
network:
version: 2
renderer: networkd
ethernets:
eno1:
addresses: [192.168.1.16/24]
nameservers:
addresses: [192.168.1.1, 8.8.8.8, 8.8.4.4]
optional: true
routes:
- to: 0.0.0.0/0
via: 192.168.1.1
metric: 200
eno2:
addresses: [192.168.1.17/24]
nameservers:
addresses: [192.168.1.1, 8.8.8.8, 8.8.4.4]
optional: true
routes:
- to: 0.0.0.0/0
via: 192.168.1.1
metric: 201
wlp8s0:
addresses: [192.168.1.18/24]
nameservers:
addresses: [192.168.1.1, 8.8.8.8, 8.8.4.4]
optional: true
routes:
- to: 0.0.0.0/0
via: 192.168.1.1
metric: 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment