Skip to content

Instantly share code, notes, and snippets.

@tlesh989
Created January 11, 2023 18:28
Show Gist options
  • Save tlesh989/ab0fe2f77e46148428aa54a530915e3c to your computer and use it in GitHub Desktop.
Save tlesh989/ab0fe2f77e46148428aa54a530915e3c to your computer and use it in GitHub Desktop.
Ubuntu 22.04 Netplan
network:
version: 2
ethernets:
eno1: {}
eno2: {}
enp5s0f0: {}
enp5s0f1: {}
bonds:
bond0:
addresses:
- 192.168.233.5/24
- 192.168.233.10/24
- 192.168.233.11/24
- 192.168.233.12/24
- 192.168.233.13/24
- 192.168.233.14/24
interfaces:
- eno1
- eno2
- enp5s0f0
- enp5s0f1
nameservers:
addresses:
- 192.168.233.1
- 45.90.28.110
- 45.90.30.110
search:
- local
parameters:
mode: 802.3ad
lacp-rate: slow
transmit-hash-policy: layer2
routes:
- to: default
via: 192.168.233.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment