Master10
Computer & Digital Awareness20 Concepts & Facts

BGP: Border Gateway Protocol, Autonomous Systems & Global Internet Routing

Reviewed by the Master10 Editorial Board for accuracy, clarity and competitive-exam relevance.Editorial Policy
The Border Gateway Protocol, standardized as BGP-4 in RFC 4271 by the Internet Engineering Task Force, is the exterior gateway routing protocol that directs traffic across the global internet. Functioning at the application layer while operating over reliable Transmission Control Protocol connections on port 179, BGP enables thousands of independently administered computer networks—known as Autonomous Systems—to exchange reachability and routing information. Conceived in 1989 by computer scientists Kirk Lougheed and Yakov Rekhter on three ketchup-stained napkins at an IETF meeting, the protocol was engineered to replace the outdated Exterior Gateway Protocol and resolve scalability bottlenecks emerging within the National Science Foundation Network backbone.

Unlike interior gateway protocols such as OSPF or RIP that optimize for shortest physical distance or link speed within a single local network, BGP operates as a path-vector protocol governed by institutional commercial agreements and administrative routing policies. Each Autonomous System is assigned a globally unique Autonomous System Number by the Internet Assigned Numbers Authority through regional internet registries like APNIC and ARIN. BGP routers exchange routing updates containing network prefix reachability alongside ordered lists of Autonomous System Numbers, termed the ASPATH attribute. When evaluating multiple viable routes toward a destination prefix, a BGP decision engine executes a deterministic sequence of tie-breaking rules, prioritizing highest Local Preference, shortest ASPATH length, lowest Origin type, lowest Multi-Exit Discriminator value, and internal versus external peering paths before defaulting to the lowest router identifier.

BGP constitutes the foundational routing fabric of international telecommunications, inter-connecting internet service providers, hyperscale cloud vendors, and global content delivery networks. However, because early specifications lacked built-in cryptographic authentication, BGP remains vulnerable to prefix hijacking and route leak incidents, where malicious or misconfigured routers broadcast fraudulent ownership of IP blocks, diverting worldwide web traffic. In response, global network operators and telecom regulators have deployed Resource Public Key Infrastructure and Route Origin Authorization to cryptographically validate route announcements. In competitive examinations covering computer science, telecommunications engineering, and digital infrastructure governance, examiners regularly evaluate candidate mastery of iBGP versus eBGP topologies, path attribute classifications, loop prevention mechanics, and protocol convergence dynamics.

Key Concepts & Self-Assessment20 Key Facts

Review key Border Gateway Protocol: Autonomous Systems & Internet Routing exam facts and rate your mastery to track revision.

Progress: 0/20 Rated 0 Mastered 0 Review Later
#1
Border Gateway Protocol is the principal exterior gateway protocol utilized to route IP data packets between distinct Autonomous Systems across the internet.
#2
BGP is classified as a path-vector routing protocol rather than a pure distance-vector or link-state protocol.
#3
The protocol operates over Transmission Control Protocol (TCP) on well-known port 179 to guarantee reliable delivery of routing update messages.
#4
BGP-4 supports Classless Inter-Domain Routing (CIDR) and route aggregation, preventing exhaustion of global routing tables through prefix summarization.
#5
Kirk Lougheed and Yakov Rekhter drafted the foundational concept of BGP on three paper napkins during an IETF meeting in 1989.
#6
The IETF formally published the original BGP-1 specification in RFC 1105 in June 1989 to supersede the legacy Exterior Gateway Protocol.
#7
RFC 1771 introduced BGP Version 4 in 1994, which officially incorporated CIDR subnetting to replace archaic class-based IP network allocations.
#8
RFC 4271 was ratified in January 2006 by the IETF, establishing the modern, comprehensive standard specification for BGP-4 operations.
#9
An Autonomous System (AS) is a collection of connected IP routing prefixes managed by one or more network operators under a clear administrative policy.
#10
The Internet Assigned Numbers Authority (IANA) allocates Autonomous System Numbers to Regional Internet Registries (RIRs) such as APNIC, ARIN, and RIPE NCC.
#11
External BGP (eBGP) establishes peering sessions between routers residing in different Autonomous Systems, defaulting to a Time-To-Live of 1.
#12
Internal BGP (iBGP) distributes external routing information among routers located within the same Autonomous System without altering the AS_PATH attribute.
#13
Autonomous System Numbers originally utilized 16-bit integers (values 1 to 65,535) before expanding to 32-bit integers in 2007 via RFC 4893.
#14
The BGP path selection algorithm deterministically evaluates routes starting with highest Local Preference, followed by shortest AS_PATH length and lowest MED.
#15
Loop prevention in eBGP is achieved mechanically: a router immediately discards any incoming route advertisement if its own ASN already appears in the AS_PATH.
#16
In iBGP topologies, the split-horizon rule prohibits a router from advertising a route learned via iBGP to another iBGP peer unless route reflectors are used.
#17
BGP prefix hijacking occurs when an unauthorized network improperly announces IP prefixes belonging to another entity, rerouting legitimate traffic.
#18
Resource Public Key Infrastructure (RPKI) uses cryptographic X.509 certificates and Route Origin Authorizations to verify that an ASN is authorized to announce specific prefixes.
#19
A landmark BGP routing incident occurred in 2008 when Pakistan Telecom attempted to block YouTube domestically but accidentally rerouted global YouTube traffic worldwide.
#20
BGP differs fundamentally from OSPF and IS-IS because it prioritizes business contracts and geographic transit policies over shortest mathematical path lengths.

Subject Specialist Commentary

Analytical perspective & practical exam advice from the Master10 academic board

Educator's Insight
Think of the internet not as a single superhighway, but as a confederation of thousands of private postal territories called Autonomous Systems. BGP functions like an international customs and postal treaty between independent networks. Instead of just picking the shortest physical road, BGP reads routing tables to choose paths based on commercial contracts, peering agreements, and transit policies established between participating network carriers.
For competitive examinations, always remember that BGP runs over TCP port 179, unlike interior protocols like OSPF that operate directly above the network layer without transport sessions. Examiners frequently trap candidates on route selection priority: administrative Local Preference takes precedence over ASPATH hop length. To memorize the sequential selection criteria, use the memory acronym 'We Love Asian Oranges' for Weight, Local Preference, ASPATH, and Origin type.

Related Knowledge Topics to Discover

Looking for more GK practice?

Explore 52,789+ questions across 65 General Knowledge categories.

Open Interactive Search