Network Kings, India’s Leading IT Career Training Academy
Until now, we have learned about many different types of network protocols such as OSPF, RIP, EIGRP, etc. All of these were Interior Gateway protocols. In this blog, we are going to learn about the Border Gateway Protocol (BGP).
Note: If you haven’t read the previous blog of our CCNA 200-301 series, I highly recommend you do so.
The Border Gateway Protocol (BGP) is an Exterior Gateway Protocol! To be precise, it is a Path-Vector Routing protocol. However, you must know that it is a dynamic routing protocol. Since it is a routing protocol, it is used to control how data flows from point A through points B and C and arrives at the destination point D.
As you are aware that the Internet is nothing but a bunch of networks together, BGP is the routing protocol that tells networks about another networks and where they reside.
BGP is referred to as an exterior gateway protocol because it is used to exchange routing information between two or more than two autonomous system numbers. To configure BGP, it is very important to have Autonomous Systems (ASs). We will learn about them in detail in this blog. We will also learn how BGP works in this blog.
Without any further ado, let us begin learning about Border Gateway Protocol (BGP)!
Let us look into these types of BGP sessions!
1. iBGP:
2. eBGP:
Since the BGP helps in routing between different autonomous systems, it is important to learn about different types of autonomous systems:
Now that you know about autonomous systems, let us learn how BGP selects the best path! The concept behind BGP is the best path selection. You can imagine the similarity of BGP to Google Maps. You put in the destination and it knows your current location, then, it tells you the best path. The BGP works in the same way but for the Internet.
There are four different types of packets that are sent by the BGP:
This marks the end of our BGP in networking blog. It is the only protocol that is an exterior gateway protocol. It is a kind of protocol that uses Autonomous Systems to build connections and send traffic.
In this blog, we have learned how the BGP works and what are the different autonomous states in a BGP connection. At last, we have also learned about the different types of packets sent by routers in a BGP connection.
This marks the end of our routing protocols. You can learn other routing protocols such as OSPF, EIGRP, RIP, etc. in the full CCNA course series.
Stay tuned for more blogs in our CCNA series.
Happy studying!