Equally Distribute Traffic Over Eth Trunk Interfaces

Created: Jul 4, 2019 11:10:38Latest reply: Jul 15, 2019 20:29:36 399 21 1 1
  Rewarded Hi-coins: 0 (problem resolved)

Hi, guys! Is it possible to equally distribute traffic over the Eth Trunk interfaces? I have an 2GE Eth Trunk, but while one 1GE interface usage is about 96.68%, the another is about 51%. I want something like 73.84% in each 1GE interface. I readed the documentation and tested almost everything, but in all cases it didn't do difference

I appreciate any help!

  • x
  • convention:

Featured Answers
Admin Created Jul 4, 2019 11:22:14 Helpful(1) Helpful(1)

@l2vc Hi,
did you modify the load balance mode ever before? which type of traffic is forwarded to the eth-trunk?
The default hash algorithm is based on per flow, in which scenario, the packets come from the same traffic flow will be hashed to the same link, if you want to load balance the traffic equally to the two links, you can modify the load balance hash algorithm based on per flow to per packets, in which the packets will be equally load balance on the two links. But in that mode, there may be a problem, it's not recommended to modify it to the mode based on per packet, because it will cause the packets arrive out of order.
  • x
  • convention:

All Answers
jason_hu Admin Created Jul 4, 2019 11:20:25 Helpful(0) Helpful(0)

Hi,An Eth-Trunk load balances incoming and outgoing traffic among multiple links and improves the bandwidth and connection reliability between two switches.Please refer to the specific configuration:https://support.huawei.com/hedex/hdx.do?docid=EDOC1000101619&id=dc_s_web_090041_2&text=Eth-Trunk%252520Interface&lang=en
  • x
  • convention:

ogh Created Jul 5, 2019 14:33:09
My friend, only one point: the load balance is only for outgoing traffic, you can not manipulate traffic transmitted by the other end  
chenhui Admin Created Jul 4, 2019 11:22:14 Helpful(1) Helpful(1)

@l2vc Hi,
did you modify the load balance mode ever before? which type of traffic is forwarded to the eth-trunk?
The default hash algorithm is based on per flow, in which scenario, the packets come from the same traffic flow will be hashed to the same link, if you want to load balance the traffic equally to the two links, you can modify the load balance hash algorithm based on per flow to per packets, in which the packets will be equally load balance on the two links. But in that mode, there may be a problem, it's not recommended to modify it to the mode based on per packet, because it will cause the packets arrive out of order.
  • x
  • convention:

l2vc Created Jul 4, 2019 13:15:14 Helpful(0) Helpful(0)

Posted by chenhui at 2019-07-04 11:22 @l2vc Hi,did you modify the load balance mode ever before? which type of traffic is forwarded to the ...
I'll try to modify the load balance mode to be based on packets and see what happens. With the configuration based on flow i'm already getting problems because the interface is getting overloaded and packts are beeing loss. Streaming services are the most affected.

But, one question: i'm using 5720-EI and 6720-EI switches, can they use load balance based on packts? If i'm not mistaken, the documentation says that they can only use load balance based on flow
  • x
  • convention:

Network%20Analyst%20at%20K2%20Telecom%2C%20Brazil
chenhui Admin Created Jul 5, 2019 02:03:47 Helpful(1) Helpful(1)

Posted by l2vc at 2019-07-04 13:15 I'll try to modify the load balance mode to be based on packets and see what happens. With the con ...
Hi,
please check this link: https://support.huawei.com/hedex/hdx.do?docid=EDOC1000101619&id=load-balance_system_view&text=%252525253Cb%252525253Eload%252525253C%252525252Fb%252525253E-%252525253Cb%252525253Ebalance%252525253C%252525252Fb%252525253E%2525252B%2525252528system%2525252Bview%2525252529&lang=en
Or you can adjust the load balance mode to enhanced profile, and add the appropriate parameters based on the traffic flow characteristics.
  • x
  • convention:

Argentym Created Jul 5, 2019 07:41:40 Helpful(1) Helpful(1)

https://support.huawei.com/hedex ... 52Fb%253E-profile

You can check this link.
Distribution of traffic depends on the hash made from your flow. Different hash will go to different interface.
So analyze your traffic and try to apply appropriate hashing algorithm that is based on source or destination that is different for flows.
e.g. source port is some random.

But not all of the switches models support such tuning.
  • x
  • convention:

l2vc Created Jul 5, 2019 13:25:25 Helpful(0) Helpful(0)

Posted by chenhui at 2019-07-05 02:03 Hi, please check this link: https://support.huawei.com/hedex/hdx.do?docid=EDOC1000101619&id=load-b ...
I configured load balance by packets but i didn't see any difference, traffic continued unbalanced

am i missing something?
  • x
  • convention:

l2vc Created Jul 5, 2019 13:41:45 Helpful(0) Helpful(0)

Posted by Argentym at 2019-07-05 07:41 https://support.huawei.com/hedex ... 52Fb%253E-profileYou can check this link.Distribution of traffi ...
I tried almost every parameters combination but traffic continued about 96% in one interface while the other stood at 51%

The most effective were src-mac and dst-mac. The other parameters made traffic pass throught only one interface, causing packets loss
  • x
  • convention:

ogh Created Jul 5, 2019 14:40:19 Helpful(1) Helpful(1)

You can try with the differents load balances modes availables inside the eth-trunk interfaces. For use the best for your scenario, first you need to think about traffic on your network, if there is more IP than MAC address, if there is a L3 point to point link, sources IP, because configuration will work better with parametters needed. For example, if you mainly have a proxy server usted by a lot of users to surf the web, before the eth-trunk, the best implementación will be load balance by dst-ip, because you mail y hace once source address, did you tet the point??
  • x
  • convention:

l2vc Created Jul 5, 2019 17:11:34 Helpful(0) Helpful(0)

Posted by ogh at 2019-07-05 14:40 You can try with the differents load balances modes availables inside the eth-trunk interfaces. For ...
Yep! Actually, in my scenario i'm having two flows: a 950 Mbps flow between two routers and a 500 Mbps flow between other two.

Router 192.168.0.2 is sending 500 Mpbs to router 192.168.0.1 and router 10.100.10.2 is sending 950 Mbps to router 10.100.10.1

What i'm seeing is that one flow is passing througth one interface while the other is passing througth the another. For example, if i stop the traffic between router 192.168.0.2 and router 192.168.0.1, one interface usage goes to 0%

I would like to distribute the traffic equally over the interfaces, improving bandwidth utilization
  • x
  • convention:

Network%20Analyst%20at%20K2%20Telecom%2C%20Brazil
123
Back to list

Reply

Reply
You need to log in to reply to the post Login | Register

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 " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top