How are the values for different policies in "xmit_hash_policy" bonding parameter calculated?

Solution Verified - Updated -


  • How are the values for different policies in xmit_hash_policy bonding parameter calculated?
  • We need to understand the practical implementation of the logic/math behind the load balancing algorithms.
  • How the algorithms are employed for each of the three policies layer2, layer2+3, layer3+4,encap2+3,encap3+4 and vlan+srcmac?
  • What formula is used to compute the Network bonding hashing policies?
  • What are the different hash policies in network bonding and how to configure it?


  • Red Hat Enterprise Linux
  • Bonding driver providing link aggregation in Mode 2 (balance-xor) or Mode 4 (802.3ad aka LACP) or Mode 5 (balance-tlb) or Mode 6 (balance-alb)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content