Skip to content

This guide isn’t available in 日本語 yet, so we’re showing the original English version.

Windows

How to Test Router Stability Using Ping Command

Run a continuous ping to your router and to a public server at the same time. Timeouts to the router point to Wi-Fi or router problems; timeouts only to the internet point to your modem or provider. High or jumpy times show congestion or interference.

Updated
Time
15 minutes
Difficulty
Medium
Applies to
Windows, Mac

By Published Oct 6, 2026

Quick answer

  1. 1 Find your router address (ipconfig > Default Gateway).
  2. 2 Open two Terminal windows.
  3. 3 In one, run ping -t 192.168.1.1 (your router). In the other, run ping -t 1.1.1.1.
  4. 4 Leave them running while you use the internet; press Ctrl + C to stop and see statistics.
  5. 5 Compare timeouts and times between the two.
On this page
  1. Before you start
  2. Run two continuous pings
  3. Log results to a file
  4. Troubleshooting
  5. Frequently asked questions

Before you start

  • A computer (ideally on Ethernet for a baseline)

Method 1 Run two continuous pings

  1. Step 1: Find the router address

    Run ipconfig and note Default Gateway (e.g. 192.168.1.1).

  2. Step 2: Ping the router

    In Terminal, run ping -t 192.168.1.1 (Mac/Linux: ping 192.168.1.1).

  3. Step 3: Ping the internet

    In a second window, run ping -t 1.1.1.1.

  4. Step 4: Stop and read

    After a while (or when a drop happens), press Ctrl + C for a summary of lost packets and min/max/average times.

Continuous ping commands
ping -t 192.168.1.1      (router, Windows)
ping -t 1.1.1.1          (internet, Windows)
ping 1.1.1.1             (Mac/Linux, stop with Ctrl+C)
Reading the results
What you see Likely cause
Router ping times out or spikes Wi-Fi interference, weak signal or a struggling router
Router fine, internet times out Modem/provider connection drops
Internet time high only when busy Bufferbloat or congestion
Both fine but apps drop DNS or application issue

Method 2 Log results to a file

  1. Step 1: Add timestamps (PowerShell)

    Use the PowerShell command below to save each result with a timestamp, useful evidence for your provider.

Timestamped ping log (PowerShell)
ping.exe -t 1.1.1.1 | ForEach-Object { "{0} - {1}" -f (Get-Date), $_ } | Tee-Object -FilePath "$HOME\Desktop\pinglog.txt"

Troubleshooting

“Destination host unreachable”

Your PC lost its connection to the network. Check Wi-Fi/Ethernet status.

Router times are 1–2 ms on cable, 5–30 ms on Wi-Fi

That’s normal. Spikes to hundreds of ms are not.

Frequently asked questions

What is a normal ping to the router?

Under 2 ms on Ethernet and under 10 ms on good Wi-Fi.

How long should I run the test?

Long enough to catch a drop: an hour or through the time drops usually happen.

Summary

Ping your router and 1.1.1.1 continuously at the same time. Router problems show on both; provider problems only on the internet ping. Log results with timestamps to show your provider.

Sources

Written by

James Chambo

Founder

James is the Founder and Senior Editor of OnlineHow with more than 20 years of experience in internet publishing.