[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
howtos:misc:network_interace_bonding [2018/03/08 12:40 (UTC)] bifferoshowtos:misc:network_interace_bonding [2018/03/08 17:52 (UTC)] – Adding libterm info / alternative to bonding module lamerix
Line 14: Line 14:
 <code>modprobe bonding mode=balance-alb miimon=100</code> <code>modprobe bonding mode=balance-alb miimon=100</code>
  
-After that you need to set some IP address to the new bonding interface and bring it up+After that you need to set some IP address to the new bonding interface and bring is up
 <code> <code>
 ip addr add 10.1.1.2/16 dev bond0 ip addr add 10.1.1.2/16 dev bond0
Line 47: Line 47:
   * **balance-tlb or 5**  Adaptive transmit load balancing: channel bonding that,does not require any special switch support.In tlb_dynamic_lb=1 mode; the outgoing traffic is,distributed according to the current load (computed,relative to the speed)on each slave., In tlb_dynamic_lb=0 mode; the load balancing based on,current load is disabled and the load is distributed,only using the hash distribution.Incoming traffic is received by the current slave.,If the receiving slave fails, another slave takes over,the MAC address of the failed receiving slave.    * **balance-tlb or 5**  Adaptive transmit load balancing: channel bonding that,does not require any special switch support.In tlb_dynamic_lb=1 mode; the outgoing traffic is,distributed according to the current load (computed,relative to the speed)on each slave., In tlb_dynamic_lb=0 mode; the load balancing based on,current load is disabled and the load is distributed,only using the hash distribution.Incoming traffic is received by the current slave.,If the receiving slave fails, another slave takes over,the MAC address of the failed receiving slave. 
   * **balance-alb or 6**  Adaptive load balancing: includes balance-tlb plus,receive load balancing (rlb) for IPV4 traffic, and,does not require any special switch support.,The,receive load balancing is achieved by ARP negotiation.,The bonding driver intercepts the ARP Replies sent by,the local system on their way out and overwrites the,source hardware address with the unique hardware, address of one of the slaves in the bond such that,different peers use different hardware addresses for,the server.   * **balance-alb or 6**  Adaptive load balancing: includes balance-tlb plus,receive load balancing (rlb) for IPV4 traffic, and,does not require any special switch support.,The,receive load balancing is achieved by ARP negotiation.,The bonding driver intercepts the ARP Replies sent by,the local system on their way out and overwrites the,source hardware address with the unique hardware, address of one of the slaves in the bond such that,different peers use different hardware addresses for,the server.
 +
 +
 +====== Alternative methods ======
 +
 +libteam provides an alternative to bonding driver. The main difference is that Team driver kernel part contains only essential code and the rest of the code (link validation, LACP implementation, decision making, etc.) is run in userspace as a part of teamd daemon.
 +
 +More information can be found at: [[http://libteam.org/|libteam.org]]
  
 ====== Sources ====== ====== Sources ======
 howtos:misc:network_interace_bonding ()