BGP is the 'Postal Service of the Internet'. What is its primary function?
- A To dynamically assign unique, temporary IP addresses to client devices as they connect to various disparate subnets within a large enterprise network.
- B To apply high-level AES encryption to point-to-point traffic between major Internet Service Providers (ISPs) to ensure the global privacy of every data packet.
- C To allow various Autonomous Systems (AS) to exchange reachability information and path attributes to construct the massive global routing table of the internet.
- D To act as a high-performance recursive resolver that translates human-readable domain names into the numerical IP addresses required for network-level data delivery.
The internet is not one single network; it's a 'network of networks' called Autonomous Systems (AS), such as Comcast, Google, or Cogent. BGP (Border Gateway Protocol) is the language these giants speak to each other. When you send a packet to Facebook, BGP is how your ISP knows which 'next hop' (e.g., 'Through Cogent via New York') will eventually lead to Facebook's servers. It is a 'Path Vector' protocol that focuses on policy and stability rather than just raw speed. While it's powerful enough to hold the whole internet together, it is also fragile: a single misconfigured BGP update can (and has) accidentally 'blackholed' entire countries' traffic by advertising incorrect routes.
One system design question a day, with spaced repetition so the ones you miss come back.
Get the appRelated questions
- What is the downside of enabling 'Sticky Sessions' (Session Affinity) on a Load Balancer?
- In WebRTC (P2P Mesh), why is a STUN server required?
- What is the fundamental difference between a Network Switch and a Router?
- In Cloud Networking (AWS), what is the limitation of VPC Peering compared to a Transit Gateway?
- Which protocol is ideal for real-time multiplayer gaming positions or Voice over IP (VoIP), and why?
- What is the purpose of the 'Time To Live' (TTL) field in an IP packet?