CS FundamentalsVery hardNetworking placement · security

A company announces 198.51.100.0/22 in BGP. An attacker's AS starts announcing 198.51.101.0/24 without permission. What happens, and what defends against it?

  1. A. Nothing changes, because routers prefer the older, established route; MD5 session keys stop it
  2. B. Traffic is split equally between the two origins as equal-cost paths; route-flap dampening stops it
  3. C. The /24 wins wherever it spreads, since forwarding uses the longest prefix; RPKI origin validation stops it
  4. D. Only the attacker's own customers are affected; BGP's AS-path loop check stops it elsewhere

Correct answer: C. The /24 wins wherever it spreads, since forwarding uses the longest prefix; RPKI origin validation stops it

Longest-prefix forwarding makes the more specific /24 win over the /22 regardless of BGP path preference. RPKI route origin validation lets networks reject the /24 because no ROA authorises that AS to originate it.

More Computer Networks questions

Exams that ask this topic