Skip to content

Instantly share code, notes, and snippets.

@Wrhector
Created April 23, 2022 12:05
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/b1194bf6c2ac4775e265faac940ff6e2 to your computer and use it in GitHub Desktop.
Save Wrhector/b1194bf6c2ac4775e265faac940ff6e2 to your computer and use it in GitHub Desktop.
network:
version: 2
ethernets:
enp2s0f0:
match:
macaddress: e0:d5:5e:1a:e2:57
mtu: 1500
set-name: enp2s0f0
enp2s0f1:
match:
macaddress: e0:d5:5e:1a:e2:58
mtu: 1500
set-name: enp2s0f1
ens2f0:
match:
macaddress: 1c:1b:0d:b2:0b:16
mtu: 1500
optional: true
set-name: ens2f0
ens2f1:
match:
macaddress: 1c:1b:0d:b2:0b:17
mtu: 1500
optional: true
set-name: ens2f1
vlans:
bond0.50:
addresses:
- xxxxx.31/24
- xxxxx:31/64
gateway4: xxxx.1
gateway6: xxxx::1
id: 50
link: bond0
mtu: 1500
nameservers:
addresses:
- 10.67.80.81
- 10.67.80.82
- 10.67.16.71
- 10.67.16.72
- 10.67.16.73
search: &id001
- xxxxx
- xxxxx
bonds:
bond0:
addresses:
- 10.67.81.31/20
- fd00:10:67:80::81:31/64
interfaces:
- enp2s0f0
- enp2s0f1
macaddress: e0:d5:5e:1a:e2:57
mtu: 1500
nameservers:
addresses:
- 10.67.80.81
- 10.67.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.67.16.0/20
via: 10.67.80.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment