Bond-mode balance-alb

hidalgo

Renowned Member
Nov 11, 2016
62
0
71
58
I got a 3-node-cluster with ceph and a cluster network. 2 nodes have 4-port -NIC and I try to increase the bandwith by create bonds. I got 2 Netgear unmanaged switch linked as shown here

4F11DB69-C966-4E16-BF47-5EE8010C477E.JPG

Bond-mode round-robin works but I want to use balance-alb, because I hope to get more speed. When I configure phys1 and phys2 with balance-alb it works. As soon I add the 3rd node, my network goes down and I cannot find the cause.
Thanks for any help or hints.
 
Bond-mode round-robin works but I want to use balance-alb, because I hope to get more speed. When I configure phys1 and phys2 with balance-alb it works. As soon I add the 3rd node, my network goes down and I cannot find the cause.
Thanks for any help or hints.

Note that balance-alb has some prerequisites, see e.g. https://www.kernel.org/doc/Documentation/networking/bonding.txt

Especially the second one "Base driver support for setting the hardware address of a device while it is open" is not available for any NIC.

On the other hand I don't think that balance-alb is such a big advantage compared with balance-rr.
 
  • Like
Reactions: chrone
Remember that with bonds/LAG/LACP 1+1 != 2. Similarly 1+1+1+1 != 4. It chooses a link through an algorithm and uses the same link for a hash of same Src/Dst IP and ports.