Skip to content

Instantly share code, notes, and snippets.

@Wrhector
Created April 23, 2022 12:04
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 Wrhector/5a9940780e87627fe5da49fe9b047d4b to your computer and use it in GitHub Desktop.
Save Wrhector/5a9940780e87627fe5da49fe9b047d4b to your computer and use it in GitHub Desktop.
network:
version: 2
ethernets:
enp24s0f0:
match:
macaddress: e0:d5:5e:c7:09:15
mtu: 1500
set-name: enp24s0f0
enp24s0f1:
match:
macaddress: e0:d5:5e:c7:09:16
mtu: 1500
set-name: enp24s0f1
vlans:
bond0.50:
addresses:
- xx.xx.xx.40/24
- xxxxxx::40/48
gateway4: xx.xx.xx.1
gateway6: xxx.xxx.xxx::1
id: 50
link: bond0
mtu: 1500
nameservers:
addresses:
- 10.84.80.81
- 10.84.80.82
- 10.84.16.72
- 10.84.16.71
- 10.84.16.73
search: &id001
- xxxxx
- xxxxx
bonds:
bond0:
addresses:
- 10.84.81.40/20
- fd00:10:84:80::81:40/64
interfaces:
- enp24s0f0
- enp24s0f1
macaddress: e0:d5:5e:c7:09:15
mtu: 1500
nameservers:
addresses:
- 10.84.80.81
- 10.84.80.82
search: *id001
parameters:
down-delay: 0
lacp-rate: fast
mii-monitor-interval: 100
mode: 802.3ad
transmit-hash-policy: layer3+4
up-delay: 0
routes:
- metric: 0
to: 10.84.16.0/20
via: 10.84.80.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment