Border Gateway Protocol
Border Gateway Protocol (BGP) is an exterior gateway protocol that
-
enables loop-free interdomain routing between autonomous systems
-
exchanges routing information between different networks operated by distinct organizations, and
-
supports policy-based routing decisions for scalable and reliable Internet operation.
Autonomous system
An autonomous system (AS) is a group of routers managed under a single technical administration that operates as a unified routing entity. Each AS consists of one or more IP networks under the control of a single organization and is assigned a unique Autonomous System Number (ASN).
Comparison of routing protocol types
To understand BGP, it's essential to distinguish between two types of routing protocols:
-
Interior Gateway Protocols (IGPs): These protocols such as OSPF, IS-IS, and EIGRP, are used within a single AS. They determine the best paths for routing data within the internal network of that AS.
-
Exterior Gateway Protocols (EGPs): These protocols, primarily BGP, are used for routing between different ASes. They enable communication and the exchange of routing information across different networks.
| Feature | Exterior Gateway Protocols (EGPs) | Interior Gateway Protocols (IGPs) |
|---|---|---|
| Scope | Inter-AS (between organizations) | Intra-AS (within an organization) |
| Typical protocols | BGP | OSPF, IS-IS, EIGRP, RIP |
| Routing policy support | Policy-based (highly flexible) | Generally least-cost or shortest path |
| Scalability | Highly scalable for large networks | Suitable for limited, internal domains |
-
An Internet Service Provider uses BGP to exchange routing information with other service providers, ensuring that data can travel efficiently between different networks on the global Internet.
-
Enterprises with multi-homed Internet connections deploy BGP to manage traffic policies and redundancy across their upstream providers.
Feedback