CS FundamentalsModerateGATE CS · Product company CS fundamentals

How does BGP prevent routing loops between autonomous systems?

  1. A. It uses split horizon with poisoned reverse, like RIP
  2. B. It limits AS_PATH length to 15, after which a route is unreachable
  3. C. A router rejects any route whose AS_PATH already contains its own AS number
  4. D. It floods link-state packets and runs Dijkstra on the AS graph

Correct answer: C. A router rejects any route whose AS_PATH already contains its own AS number

BGP is a path-vector protocol: the full AS path travels with each route, so seeing your own AS means the route has looped. The 15-hop limit belongs to RIP, and flooding plus Dijkstra describes OSPF/IS-IS.

More Computer Networks questions

Exams that ask this topic