200-301 · Question #1629
200-301 Question #1629: Real Exam Question with Answer & Explanation
The correct answer is C: GigabitEthernet1/0. Routers always use the most specific match (the route with the longest prefix that matches the destination address). 1. Find the matching subnets for 192.168.18.16: /24: 192.168.18.0 – 192.168.18.255 (includes .16) /27: 192.168.18.0 – 192.168.18.31 (includes .16) /28: 192.168.18.
Question
Refer to the exhibit. Which interface does a packet take to reach the host address of 192.168.18.16?
Options
- Anull 0
- BGigabitEthernet2/0
- CGigabitEthernet1/0
- DGigabitEthernet0/0
Explanation
Routers always use the most specific match (the route with the longest prefix that matches the destination address). 1. Find the matching subnets for 192.168.18.16: /24: 192.168.18.0 – 192.168.18.255 (includes .16) /27: 192.168.18.0 – 192.168.18.31 (includes .16) /28: 192.168.18.0 – 192.168.18.15 (does NOT include .16) 2. Longest Prefix Match Wins /27: Covers .16 and is more specific than /24 /24: Covers .16, but /27 is more specific. Interface for /27 Route is R 192.168.18.0/27 [120/1] via 10.10.20.18, ..., GigabitEthernet1/0 Packet will exit interface: GigabitEthernet1/0.
Topics
Community Discussion
No community discussion yet for this question.