Bitzu

100-150 CCST ยท Troubleshooting and device commands

Ping and traceroute

Using ping and tracert/traceroute, reading replies, timeouts and hop lists, and how firewalls can change the results.

Key points

  • ping sends ICMP echo requests and shows replies and round-trip times; no reply shows as a timeout. tracert (Windows) or traceroute (Linux/macOS) sends packets with increasing TTL so each router on the path reveals itself; a hop that does not answer appears as asterisks.
  • Firewalls may drop ICMP, so a failed ping or a silent hop does not prove the host or router is down.

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/tracert

Practice questions

Single choice

Which protocol does the ping command use to test reachability?

  1. ICMP
  2. DNS
  3. DHCP
  4. HTTP
Show answer

Answer: A. ICMP

ping sends ICMP echo request messages and waits for echo replies. TCP and DNS are not used by ping itself.

Select all that apply

Which statements about reading tracert output are true?

  1. Each numbered line is a hop on the path
  2. A line of asterisks always means the destination is offline
  3. Asterisks mean no reply arrived within the timeout
  4. tracert works by sending packets with increasing TTL values
  5. tracert only shows the destination, never the routers
Show answer

Answer: A. Each numbered line is a hop on the path, C. Asterisks mean no reply arrived within the timeout, D. tracert works by sending packets with increasing TTL values

Each hop is a router that returned a time-exceeded message and asterisks mean no answer within the timeout, often because of filtering. They do not automatically mean the destination is down.

True or false

If ping to a host fails, the host is definitely offline.

Show answer

Answer: False

False. A firewall or host setting may block ICMP echo while the host still works for other services.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More 100-150 CCST topics in this module