BGP - Multipath Attribute Prerequisites

When implementing multipath load sharing as the load balancing method for BGP, certain BGP attributes must be the same for the candidate routes to be considered for multipath.

However, this list of prerequisites is not defined in any official RFC. It is highly vendor-specific and implementation-specific. Although there is a general consensus among most vendors, especially for the first five prerequisites, there seems to be some discrepancy about the use of the IGP metric as part of the prerequisites for multipath load sharing in BGP.

As far as Cisco goes, the BGP configuration guide (see link below) states that the IGP distance to the next hop must be the same for all routes to be candidates for multipath routing. Other documentation that examines the BGP best path algorithm seems to indicate that the IGP metric is not always used, and may be implementation-specific.

In practice, we see that IGP distance to the next hop is not always a prerequisite. Thus, each scenario must be thoroughly tested in order to determine the actual behavior in a real-world scenario before implementing on a production network.

Links:

https://forum.networklessons.com/t/bgp-multipath-load-sharing-ibgp-and-ebgp/3275/52?u=lagapidis

https://networklessons.com/cisco/ccie-routing-switching-written/bgp-multipath-load-sharing-ibgp-and-ebgp

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/configuration/xe-16/irg-xe-16-book/ibgp-multipath-load-sharing.html#GUID-7EFB4266-46D7-4B8F-832C-FB7E3B971B32

Links to this page: