Exam H12-811 All QuestionsBrowse all questions from this 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?

    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
FerioSiqueiraOption: C

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.

eeadbffOption: C

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

TITIOption: C

The answer is C

FerioSiqueiraOption: D

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

So the answer would be C BUD

buggybombastis10Option: C

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