H12-811 Exam QuestionsBrowse all questions from this exam

H12-811 Exam - Question 15


Refer to the following IP routing table on the router R1. If R1 sends a data packet with the destination IP address 10.0.2.2, which of the following interfaces will R1 use to send the packet?

Show Answer
Correct Answer: C

When routing a data packet, the router uses the Longest Prefix Match (LPM) method to determine the most specific route. The destination IP address is 10.0.2.2. In the routing table, there are two relevant routes: 10.0.2.0/24 with interface Ethernet0/0/2 and 10.0.2.2/32 with interface Ethernet0/0/1. Among these, the route 10.0.2.2/32 has the longest prefix match (32 bits compared to 24 bits). Therefore, the router will choose the interface Ethernet0/0/1 to forward the packet.

Discussion

5 comments
Sign in to comment
FerioSiqueiraOption: C
Feb 16, 2024

The answer is C. I compare the binary representations of the destination IP with the network address and subnet mask of options C and D. Route D: Matching bits: 24 bits (all bits in the network portion match) Route C: Matching bits: 32 bits (all bits match, including the host portion) Although both routes share the same network address (10.0.2.0), option C has a longer matching prefix (32 bits vs. 24 bits). LPM (Longest Prefix Match) prioritizes the most specific route, so in this case, option C (10.0.2.2/32) will be chosen for forwarding the packet.

buggybombastis10Option: C
May 12, 2023

I think the answer is C. Ethernet 0/0/1 Bacause have same proto, cost but will using longest match mecanism

FerioSiqueiraOption: D
Feb 16, 2024

The answer is D. I compare the binary representations of the destination IP with the network address and subnet mask of routes C and D. Route C: Matching bits: 24 bits (all bits in the network portion match) Route D: Matching bits: 32 bits (all bits match, including the host portion) Although both routes share the same network address (10.0.2.0), Route D has a longer matching prefix (32 bits vs. 24 bits). LPM (Longest Prefix Match) prioritizes the most specific route, so in this case, Route D (10.0.2.2/32) will be chosen for forwarding the packet.

Mrlaloxi
Mar 14, 2024

So the answer would be C BUD

TITIOption: C
Apr 11, 2024

The answer is C

eeadbffOption: C
Apr 29, 2024

Route 10.0.2.2/32 gateway is E0/0/1 which is C