Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide


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

Custom Search







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 Route Determination and the BGP Decision Process
Previous Page
Pages in Current Topic/Section
1
2
Next Page
BGP Detailed Messaging, Operation and Message Formats
Next Topic/Section

BGP General Operation and Messaging
(Page 2 of 2)

Route Information Exchange

Assuming the link is initialized, the two peers begin an ongoing process of telling each other what they know about networks and how to reach them. Each BGP speaker encodes information from its Routing Information Bases (RIBs) into BGP Update messages. These messages contain lists of known network addresses, as well as information about paths to various networks, described in the form of path attributes. This information is then used for the route determination as described in the preceding topic.

When a link is first set up between two peers, they ensure complete information is held by each router by exchanging their complete routing tables. Subsequently, Update messages are sent that contain only incremental updates about routes that have changed. Exchanging only updated information as needed reduces unnecessary bandwidth on the network, making BGP more efficient than it would be if it sent full routing table information on a regular basis.

Connectivity Maintenance

The TCP session between BGP speakers can be kept open for a very long time, but Updates need to be sent only when changes occur to routes, which are usually infrequent. This means many seconds may elapse between the transmission of Update messages. To ensure that the peers maintain contact with each other, they both send Keepalive messages on a regular basis when they don’t have other information to send. These are null messages that contain no data and just tell the peer device “I'm still here”. These messages are sent infrequently—no more often than one per second—but regularly enough that the peers won't think the session was interrupted.

Error Reporting

The last type of BGP message is the BGP Notification message. This is an error message; it tells a peer that a problem occurred and describes the nature of the error condition. After sending a BGP Notification message, the device that sent it will terminate the BGP connection between the peers. A new connection will then need to be negotiated, possibly after the problem that led to the Notification has been corrected.

Key Concept: BGP is implemented through the exchange of four different message types between BGP speakers. A BGP session begins with a TCP connection being established between two routers and each sending an Open message to the other. BGP Update messages are the primary mechanism by which routing information is exchanged between devices. Small BGP Keepalive messages are used to maintain communication between devices between periods that they need to exchange information. Finally, Notification messages are used for problem reporting.


For more details on the four BGP message types and a description of the format used by each, refer to the detailed BGP operation section.

 


Previous Topic/Section
BGP Route Determination and the BGP Decision Process
Previous Page
Pages in Current Topic/Section
1
2
Next Page
BGP Detailed Messaging, Operation and Message Formats
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.