Whenever a person drops a parcel at any postal service, the service figures out the most expedient route to deliver it to its intended destination. Similarly, the Border Gateway Protocol (BGP) acts like a postal service to deliver messages on the Internet. BGP determines the optimum routing for data sent over the Internet by examining all possible paths.
All the Internet traffic is routed through a single point of contact using BGP. Routing is simple in a local area network because all devices are connected to the same computer network. A network rises in complexity when there are millions of other networks throughout the world connected to it. Managing Internet connectivity for different websites and locations is often handled by large enterprises or Internet Service Providers (ISPs). This type of system is referred to as an autonomous system (AS).
The BGP has two pivotal tasks:
Routing information and Internet traffic are transmitted using external BGP. In contrast, internal BGP is a form of BGP that autonomous systems can use to route through their internal networks. To use external BGP, we don’t need to use internal BGP. The autonomous systems can use any of several internal protocols to connect the routers to their internal network.
A BGP leak is when routing announcements are spread beyond their intended audience. Announcing a learned BGP route from an Autonomous System (AS) to another AS violates the policies of the receiver, sender, and/or one of the preceding ASes on the AS path. Some famous leaks are as follows:
Free Resources