BGP load balancing

BGP implements load balancing through route recursion and route selection.

Figure 50: Network diagram

In Figure 50, Router A and Router B are IBGP peers of Router C. Router D and Router E both advertise a route 9.0.0.0 to Router C. If load balancing with a maximum number of two routes is configured on Router C, and the two routes have the same AS_PATH, ORIGIN, LOCAL_PREF, and MED, Router C installs both the two routes to its routing table for load balancing. After that, Router C forwards to Router A and Router B a single route that has NEXT_HOP changed to Router C and other attributes changed to those of the best route.


[NOTE: ]

NOTE:

BGP load balancing is applicable between EBGP peers, between IBGP peers, and between confederations.