LFCS · Question #296
An administrator suspects that a gateway machine on their network has failed; the administrator is unsure which machine is the problem. Which of the following commands will help locate the problem…
The correct answer is E. traceroute. To identify which specific hop or machine is failing along a network path to a destination, the traceroute command should be used.
Question
Options
- Aps
- Bnetstat
- Cnslookup
- Difconfig
- Etraceroute
How the community answered
(20 responses)- A15% (3)
- B5% (1)
- C5% (1)
- E75% (15)
Why each option
To identify which specific hop or machine is failing along a network path to a destination, the `traceroute` command should be used.
`ps` lists running processes on the local machine and provides no network path information.
`netstat` displays network connections, routing tables, and interface statistics on the local machine, but doesn't trace the path to a remote host.
`nslookup` (or `dig`) is used for DNS queries and resolving hostnames to IP addresses, not for tracing network paths.
`ifconfig` (or `ip addr`) displays and configures network interface parameters on the local machine, but doesn't show the path to a remote host.
The `traceroute` command maps the network path between a source and a destination, showing each intermediate router (hop) and the time taken for packets to reach it. By observing where the packets stop or where latency spikes, an administrator can pinpoint the failing gateway or router along the path.
Concept tested: Network path diagnostics
Source: https://manpages.ubuntu.com/manpages/jammy/en/man8/traceroute.8.html
Topics
Community Discussion
No community discussion yet for this question.