A packet is destined for 10.10.1.22. Which static route provides the best match?
Choose an answer
Tap an option to check your answer.
Correct answer: ip route 10.10.1.20 255.255.255.252 10.10.255.1.
Why this is the answer
The best match for a destination IP address is determined by the longest prefix match. This means the route with the most specific subnet mask that includes the destination IP address will be chosen. Let's analyze each option for the destination 10.10.1.22: ip route 10.10.1.0 255.255.255.240: This is a /28 network (10.10.1.0 - 10.10.1.15 or 10.10.1.16 - 10.10.1.31). 10.10.1.22 falls within 10.10.1.16 - 10.10.1.31. ip route 10.10.1.20 255.255.255.252: This is a /30 network. The network address is 10.10.1.20, with a broadcast of 10.10.1.23. The usable IPs are 10.10.1.21 and 10.10.1.22. This route matches 10.10.1.22. ip route 10.10.1.16 255.255.255.252: This is a /30 network. The network address is 10.10.1.16, with a broadcast of 10.10.1.19. 10.10.1.22 is not in this range. ip route 10.10.1.20 255.255.255.254: This is a /31 network. The network address is 10.10.1.20, with a broadcast of 10.10.1.21. 10.10.1.22 is not in this range. The route "ip route 10.10.1.20 255.255.2
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed