EtherChannel: Cisco-proprietary hash algorithm

Aug 19, 2008 4 Replies
EtherChannel: Cisco-proprietary hash algorithm open original image

Hello folks



I have been implementing an EtherChannel on my 3750E switches based on source/destination IP address hashing. I have found documents that explain the hashing algorithm for layer 2 load balancing based on source/destination MAC addresses. However, does someone know how the algorithm works for source/ destination IP address hashing? If so, could you explain how this works?


Thanks a lot!



Miguel


"Miguel Sanders" ha scritto nel messaggio news: snipped-for-privacy@d77g2000hsb.googlegroups.com...

Hi,

CEF Load Sharing algorythm maps destination prefixes to a maxiumum of 16 paths; an hash function then assign source-destination pairs to a particular path. You can have a look at the distribution using "sh ip cef internal"

There are actually three different algorithms available: the standard/old one, the "universal" and a "tunnel tuned" version. The Universal algorithm is seeded, so each router can have different hash results and the traffic is more evenly spread among the internetwork

Regards, Gabriele

messaggionews: snipped-for-privacy@d77g2000hsb.googlegroups.com...

That is interesting, but it is not related to the etherchannel load distribution algorithm.

formatting link
Section "Load Balancing and Forwarding Methods"

To the OP - if you can't find anything in the documentation and have support consider a TAC case. It is possible that cisco regard the algorithm as a trade secret and they may not be prepared to release it.

messaggionews: snipped-for-privacy@d77g2000hsb.googlegroups.com...

niet weergeven -

That's funny because they do give it for load balancing based on layer

2 data (MAC address).
formatting link
Nevertheless, it should be a simple operation since it has to be done very quick in the hardware. Any tips on this would be much appreciated.

this doc implies they use the same algorithm whether it is working on L2 or L3.

formatting link
However, does someone know how the algorithm works for source/

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required