Skip to content

Instantly share code, notes, and snippets.

@kbeckmann
Created September 13, 2019 17:06
Show Gist options
  • Save kbeckmann/f6d2b6c0b0081065d2560b7c119e96a3 to your computer and use it in GitHub Desktop.
Save kbeckmann/f6d2b6c0b0081065d2560b7c119e96a3 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