BGP load balancing (2024)

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

BGP implements load balancing through route recursion and route selection.

The next hop of a BGP route might not be directly connected. One of the reasons is that the next hop information exchanged between IBGP peers is not modified. The BGP router must find the directly connected next hop through IGP. The matching route with the direct next hop is called the recursive route. The process of finding a recursive route is route recursion.

If multiple recursive routes to the same destination are load balanced, BGP generates the same number of next hops to forward packets.

BGP load balancing based on route recursion is always enabled in the system.

BGP load balancing through route selection

IGP routing protocols, such as RIP and OSPF, can use route metrics as criteria to load balance between routes that have the same metric. BGP cannot load balance between routes by route metrics as an IGP protocol does, because BGP does not have a route computation algorithm.

BGP uses the following load balancing criteria to determine load balanced routes:

  • The routes have the same ORIGIN, LOCAL_PREF, and MED attributes.

  • The routes meet the following requirements on the AS_PATH attribute:

    • If both the balance as-path-neglect and balance as-path-relax commands are configured or only the balance as-path-neglect command is configured, the routes can have different AS_PATH attributes.

    • If only the balance as-path-relax command is configured, the routes can have different AS_PATH attributes, but the length of the AS_PATH attributes must be the same.

    • If neither the balance as-path-neglect nor the balance as-path-relax command is configured, the routes must have the same AS_PATH attribute.

BGP does not use the route selection rules described in "BGP route selection" for load balancing.

As shown in Figure 54, Router A and Router B are IBGP peers of Router C. Router C allows a maximum number of two ECMP routes for load balancing.

Router D and Router E both advertise a route 9.0.0.0 to Router C. Router C installs the two routes to its routing table for load balancing if the routes meet the BGP load balancing criteria. After that, Router C forwards to Router A and Router B a single route whose attributes are changed as follows:

  • AS_PATH attribute:

    • If the balance as-path-neglect and balance as-path-relax commands are not configured, the AS_PATH attribute does not change.

    • If the balance as-path-neglect or balance as-path-relax command is configured, the AS_PATH attribute is changed to the attribute of the optimal route.

  • The NEXT_HOP attribute is changed to the IP address of Router C.

  • Other attributes are changed to be the same as the optimal route.

Figure 54: Network diagram

BGP load balancing (1)

BGP load balancing (2024)
Top Articles
2015 Review - Graduating College, Getting Job(s), and Repaying $9,750 of Student Loans »
What is Media Consolidation and Why Should Anyone Care? - BillMoyers
Craigslist Myrtle Beach Motorcycles For Sale By Owner
Victory Road Radical Red
Miles City Montana Craigslist
Cinepacks.store
Decaying Brackenhide Blanket
Tcu Jaggaer
The Rise of Breckie Hill: How She Became a Social Media Star | Entertainment
Seafood Bucket Cajun Style Seafood Restaurant in South Salt Lake - Restaurant menu and reviews
Hillside Funeral Home Washington Nc Obituaries
Athens Bucket List: 20 Best Things to Do in Athens, Greece
Lonadine
Midlife Crisis F95Zone
8664751911
Nail Salon Goodman Plaza
Sni 35 Wiring Diagram
Why Is 365 Market Troy Mi On My Bank Statement
Hyvee Workday
Myhr North Memorial
Optum Urgent Care - Nutley Photos
Everything To Know About N Scale Model Trains - My Hobby Models
Craigslist Dubuque Iowa Pets
Urbfsdreamgirl
Rugged Gentleman Barber Shop Martinsburg Wv
Shelby Star Jail Log
Maine Racer Swap And Sell
Unreasonable Zen Riddle Crossword
1964 Impala For Sale Craigslist
*!Good Night (2024) 𝙵ull𝙼ovie Downl𝚘ad Fr𝚎e 1080𝚙, 720𝚙, 480𝚙 H𝙳 HI𝙽DI Dub𝚋ed Fil𝙼yz𝚒lla Isaidub
Bursar.okstate.edu
Laveen Modern Dentistry And Orthodontics Laveen Village Az
Redding Activity Partners
Davita Salary
L'alternativa - co*cktail Bar On The Pier
Wake County Court Records | NorthCarolinaCourtRecords.us
Shiftwizard Login Johnston
Dumb Money, la recensione: Paul Dano e quel film biografico sul caso GameStop
Consume Oakbrook Terrace Menu
Bimmerpost version for Porsche forum?
2008 DODGE RAM diesel for sale - Gladstone, OR - craigslist
2023 Fantasy Football Draft Guide: Rankings, cheat sheets and analysis
Cnp Tx Venmo
Dyi Urban Dictionary
2294141287
Minterns German Shepherds
Theatervoorstellingen in Nieuwegein, het complete aanbod.
Minecraft Enchantment Calculator - calculattor.com
Generator für Fantasie-Ortsnamen: Finden Sie den perfekten Namen
Haunted Mansion Showtimes Near The Grand 14 - Ambassador
Latest Posts
Article information

Author: Greg O'Connell

Last Updated:

Views: 6214

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Greg O'Connell

Birthday: 1992-01-10

Address: Suite 517 2436 Jefferey Pass, Shanitaside, UT 27519

Phone: +2614651609714

Job: Education Developer

Hobby: Cooking, Gambling, Pottery, Shooting, Baseball, Singing, Snowboarding

Introduction: My name is Greg O'Connell, I am a delightful, colorful, talented, kind, lively, modern, tender person who loves writing and wants to share my knowledge and understanding with you.