01-20-2016 07:07 AM - edited 03-08-2019 03:28 AM
Hi all,
In an etherchannel with 2 links between 2 switches and load balancing by source MAC, I understand that when a frame is coming from PC Z connected to switch A and going to PC X connected to switch B, XOR algorithm will choose always the same link (let's say the first link).
Z---A===B---X
Does the instant reply from PC X to PC Z will take this first link too (because Port-channel on switch B knows the link where PC Z is coming from), or does Port-channel on switch B will execute always XOR algorithm ?
Thanks
Stephane
Solved! Go to Solution.
01-20-2016 07:46 AM
Switch X doesn't care about the link where the frame came from. Each switch calculates completely independently which link to use. And both switches can use different algorithms. For example you could configure switch A to use the source-MAC, but switch B to use the IP-adresses.
Here is a document with more info on how switches choose the link to send the traffic:
http://www.cisco.com/c/en/us/support/docs/lan-switching/etherchannel/12023-4.html
01-20-2016 08:26 AM
Disclaimer
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 wha2tsoever (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.
Posting
Karsten has already answered, but to additionally confirm:
because Port-channel on switch B knows the link where PC Z is coming from
no
Port-channel on switch B will execute always XOR algorithm
yes.
01-20-2016 07:46 AM
Switch X doesn't care about the link where the frame came from. Each switch calculates completely independently which link to use. And both switches can use different algorithms. For example you could configure switch A to use the source-MAC, but switch B to use the IP-adresses.
Here is a document with more info on how switches choose the link to send the traffic:
http://www.cisco.com/c/en/us/support/docs/lan-switching/etherchannel/12023-4.html
01-20-2016 08:26 AM
Disclaimer
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 wha2tsoever (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.
Posting
Karsten has already answered, but to additionally confirm:
because Port-channel on switch B knows the link where PC Z is coming from
no
Port-channel on switch B will execute always XOR algorithm
yes.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide