nerdexam
Linux_Foundation

LFCS · Question #506

Which of the following commands manipulates the TTL (Time to Live) field in the IP protocol in order to get ICMP responses from gateways along the path to a host?

The correct answer is E. traceroute. The traceroute command utilizes the TTL field to map the network path between a source and destination by progressively increasing the TTL.

Submitted by neha2k· Apr 18, 2026Networking

Question

Which of the following commands manipulates the TTL (Time to Live) field in the IP protocol in order to get ICMP responses from gateways along the path to a host?

Options

  • Adig
  • Bhost
  • Cping
  • Dtcpdump
  • Etraceroute

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    3% (1)
  • E
    94% (31)

Why each option

The `traceroute` command utilizes the TTL field to map the network path between a source and destination by progressively increasing the TTL.

Adig

`dig` is a DNS lookup utility.

Bhost

`host` is a simple utility for performing DNS lookups.

Cping

`ping` sends ICMP echo requests to test connectivity to a single host and does not systematically vary TTL to map a path.

Dtcpdump

`tcpdump` is a packet analyzer that captures and displays network traffic, not a tool for path discovery.

EtracerouteCorrect

The `traceroute` command works by sending packets with incrementally increasing TTL values. Each router that receives a packet with a TTL of 1 (or 0 after decrementing) will drop it and send an ICMP 'Time Exceeded' message back to the source, allowing `traceroute` to identify each hop along the path.

Concept tested: Network path discovery (traceroute)

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

Topics

#traceroute#TTL#ICMP#Network Diagnostics

Community Discussion

No community discussion yet for this question.

Full LFCS Practice