Got it

Load balancing between DHCP Unr and static routes

Created: Sep 29, 2019 11:42:54Latest reply: Sep 29, 2019 12:10:03 631 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

As shown in the following figure, the AR1 has two egresses,

GE0/0/0 is configured with a static IP address and the corresponding default route, and GE0/0/1 enabled with DHCP to automatically obtain an IP address.

There are two default routes in the routing table. Although both the priorities of the two routes are 60, the Unr route automatically generated by the DHCP does not take effect. Why? How to implement load balancing between the two routes? 

DHCP


Featured Answers
Popeye_Wang
Admin Created Sep 29, 2019 12:10:03

Hi Spout,
The preferences in the routing table are only external preferences, but routing protocols have internal preferences. When the external preferences of the two routes are the same, the internal preferences of the two routes are compared. The internal preference of the static route is 60, and the internal preference of the Unr is 65. Therefore, the router prefers static routes. For details about priorities, see https://forum.huawei.com/enterprise/en/route-preference/thread/533159-863
To implement load balancing, you need to add a default static route and associate it with DHCP.
 ip route-static 0.0.0.0 0GigabitEthernet 0/0/1 dhcp

 Load balancing between DHCP Unr and static routes-3072269-1

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100007335&id=ip_route-static&text=ip%20route-static&lang=en
View more

This article contains more resources

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

x
  • x
  • convention:

All Answers
Hi Spout,
The preferences in the routing table are only external preferences, but routing protocols have internal preferences. When the external preferences of the two routes are the same, the internal preferences of the two routes are compared. The internal preference of the static route is 60, and the internal preference of the Unr is 65. Therefore, the router prefers static routes. For details about priorities, see https://forum.huawei.com/enterprise/en/route-preference/thread/533159-863
To implement load balancing, you need to add a default static route and associate it with DHCP.
 ip route-static 0.0.0.0 0GigabitEthernet 0/0/1 dhcp

 Load balancing between DHCP Unr and static routes-3072269-1

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100007335&id=ip_route-static&text=ip%20route-static&lang=en
View more

This article contains more resources

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

x
  • 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.