nerdexam
CompTIA

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.

Networking Fundamentals

Question

Given the following routing table: How would an outgoing packet to the destination 192.168.2.150 be handled?

Exhibit

LX0-104 question #103 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)
  • A
    25% (13)
  • B
    6% (3)
  • C
    2% (1)
  • D
    12% (6)
  • E
    55% (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.

AIt would be passed to the default router 192.168.178.1 on wlan0.

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.

BIt would be directly transmitted on the device eth0.

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.

CIt would be passed to the default router 255.255.255.0 on eth0.

255.255.255.0 is a netmask, not a valid IP address for a default router, making this option technically incorrect.

DIt would be directly transmitted on the device wlan0.

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.

EIt would be passed to the router 192.168.1.1 on eth0.Correct

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

#routing table#packet forwarding#network routing

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice