Hi,
Can anyone help me understand hast policy on LACP configurations?
https://www.kernel.org/doc/Documentation/networking/bonding.txt
Scenario i have to interface bonded to form a Port channel ether1 and ether2
Question 1: about layer 2 hash
Doest it mean let's say we have aa.aa.aa, bb.bb.bb and cc.cc.cc mac addresses
(Source aa.aa.aa to Destination cc.cc.cc) send to ether 1
(Source bb.bb.bb to Destination cc.cc.cc) send to ether 2
is my understanding correct?
Question 2: about layer 2+3 hash
*does all of this need to be satisfied before sending it to an interface?
*does layer 3 hash will not work on Layer 2 port channel? or it doesn't matter and still we be hash by the L2 port channel?
hash = source MAC XOR destination MAC XOR packet type ID
hash = hash XOR source IP XOR destination IP
hash = hash XOR (hash RSHIFT 16)
hash = hash XOR (hash RSHIFT 8)
And then hash is reduced modulo slave count.