GigLad

Article · IT support

How to Use the ping Command to Troubleshoot a Connection

ping asks another device "are you there?" and times the answer. Use it three times in the right order and it can show you where a fault starts.

By GigLad LearningPublished Reading time about 3 minutes

The short answer

  • ping checks whether another device answers over the network.
  • Test in order: gateway, internet address, name.
  • If the address works but the name fails, suspect DNS.
  • No reply isn't proof of a fault. Some devices ignore ping on purpose.

1. What ping does

ping sends a small message called an echo request and waits for a reply. On Windows it sends four by default.

A real result (we ran ping 1.1.1.1 on Windows 11 on 2 December 2026)Reply from 1.1.1.1: bytes=32 time=50ms TTL=46
Reply from 1.1.1.1: bytes=32 time=66ms TTL=46
Reply from 1.1.1.1: bytes=32 time=43ms TTL=46
Reply from 1.1.1.1: bytes=32 time=36ms TTL=46
Sent = 4, Received = 4, Lost = 0 (0% loss). Average = 48ms

All four came back, so the path worked. The times varied from 36 to 66 milliseconds, which shows why one reply isn't enough to judge a connection. Your times will differ.

PartMeaning
Reply fromThe device that answered
timeHow long the reply took
LostHow many got no answer
Request timed outNothing came back in time
could not find hostThe name couldn't be turned into an address

2. Three tests, in order

  1. Find the gateway. Run ipconfig and note Default Gateway.
  2. Ping the gateway. For example, ping 192.168.1.1.
  3. Ping an internet address your team allows, such as ping 1.1.1.1.
  4. Ping a name, such as ping example.com.
GatewayInternet addressNameLikely area
Fails––Wi-Fi, cable or router
WorksFails–The link beyond the router
WorksWorksFailsDNS (name lookups)
WorksWorksWorksLook at the app, account or website

Treat this as a clue, not a verdict. Firewalls can block ping while everything else works.

3. Four useful options

CommandUse it to
ping -n 10 addressSend 10 messages instead of 4
ping -t addressKeep going until you press Ctrl+C
ping -a addressTry to show the name for an address
ping -4 nameUse IPv4 for a name
Stop a continuous ping

Press Ctrl+C. Don't leave one running, and don't ping systems you have no reason to test.

Cover of the First Paid IT Support Role Starter Kit

Free Starter Kit

First Paid IT Support Role Starter Kit

A job-title search list, a UK salary research sheet and a practice-to-interview checklist.

Get the free Starter Kit

4. Patchy connections

Some calls aren't "dead", just unreliable. Send more messages to the gateway first: ping -n 20 192.168.1.1.

  • Losses to the gateway: look at Wi-Fi signal, the cable or the router.
  • Gateway fine, losses further out: the problem may be beyond the user's equipment.
  • Times jump around: ask what else is using the connection.

Ask the user to repeat the test near the router or on a cable. One change at a time tells you more.

5. Put it in the ticket

Copy and adaptUser: [name]. Device: [name]. On [Wi-Fi/cable]. Gateway [address]: [4/4 replies]. Internet address: [result]. Name: [result]. Others affected: [yes/no]. Next step: [action].

6. Five-minute practice

  • Find and ping your gateway
  • Ping an internet address
  • Ping a name
  • Turn Wi-Fi off and compare the messages
  • Explain each result aloud in one sentence

Talking through this order is good practice for the interview section of our guide.

Paid course on GigLad Learning

Help Desk Technician for Beginners

A video course with a ten-ticket lab, a practical workbook, a CV bullet builder, interview preparation and a 30-day practice plan, plus a final assessment and certificate.

View the course

Sources

  • Microsoft Learn, ping, checked 2 December 2026.
  • GigLad Learning, Help Desk Technician for Beginners, chapter 8 (the order of checks). Test result: our own, on 2 December 2026.

Keep learning

Educational content. No income, job or results are guaranteed.