Network Implementation

A router receives two RIP advertisements for 10.20.0.0/16, one from a neighbor 2 hops away and one from a neighbor 4 hops away. Which value makes it prefer the first?

Show the answer

Correct answerB. Metric

AWhy not this: Both routes come from RIP, so they share the same administrative distance and it cannot separate them.

BWhy this is right: The metric ranks routes from the same protocol, and RIP's hop count of 2 beats 4.

CWhy not this: TTL is a packet field that limits its lifetime and is not used to rank routes.

DWhy not this: Both routes use /16, so prefix length is identical and cannot separate them.

Both routes come from the same protocol with the same prefix length, so the router compares the protocol's metric. RIP's metric is hop count, and 2 is lower than 4. Administrative distance only ranks different sources, and both routes here are RIP.