Showing results for 
Search instead for 
Did you mean: 

load balncing




I have configured etherchannel(2 link bundled) between switch (2960 ) with load balnace metod souce-dst mac.

So how does the data get disturbed among the links.when above method is set.


In case of L3 switch it use XOR mechanism when set load balance method as src-dst -ip.




3 Replies 3

InayathUlla Sharieff
Cisco Employee
Cisco Employee

 Layer 2 packets are distributed on XOR computation of source and destination MAC address and Layer 3 packets based on XOR source and destination IP address.





*****Please do not forget to rate the post if the info is helpfull******


Could you please elaborate more for srd-dst mac by taking an example.

Joseph W. Doherty
Hall of Fame Master Hall of Fame Master
Hall of Fame Master


The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.


src-dst-mac uses both the frame's source and destination MACs for selecting a link.  src-dst-ip combine uses both the packet's source and destination IP for selecting a link.

As often one end is the same device, e.g. a gateway MAC or a local LAN host, using the combination of src-dst, often offers some variability to the hash.

Both generally "fail", when there are multiple flows between a pair of hosts.  For that situation, some devices can include L4 port numbering as part of the hash.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: