IP Connectivity

R1 has a static route to 10.1.0.0/16 via R2. Traffic for only the server 10.1.5.10 must go via R3 at 192.168.2.2, with other 10.1.0.0/16 traffic unchanged. Which command does this?

Show the answer

Correct answerC. ip route 10.1.5.10 255.255.255.255 192.168.2.2

AWhy not this: This is the same prefix as the existing route, so it would not single out one server.

BWhy not this: A /24 network route would also move every other host in 10.1.5.0/24 to R3.

CWhy this is right: The 255.255.255.255 mask makes a host route; it wins by longest match for that one server only.

DWhy not this: A default route is the least specific match and never overrides the existing /16 route.

A /32 host route is the most specific match, so longest prefix match sends only 10.1.5.10 via R3 while the /16 still serves the rest. A /24 network route would also redirect the other hosts in 10.1.5.0/24.