Skip to content

Instantly share code, notes, and snippets.

@subzer0iq
Forked from kbeckmann/bond1.netdev
Created May 20, 2024 17:37
Show Gist options
  • Save subzer0iq/d1aa9abbed5eb3c8ed23fbaf29fdfb95 to your computer and use it in GitHub Desktop.
Save subzer0iq/d1aa9abbed5eb3c8ed23fbaf29fdfb95 to your computer and use it in GitHub Desktop.
LACP port trunking with systemd-networkd
[NetDev]
Name=bond1
Kind=bond
[Bond]
Mode=802.3ad
MIIMonitorSec=1s
LACPTransmitRate=fast
UpDelaySec=2s
DownDelaySec=8s
TransmitHashPolicy=layer3+4
[Match]
Name=bond1
[Network]
BindCarrier=enp57s0u1 enp0s20f0u2u1 enp0s20f0u1
DHCP=yes
[Match]
Name=enp0s20f0u1
[Network]
Bond=bond1
[Match]
Name=enp0s20f0u2u1
[Network]
Bond=bond1
[Match]
Name=enp57s0u1
[Network]
Bond=bond1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment