nerdexam
CompTIA

LX0-103 · Question #171

You suspect that a gateway machine on your network has failed but you are unsure which machine. Which command will help locate the problem?

The correct answer is E. traceroute. traceroute reveals the hop-by-hop path packets take to a destination, making it ideal for identifying which gateway along the route has failed.

GNU and Unix Commands

Question

You suspect that a gateway machine on your network has failed but you are unsure which machine. Which command will help locate the problem?

Options

  • Aps
  • Bnetstat
  • Cnslookup
  • Difconfig
  • Etraceroute

How the community answered

(42 responses)
  • B
    2% (1)
  • C
    2% (1)
  • E
    95% (40)

Why each option

`traceroute` reveals the hop-by-hop path packets take to a destination, making it ideal for identifying which gateway along the route has failed.

Aps

`ps` lists running processes on the local machine and has no visibility into network topology or remote gateway status.

Bnetstat

`netstat` displays local socket connections and routing table entries but cannot probe the status of remote gateways along a path.

Cnslookup

`nslookup` performs DNS name resolution and is unrelated to diagnosing gateway reachability or path failures.

Difconfig

`ifconfig` shows local network interface configuration and statistics but cannot detect failures on remote gateway devices.

EtracerouteCorrect

`traceroute` sends probe packets with incrementing TTL values and records each intermediate router (gateway) that responds, along with latency. If a gateway has failed, `traceroute` will show packets stopping or timing out at the hop corresponding to that machine, directly pinpointing the failure point on the network path.

Concept tested: Network path troubleshooting and failed gateway identification

Source: https://linux.die.net/man/8/traceroute

Topics

#traceroute#network troubleshooting#gateway failure#routing

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice