What Is Border Gateway Protocol
What Is Border Gateway Protocol
Routing protocols are used to exchange routing information between routers. Routing
protocols can be categorized into Interior Gateway Protocol (IGP) and Exterior Gateway
Protocol (EGP). An IGP routing protocol, such as RIP, EIGRP, OSPF, and IS-IS can only be
used to exchange routing information within an Autonomous System (AS). To exchange
routing information between different ASs, an EGP routing protocol such as Border Gateway
Protocol (BGP) is required.
BGP is used to connect and find routes to and from autonomous systems. It uses TCP port
179 to propagate and update the routing table (especially UPDATE and KEEPALIVE
messages) to its neighbors.
Before exchanging any routing information, BGP routers must establish a TCP connection.
The routers having a BGP session over a TCP connection are called BGP peers or BGP
neighbors. Typically, BGP is considered as a Path-Vector protocol. However, sometimes it
is also referred as an Advanced Distance-Vector protocol.
BGP protocol can be categorized into two categories: internal Border Gateway Protocol
(iBGP) and external Border Gateway Protocol (eBGP). Routers belong to the same
autonomous system use iBGP to exchange routing information. However, routers belong to
the different autonomous systems use eBGP to exchange routing information. Routers that
advertise their prefixes or routes are known as BGP speakers.
When there is a need to send traffic through one AS to get to another AS.
When there is a need to connect two or more ISPs, Network Access Points (NAPs),
and exchange points
When there is a need to use multi-homing in an enterprise network that connects more
than one ISP.
When your router cannot support the huge routing tables required to support BGP.
When there is a single connection to the Internet.
When your network does not have sufficient bandwidth to support the amount of data
needed to be passed.
In this post, we have discussed the basics of Border Gateway Protocol (BGP). Hope, it helped
you. We would love to hear your suggestions.