You are not logged in.
Hi all,
I’m setting up Arch on an older rack server with two Intel NICs, eno1 and eno2. I want to bond them with LACP (802.3ad) using systemd-networkd. The switch ports are already set up as an LACP group.
For the bond device, I’m using mode 802.3ad with the layer3+4 transmit hash policy, a fast LACP transmit rate, and a 100ms MII monitor interval. Both NICs are matched in a single .network file that attaches them to bond0, and bond0 has its own .network file with a static IP, gateway, and DNS.
I haven’t rebooted with this yet, so I’d like a second pair of eyes before I do. Is layer3+4 a good hash policy for a file server, or should I use layer2+3? Do I need anything extra so the bond comes up reliably at boot, like changing the systemd-networkd-wait-online settings? Is there anything else people usually add to a bond like this?
Thanks!
Offline
Are you aware that a single UDP/TCP connection on a (XOR) LACP bond can never exceed the speed of a single network card?
A bond in "XOR" (balance-xor) mode uses packet header hashes to determine the interface.
Layer 3 and 4 (IP and UDP/TCP-Transport) are a good hash for a single connection (socket).
Layer 2 and 3 (Ethernet and IP) are a good hash for a single machine.
Packets with the same hash get routed via one specific Ethernet device on the bond.
I would write specific .network files for both cards.
Offline