How to Perform a Computer Ping Test And When You Need To

How to Perform a Computer Ping Test And When You Need To

How to Perform a Computer Ping Test (And When You Need To) GA S REGULAR Menu Lifewire Tech for Humans Newsletter! Search Close GO Software & Apps > Windows 117 117 people found this article helpful

How to Perform a Computer Ping Test (And When You Need To)

Diagnose potential network problems with this useful tool

By Bradley Mitchell Bradley Mitchell Writer Massachusetts Institute of Technology University of Illinois An MIT graduate who brings years of technical experience to articles on SEO, computers, and wireless networking. lifewire's editorial guidelines Updated on September 8, 2021 Reviewed by Jon Fisher Reviewed by Jon Fisher Wichita Technical Institute Jonathan Fisher is a CompTIA certified technologist with more than 6 years' experience writing for publications like TechNorms and Help Desk Geek. lifewire's editorial guidelines Tweet Share Email Tweet Share Email Windows The Ultimate Laptop Buying Guide

What to Know

To ping test a networked device, type the command ping, space, the IP address of the device, and Enter.To ping test a website, type the command ping, space, the hostname, and Enter. This article explains how ping tests work, pinging networked devices, reading a ping test, and ping testing limitations for versions of Windows that run Command Prompt, which includes Windows 11, 10, 8, 7. Ping tests are not the same as internet speed tests. A ping tests whether a connection can be made; a ping does not determine the connection speed.

How Ping Tests Work

Ping uses the Internet Control Message Protocol (ICMP) to generate requests and handle responses. When you execute a ping test, it sends ICMP messages from the local device to the remote one. The receiving device recognizes the incoming messages as an ICMP ping request and replies accordingly. The elapsed time between sending the request and receiving the reply on the local device is the ping time.

How to Ping Networked Devices

In the Windows operating system, the ping command runs ping tests. It's built into the system and is executed through the Command Prompt. You must know the IP address or hostname of the device to be pinged. To avoid issues with DNS, use the IP address. If DNS doesn't find the correct IP address from the hostname, the problem might rest with the DNS server and not with your device. The Windows command to run a ping test against a router with the 192.168.1.1 IP address looks like this: ping 192.168.1.1

The syntax to run a ping test against a website with the hostname lifewire.com looks like this: ping lifewire.com

If you want to do things like adjust the timeout period, the Time To Live value, or the buffer size, modify the ping command syntax.

How to Read a Ping Test

When a ping is sent to a website such as lifewire.com, the result looks like this: Pinging lifewire.com [151.101.1.121] with 32 bytes of data:
Reply from 151.101.1.121: bytes=32 time=20ms TTL=56
Reply from 151.101.1.121: bytes=32 time=24ms TTL=56
Reply from 151.101.1.121: bytes=32 time=21ms TTL=56
Reply from 151.101.1.121: bytes=32 time=20ms TTL=56
Ping statistics for 151.101.1.121:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 20ms, Maximum = 24ms, Average = 21ms

The IP address in this example belongs to Lifewire, which is what the ping command tested. The 32 bytes is the buffer size, and it's followed by the response time. The result of a ping test varies depending on the quality of the connection. A good broadband internet connection results in ping test latency of less than 100 ms, and often less than 30 ms. A satellite internet connection may have a latency that is greater than 500 ms.

Limitations of Ping Testing

Ping accurately measures connections between two devices at the time a test is run. Network conditions change at a moment's notice, which makes old test results irrelevant. Additionally, internet ping test results vary greatly depending on the target server that's chosen. To get maximum value from ping testing, choose ping tools that are easy to use and point them at the correct servers and services you want to troubleshoot. Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Subscribe Tell us why! Other Not enough details Hard to understand Submit More from Lifewire How to Solve a Destination Host Unreachable Error How to Ping a Computer or a Website How to Use an IP Address to Find a MAC Address How to Use the Ping Command in Windows What Is an IP Address? How to Use the Netstat Command on Mac DNS Servers: What Are They and Why Are They Used? How to Test Your VoIP Connection The Best Free and Public DNS Servers (October 2022) What Is a Hostname? (Host Name Definition) How to Perform a Netsh Winsock Reset Private IP Addresses: Everything You Need to Know How to Change DNS Servers in Windows How to Look up an IP Address Owner Free Ping Tools for Network Troubleshooting What Is a DNS Cache and How Does It Work? Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Cookies Settings Accept All Cookies
Share:
0 comments

Comments (0)

Leave a Comment

Minimum 10 characters required

* All fields are required. Comments are moderated before appearing.

No comments yet. Be the first to comment!