cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
657
Views
0
Helpful
2
Replies

Etherchannel XOR Return Flow

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

2 Accepted Solutions

Accepted Solutions

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

View solution in original post

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.

View solution in original post

2 Replies 2

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

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.