IP Connectivity

A router has routes to 10.1.0.0/16, 10.1.1.0/24 and 10.1.1.128/25. Which three destinations are forwarded using the 10.1.1.0/24 route? (Choose three.)

Choose 3 answers

Show the answer

Correct answersA. 10.1.1.5D. 10.1.1.127F. 10.1.1.100

AWhy this is right: 10.1.1.5 is inside 10.1.1.0/24 and below .128, so the /25 does not match.

BWhy not this: 10.1.1.200 lies in 10.1.1.128/25, whose longer mask is preferred over the /24.

CWhy not this: 10.1.2.9 is outside 10.1.1.0/24 and matches only the shorter /16 route.

DWhy this is right: 10.1.1.127 is the top of the lower half; the /25 begins at .128, so the /24 wins.

EWhy not this: 10.1.1.130 falls inside 10.1.1.128/25, so the longer /25 mask takes it.

FWhy this is right: 10.1.1.100 is inside 10.1.1.0/24 and below .128, so the /24 is the longest match.

The router uses the matching route with the longest mask. Addresses 10.1.1.0 to 10.1.1.127 match the /24 but not the /25, which starts at .128. Addresses at .128 and above use the /25, and 10.1.2.9 matches only the /16.