Got it

Hash Algorithm service in LAG

Created: May 10, 2021 09:29:53Latest reply: Feb 3, 2022 14:09:12 322 6 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hi Friends,

I get confused that how Hash algorihm work in LAG service and how we can find each packet or frame pass from which links?
I appreciate that if you help me

Thanks

Featured Answers

Recommended answer

chenhui
Admin Created May 10, 2021 09:52:33

Hi,
Link aggregation distributes the traffic based on the src-dst-ip mode by default.
The device will hash the IP address of the source and destination with MOD 4(suppose there are four links bound to the eth-trunk), and the result will be 0, 1, 2, or 3. The device will forward the traffic to the eth-trunk member link according to the MOD result.
For more information, you can refer to https://support.huawei.com/hedex/hdx.do?docid=EDOC1100126530&id=EN-US_CLIREF_0177114614&lang=en
View more
  • x
  • convention:

All Answers
  • x
  • convention:

Hi,
Link aggregation distributes the traffic based on the src-dst-ip mode by default.
The device will hash the IP address of the source and destination with MOD 4(suppose there are four links bound to the eth-trunk), and the result will be 0, 1, 2, or 3. The device will forward the traffic to the eth-trunk member link according to the MOD result.
For more information, you can refer to https://support.huawei.com/hedex/hdx.do?docid=EDOC1100126530&id=EN-US_CLIREF_0177114614&lang=en
View more
  • x
  • convention:

Posted by chenhui at 2021-05-10 09:52 Hi,Link aggregation distributes the traffic based on the src-dst-ip mode by default.The device will ...
my question is, how device specify which packet pass which link ? to put it differently, device use which part of IP or MAC to distinguish the relevant interface ?
View more
  • x
  • convention:

Posted by chenhui at 2021-05-10 09:52 Hi,Link aggregation distributes the traffic based on the src-dst-ip mode by default.The device will ...
My question is, how device specify which packet pass which link ? to put it differently, device use which part of IP or MAC to distinguish the relevant interface ?
View more
  • x
  • convention:

Posted by SadeghSNF at 2021-05-10 11:05 My question is, how device specify which packet pass which link ? to put it differently, device us ...

As far as I know, all the parts will be used. And that is hash algorithm, maybe the R&D guys are the one know that.

hash


View more
  • x
  • convention:

GREAT
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.