Difficulty: Medium
Correct Answer: Because BGP supports rich routing policies and scales to a very large number of prefixes across autonomous systems
Explanation:
Introduction / Context:
This question looks at the design reasons why Border Gateway Protocol is used as the standard exterior gateway protocol on the global Internet. It expects you to understand that interior gateway protocols such as Open Shortest Path First, Enhanced Interior Gateway Routing Protocol, and Routing Information Protocol are optimized for routing within a single administrative domain, while BGP is optimized for policy control and scalability between autonomous systems.
Given Data / Assumptions:
- The context is interdomain or Internet routing, not small internal campus routing.
- Multiple autonomous systems under different administrative control exchange routing information.
- The candidate protocols include BGP and several interior gateway protocols such as OSPF, EIGRP, and RIP.
- The question asks why BGP is a better choice rather than which algorithm it uses internally.
Concept / Approach:
BGP is a path vector protocol designed specifically for interdomain routing. It scales to support hundreds of thousands of prefixes and allows network operators to implement complex routing policies. These policies can be based on attributes such as AS path, local preference, and communities, and they allow operators to influence inbound and outbound traffic flows for business, performance, or security reasons. Interior gateway protocols focus on finding shortest paths within an autonomous system and typically assume a single administrative policy, which is quite different from the diverse policies across the Internet.
Step-by-Step Solution:
Step 1: Recognize that the Internet consists of many autonomous systems that may have conflicting policies about how traffic should enter or leave their networks.Step 2: Recall that BGP includes attributes such as AS path, local preference, MED, and community values to express and enforce these policies.Step 3: Understand that BGP is designed to handle a huge number of routing prefixes and frequent incremental updates without causing excessive flooding.Step 4: Compare this with IGPs, which are optimized for fast convergence and shortest path routing within a single administrative domain, not for policy rich interdomain routing.Step 5: Conclude that BGP is preferred because of its scalability and policy control capabilities rather than simplistic metrics.
Verification / Alternative check:
You can verify this by considering the full Internet routing table, which contains hundreds of thousands of prefixes. Running a typical link state IGP across all autonomous systems would create massive overhead as topology changes in one organization would have to be flooded globally. Instead, BGP allows each autonomous system to share only necessary path information and to filter, aggregate, or modify routes according to local policy. This design prevents global instability and keeps routing manageable.
Why Other Options Are Wrong:
Claiming that BGP uses hop count as its only metric is incorrect; that description fits RIP more closely. BGP does not flood link state advertisements in the same way OSPF does; it exchanges path vectors and incremental updates. It also does not automatically redistribute all routes between IGPs without configuration. The statement that BGP operates at the Data Link layer is false, as BGP runs over TCP at higher layers in the protocol stack.
Common Pitfalls:
A common misunderstanding is to think that BGP is simply another shortest path protocol like OSPF but for the Internet. In reality, BGP is more about policy and scalability than raw speed of convergence. Another pitfall is confusing exterior gateway and interior gateway roles; IGPs are excellent at fast convergence inside an autonomous system, whereas BGP is carefully tuned to limit instability between autonomous systems.
Final Answer:
BGP is preferred for Internet routing because it supports rich routing policies and scales well to a very large number of prefixes exchanged between autonomous systems.
Discussion & Comments