IP Connectivity

An inventory lists routes to 172.20.4.0/24 via two next hops, 172.20.4.0/25 via one next hop, and 172.20.5.0/24 via one next hop. How many distinct destination prefixes are represented?

Show the answer

Correct answerA. Three

AWhy this is right: The network address and prefix length together identify each of the three destination blocks.

BWhy not this: Sharing leading address bits does not make all listed destination blocks the same prefix.

CWhy not this: Counting only network addresses incorrectly merges the /24 and /25 destination blocks.

DWhy not this: Counting each next-hop path separately incorrectly treats paths as distinct prefixes.

There are three distinct prefixes: 172.20.4.0/24, 172.20.4.0/25, and 172.20.5.0/24. Multiple next hops do not create additional prefixes, while different prefix lengths distinguish destination blocks even when their network addresses match.