Chapter 10. Border Gateway Protocol

Fortunately, this is a Nutshell book, so I don’t have to do anything more than give a brief introduction to the Border Gateway Protocol (BGP), one of the most complex topics in network routing. Covering BGP in any detail could easily require hundreds of pages. Unlike the other routing protocols we’ve discussed, BGP is an exterior routing protocol, which means it routes traffic between different autonomous systems. Its primary use is on the Internet backbone; it shouldn’t be used on most networks that are connected to the Internet. However, if you have more than one Internet service provider or your network is multihomed, you must use BGP.

BGP is a successor to EGP, which had many limitations. BGP’s main new feature was Classless Interdomain Routing (CIDR), which rescued the almost-exhausted Internet IP address space. The current version of BGP is BGP4; it’s unlikely that you’ll need to know about earlier versions.

Introduction to BGP

We can run two types of BGP routing on our network:

Internal BGP (iBGP)

iBGP exchanges BGP information within an autonomous system. Internal BGP sounds counterintuitive, since BGP is supposed to be an “external” routing protocol. The point of internal BGP is to distribute your BGP information between your external BGP routers. Your external routers are usually not close together; iBGP allows them to communicate across your internal network.

iBGP is necessary in networks that have multiple paths to the Internet. It provides ...

Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.