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?
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.
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.
I think the answer is C. Ethernet 0/0/1
Bacause have same proto, cost but will using longest match mecanism
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
eeadbff
6 months, 4 weeks agoTITI
7 months, 2 weeks agoFerioSiqueira
9 months, 1 week agoFerioSiqueira
9 months, 1 week agoMrlaloxi
8 months, 2 weeks agobuggybombastis10
1 year, 6 months ago