Created
June 3, 2023 07:20
-
-
Save ethicnology/dd6d0cd795f4ef2abc0442a161e1678d to your computer and use it in GitHub Desktop.
Netplan two-port Ethernet link with round-robin fault tolerance and load balancing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# based on: https://www.hughesportal.com/blog.php?article=setup-network-bonding-using-netplan | |
network: | |
version: 2 | |
ethernets: | |
enp2s0f0: | |
dhcp4: no | |
dhcp6: no | |
enp2s0f1: | |
dhcp4: no | |
dhcp6: no | |
bonds: | |
bond0: | |
dhcp4: no | |
dhcp6: no | |
interfaces: | |
- enp2s0f0 | |
- enp2s0f1 | |
addresses: [192.168.1.140/24] | |
routes: | |
- to: default | |
via: 192.168.1.1 | |
nameservers: | |
addresses: [1.1.1.1, 9.9.9.9] | |
parameters: | |
mode: balance-rr | |
lacp-rate: fast | |
primary: enp2s0f0 | |
mii-monitor-interval: 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Still don't know why:
bond0: reverting custom parameters for bridges and bonds is not supported