Skip to content

Instantly share code, notes, and snippets.

@BjoernT
Last active September 1, 2022 15:20
Show Gist options
  • Save BjoernT/a1babbd263e817053c9946f0d0702993 to your computer and use it in GitHub Desktop.
Save BjoernT/a1babbd263e817053c9946f0d0702993 to your computer and use it in GitHub Desktop.
netplan-config
network:
version: 2
ethernets:
eno4:
mtu: 1500
eno5:
mtu: 1500
bonds:
bond0:
interfaces: [eno5, eno6]
parameters:
mode: active-backup
dhcp4: false
mtu: 1500
bridges:
br-bond0:
dhcp4: false
mtu: 1500
interfaces:
- bond0
br-host:
dhcp4: false
mtu: 1500
interfaces:
- vlan2444
addresses: [ 10.24.52.11/22 ]
nameservers:
addresses: [ 1.1.1.1 ]
routes:
- to: 0.0.0.0/0
via: 10.24.52.1
metric: 500
br-mgmt:
dhcp4: false
mtu: 1500
interfaces:
- vlan2445
br-storage:
dhcp4: false
mtu: 9000
interfaces:
- vlan2447
br-repl:
dhcp4: false
mtu: 9000
interfaces:
- vlan2448
br-ovs:
dhcp4: false
mtu: 9000
interfaces:
- vlan2446
vlans:
vlan2444:
id: 2444
link: bond0
dhcp4: false
mtu: 1500
vlan2445:
id: 2445
link: bond0
dhcp4: false
mtu: 1500
vlan2446:
id: 2446
link: bond0
dhcp4: false
mtu: 9000
vlan2447:
id: 2447
link: bond0
dhcp4: false
mtu: 9000
vlan2448:
id: 2448
link: bond0
dhcp4: false
mtu: 9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment