NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Enjoy The TCP/IP Guide? Get the complete PDF!
The TCP/IP Guide

Google
Web TCP/IP Guide






Table Of Contents  The TCP/IP Guide
 9  TCP/IP Lower-Layer (Interface, Internet and Transport) Protocols (OSI Layers 2, 3 and 4)
      9  TCP/IP Internet Layer (OSI Network Layer) Protocols
           9  TCP/IP Routing Protocols (Gateway Protocols)
                9  TCP/IP Exterior Gateway/Routing Protocols (BGP and EGP)
                     9  TCP/IP Border Gateway Protocol (BGP/BGP-4)
                          9  BGP Fundamentals and General Operation

Previous Topic/Section
BGP Path Attributes and Algorithm Overview
Previous Page
Pages in Current Topic/Section
1
23
Next Page
BGP General Operation and Messaging
Next Topic/Section

BGP Route Determination and the BGP Decision Process
(Page 1 of 3)

The last two topics have described the fundamentals of how BGP devices store and manage information about routes to networks. This included an overview of the four route information management activities performed by BGP speakers: route storage, update, selection and advertisement. Route storage is the function of the Routing Information Base (RIB) in each BGP speaker. Path attributes are the mechanism by which BGP stores details about routes and also describes those details to BGP peers.

BGP Decision Process Phases

As we have seen, the RIB also contains sections for holding input information received from BGP peers, and for holding output information each BGP device wants to send to those peers. The functions of route update, selection and advertisement are concerned with analyzing this input information, deciding what to include in the local database, updating that database, and then choosing what routes to send from it to peer devices. In BGP, a mechanism called the Decision Process is responsible for these tasks. It consists of three overall phases:

  1. Phase 1: Each route received from a BGP speaker in a neighboring AS is analyzed and assigned a preference level. The routes are then ranked according to preference and the best one for each network advertised to other BGP speakers within the autonomous system.

  2. Phase 2: The best route for each destination is selected from the incoming data based on preference levels, and used to update the local routing information base (the Loc-RIB).

  3. Phase 3: Routes in the Loc-RIB are selected to be sent to neighboring BGP speakers in other ASes.

Previous Topic/Section
BGP Path Attributes and Algorithm Overview
Previous Page
Pages in Current Topic/Section
1
23
Next Page
BGP General Operation and Messaging
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.