IP Connectivity

A route for 172.22.40.0 must match both 172.22.40.10 and 172.22.47.200 but exclude 172.22.48.1. Which mask provides the most specific matching route?

Show the answer

Correct answerD. 255.255.248.0

AWhy not this: A /22 starting at 172.22.40.0 ends at 172.22.43.255, so it misses 172.22.47.200.

BWhy not this: A /19 covering the required destinations spans third-octet values 32–63 and includes 172.22.48.1.

CWhy not this: A /20 covering both destinations spans third-octet values 32–47, making it less specific than the required /21.

DWhy this is right: A /21 starting at 172.22.40.0 covers 172.22.40.0–172.22.47.255 and excludes 172.22.48.1.

The /21 mask, 255.255.248.0, covers third-octet values 40–47. A /22 cannot include both required destinations; a /20 is less specific, and a /19 also includes the excluded destination.