Skip to main content
Definition Website Computer and Technology

Border Gateway Protocol

Subject: Computer and Technology noun /ˈbɔːr.dər ˈɡeɪt.weɪ ˈproʊ.tə.kɑːl/ 1 definition

  1. Definition (noun)

    Entry #15 · Updated

    Border Gateway Protocol (BGP) is the standardized path-vector routing protocol that enables independent networks, known as autonomous systems (ASes), to exchange IP prefix reachability information and determine optimal routes across the global internet. Unlike interior gateway protocols such as OSPF or IS-IS that calculate shortest paths strictly within a single organization's network, BGP operates at the boundary between distinct administrative domains, selecting routes based on AS-path attributes and configurable routing policies rather than raw link metrics alone. Operating over reliable TCP connections on port 179, it serves as the internet's core inter-domain control plane, connecting internet service providers, cloud platforms, and large enterprises.

    Common Forms

    • External BGP (eBGP): Operates between routers in different autonomous systems to advertise IP prefixes across organizational boundaries and enforce commercial peering or transit policies.

    • Internal BGP (iBGP): Operates between routers within the same autonomous system to distribute externally learned routes consistently across the internal network without introducing routing loops.

    • Multiprotocol BGP (MP-BGP): Extends standard BGP to carry routing information for multiple network-layer address families beyond IPv4 unicast, including IPv6, multicast, and MPLS VPN routes.

    Example

    When a regional internet service provider (AS 64496) establishes an eBGP peering session over TCP port 179 with a cloud provider (AS 64500), it advertises reachability for its 203.0.113.0/24 IPv4 prefix. The cloud provider prepends its own ASN and propagates the updated AS-path [64500, 64496] to neighboring networks, steering customer traffic across the direct peering link instead of a slower, paid transit route.