Got it

Any way to load balance two connection to upstream

Created: Jun 10, 2019 10:43:25Latest reply: Jun 16, 2019 05:14:50 461 7 0 0 0
  Rewarded HiCoins: 1 (problem resolved)

Hi,


We are currently connected to our upstream provider via BGP. Now we want to have a 2nd connection to the same upstream provider. Is there anyway to have bothe connection do load balancing.


Our devices are both Huawei NE20E-S8.


Thank you in advance.


Regards,

Maximino

Attachment: You need to log in to download or view. No account? Register

Featured Answers

Recommended answer

chenhui
Admin Created Jun 11, 2019 02:02:15

@Nimbus hi!

Did the 2nd link connect to the provider via BGP? If yes, there are a lot of ways to do the load balace.

But actually it's recommended to do the load balance manually, because there are many features that could help us control the traffic path.

Based on these BGP features, we could divide the traffic to the more reasonable path. 

However, you could also use the equal-cost routes to balance the traffic. This way it's easier to do the configuration.

For more details, please refer to this link: https://support.huawei.com/hedex ... lancing&lang=en.
View more
  • x
  • convention:

All Answers
Hello,
Please refer to the table below.
Capture20E-S8
Thanks
View more

This article contains more resources

You need to log in to download or view. No account? Register

x
  • x
  • convention:

@Nimbus hi!

Did the 2nd link connect to the provider via BGP? If yes, there are a lot of ways to do the load balace.

But actually it's recommended to do the load balance manually, because there are many features that could help us control the traffic path.

Based on these BGP features, we could divide the traffic to the more reasonable path. 

However, you could also use the equal-cost routes to balance the traffic. This way it's easier to do the configuration.

For more details, please refer to this link: https://support.huawei.com/hedex ... lancing&lang=en.
View more
  • x
  • convention:

How to direct all traffic from a certain subnet to a preferred path?
View more
  • x
  • convention:

Posted by Nimbus at 2019-06-11 13:38 How to direct all traffic from a certain subnet to a preferred path?
a simple way to do that is PBR(policy based route).
PBR allows you to control the traffic which matchs the specific conditions.
for detail configuring, please refer: https://support.huawei.com/hedex/hdx.do?docid=EDOC1000170180&id=dc_ne_qos_cfg_7004&text=PBR%252520Based%252520on%252520Redirection%252520to%252520an%252520MPLS-TE%252520P2P%252520Tunnel&lang=en
View more
  • x
  • convention:

I have tried doing some alteration of AS-Path, but this only influence the incoming traffic to my AS.

Is there any way i can influence the outgoing traffic for a certain subnet to choose a certain link to use when going out of my AS.

Thank you.
View more
  • x
  • convention:

Posted by Nimbus at 2019-06-12 05:49 I have tried doing some alteration of AS-Path, but this only influence the incoming traffic to my AS ...
hi, as I mentioned before, if want to forward the traffic based on the source ip address, the PBR would be the best way.
for example, if you direct the traffic comes from network 10.1.1.0/24 to the ISP1, while the traffic comes from network 20.1.1.0/24 to ISP2, you could follow the steps bellow.

1. configure acl to match the traffic
acl 2001
rule 5 per ip sour 10.1.1.0 0.0.0.255
acl 2002
rule 5 per ip sour 20.1.1.0 0.0.0.255

2. configure traffic classifier
traff class to_isp1
if-match acl 2001
traff class to_isp2
if-match acl 2002

3. configure traffic behavior
traff beha to_isp1
redirect next-hop isp1_ip_address
traff beha to_isp2
redirect next-hop isp2_ip_address

4. configure traffic policy
traffic policy redirect_traffic
class to_isp1 beha to_isp1
class to_isp2 beha to_isp2

5. apply the traffci policy under the interface,
int g0/0/1
traffic-policy redirect_traffic inbound
View more
  • x
  • convention:

uzzi
uzzi HCIE Created Jun 16, 2019 05:14:50

Specifically for BGP outbound traffic you can influence by changing local preference of both upstream, by default both are same but the higher will be preferred. You can use route-policy for this where you can match the link IP and set preference and put that route policy to upstream BGP peering. Below is the example.

https://support.huawei.com/enterprise/it/doc/EDOC0100585934/d9426e6c/example-for-configuring-the-local-preference-and-community-attribute-in-a-bgp-route-policy

Thank you.

Kindest regards,
Uzair
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.