LX0-104 · Question #103
Given the following routing table: How would an outgoing packet to the destination 192.168.2.150 be handled?
The correct answer is E. It would be passed to the router 192.168.1.1 on eth0. If a packet's destination does not match a directly connected network, it is forwarded to the designated default router based on the routing table's preference.
Question
Exhibit
Options
- AIt would be passed to the default router 192.168.178.1 on wlan0.
- BIt would be directly transmitted on the device eth0.
- CIt would be passed to the default router 255.255.255.0 on eth0.
- DIt would be directly transmitted on the device wlan0.
- EIt would be passed to the router 192.168.1.1 on eth0.
How the community answered
(51 responses)- A25% (13)
- B6% (3)
- C2% (1)
- D12% (6)
- E55% (28)
Why each option
If a packet's destination does not match a directly connected network, it is forwarded to the designated default router based on the routing table's preference.
This option would only be chosen if 192.168.178.1 on `wlan0` was the explicitly preferred or only active default gateway for traffic to unmatched destinations.
A packet would be directly transmitted on `eth0` only if the destination 192.168.2.150 resided within a network segment directly configured and connected to `eth0`, which is not implied here.
255.255.255.0 is a netmask, not a valid IP address for a default router, making this option technically incorrect.
Direct transmission on `wlan0` would only occur if 192.168.2.150 was part of a network directly connected to `wlan0`, which is not indicated.
Assuming the provided routing table indicates that 192.168.1.1 on `eth0` is the default gateway with the highest preference (e.g., lowest metric), any packet destined for a network not specifically listed as directly connected or via another specific route, such as 192.168.2.150, will be sent to this default router for further forwarding.
Concept tested: IP routing table lookup and default gateway
Topics
Community Discussion
No community discussion yet for this question.
