nerdexam
Linux_Foundation

LFCS · 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. To identify a failed gateway machine along a network path, the traceroute command is used to trace the route packets take, revealing the sequence of intermediate routers (hops).

Submitted by layla.eg· Apr 18, 2026Networking

Question

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?

Options

  • Aps
  • Bnetstat
  • Cnslookup
  • Difconfig
  • Etraceroute

How the community answered

(41 responses)
  • A
    2% (1)
  • B
    7% (3)
  • C
    5% (2)
  • D
    12% (5)
  • E
    73% (30)

Why each option

To identify a failed gateway machine along a network path, the `traceroute` command is used to trace the route packets take, revealing the sequence of intermediate routers (hops).

Aps

The `ps` command displays information about running processes on the local system, which is unrelated to network path or connectivity issues to a gateway.

Bnetstat

The `netstat` command shows network connections and routing tables on the local machine but does not provide a hop-by-hop trace to diagnose where a gateway is failing along a path to an external destination.

Cnslookup

The `nslookup` command queries DNS servers for domain name resolution and is not directly used to locate a failed network gateway.

Difconfig

The `ifconfig` command configures and displays network interface parameters on the local machine and does not provide information about network path or external gateway status.

EtracerouteCorrect

The `traceroute` command diagnoses routing issues by sending packets with incrementing Time-To-Live (TTL) values, causing intermediate routers (gateways) to return ICMP 'Time Exceeded' messages. This process reveals the sequence of hops and latency to each, making it effective for identifying precisely where connectivity might be failing to a gateway or beyond.

Concept tested: Network path diagnosis (`traceroute`)

Source: https://man7.org/linux/man-pages/man8/traceroute.8.html

Topics

#Network troubleshooting#Gateway failure#traceroute#Connectivity

Community Discussion

No community discussion yet for this question.

Full LFCS Practice