LX0-104 · Question #530
An administrator suspects that a gateway machine on the network has failed but they are unsure which machine. Which of the following commands will help locate the problem?
The correct answer is E. traceroute. The traceroute command helps diagnose network path issues by showing the route packets take to a destination, revealing where connectivity might be failing.
Question
Options
- Aps
- Bnetstat
- Cnslookup
- Difconfig
- Etraceroute
How the community answered
(46 responses)- A2% (1)
- B11% (5)
- C2% (1)
- D4% (2)
- E80% (37)
Why each option
The `traceroute` command helps diagnose network path issues by showing the route packets take to a destination, revealing where connectivity might be failing.
`ps` displays information about running processes on the local system, not network path issues.
`netstat` displays network connections, routing tables, and interface statistics on the local machine, but it doesn't map the full network path to a remote host.
`nslookup` is used for querying DNS servers to resolve hostnames to IP addresses, which is not directly for locating a failed network gateway.
`ifconfig` (or `ip` in modern Linux) displays and configures network interface parameters on the local system, but it does not trace network paths.
`traceroute` sends packets to a destination and displays the IP addresses of all intermediate routers (hosp) along the path, allowing an administrator to identify a failed gateway by observing where the packets stop or encounter high latency. By tracing the route to an external destination, the output can pinpoint the last reachable hop before a suspected failed gateway.
Concept tested: Network troubleshooting with traceroute
Source: https://man7.org/linux/man-pages/man8/traceroute.8.html
Topics
Community Discussion
No community discussion yet for this question.