O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required