What is BGP?
Border Gateway Protocol (BGP) is a standardized exterior gateway protocol designed to exchange routing and reachability information between autonomous systems (AS) on the Internet.
How does it work?
It works by two independent networks (Autonomous Systems or AS) exchanging routing information. The two routers agree to exchange information about how to reach certain IP-ranges.
There is a difference between BGP transit, in which a larger network provides information for all ip ranges it knows about to the other network (a customer), and BGP peering, which usually involves two roughly equal-sized networks to exchange only their own routes and the routes of their customers.
How does BGP Hijacking?
BGP hijacking is an illicit process of taking control of a group of IP prefixes assigned to a potential victim. Either intentionally or accidentally, it is achieved by changing paths used for forwarding network traffic, exploiting the weaknesses of BGP.
What is BGP Networking?
It’s a networking protocol that is used for routing packets between the autonomous systems of large enterprises and service providers.
BGP (Border Gateway Protocol) is a protocol that manages how packets are routed across the internet through the exchange of routing and reachability information between edge routers.
BGP directs packets between autonomous systems (AS) — networks managed by a single enterprise or service provider.
Traffic that is routed within a single network AS is referred to as internal BGP, or iBGP.
More often, BGP is used to connect one AS to other autonomous systems, and it is then referred to as an external BGP, or eBGP
What is BGP used for?
BGP offers network stability that guarantees routers can quickly adapt to send packets through another reconnection if one internet path goes down.
BGP makes routing decisions based on paths, rules or network policies configured by a network administrator.
Each BGP router maintains a standard routing table used to direct packets in transit.
This table is used in conjunction with a separate routing table, known as the routing information base (RIB), which is a data table stored on a server on the BGP router.
The RIB contains route information both from directly connected external peers, as well as internal peers, and continually updates the routing table as changes occurs.
BGP is based on TCP/IP and uses client-server topology to communicate routing information, with the client-server initiating a BGP session by sending a request to the server.
Why is BGP called EGP?
EGP (Exterior Gateway Protocol) is a routing protocol which is used for routing between different AS’s (autonomous systems).
Now why BGP is called EGP?
BGP (Broader Gateway Protocol) is also a routing protocol which is used for routing between two or more different Autonomous Systems, that’s why BGP falls in category of EGP routing protocol.