What is a ping and how does it work? (2024)

What is a ping and how does it work? (1)

By

  • Andrew Zola

What is a ping?

A ping (Packet Internet or Inter-Network Groper) is a basic Internet program that allows a user to test and verify if a particular destination IP address exists and can accept requests in computer network administration. The acronym was contrived to match the submariners' term for the sound of a returned sonar pulse.

Ping is also used diagnostically to ensure that a host computer the user is trying to reach is operating. Any operating system (OS) with networking capability, including most embedded network administration software, can use ping.

For example, to find the dot address, such as 205.245.172.72, for any given domain name, Windows users can go to the command prompt screen (start/run/cmd) and enter ping xxxxx.yyy, where xxxxx is the second-level domain name, like "whatis," and yyy is the top-level domain name, like "com."

What is a ping and how does it work? (2)

Ping on a speed test

The term is also used to test and determine how fast a data signal travels from one place, like a computer, to another, like a website. Ping is also used to troubleshoot and test connectivity and determine response time.

How does ping work?

Ping works by sending an Internet Control Message Protocol (ICMP) Echo Request to a specified interface on the network and waiting for a reply. When a ping command is issued, a ping signal is sent to a specified address. When the target host receives the echo request, it responds by sending an echo reply packet.

This approach serves two specific purposes: verifying that the target host is available and determining round-trip time (RTT) or latency.

RTT is a measure of how long it took to receive a response. Measured in milliseconds (ms), the process starts when a browser sends a request to a server and is completed when a response from the server is received. RTT is a key performance metric of web applications.

By default, ping commands send multiple requests -- usually four or five -- and display the results. The echo ping results show whether a particular request received a successful response. It also includes the number of bytes received and the time it took to receive a reply or the time-to-live.

What is a ping and how does it work? (3)

How to use ping in troubleshooting?

Echo requests and echo responses form the standard for troubleshooting ICMP messages. Virtually every OS with network support includes ping for troubleshooting purposes. However, the exact implementation varies slightly among manufacturers.

Ping is the cornerstone of standard network troubleshooting. For example, an IP address can be pinged by typing in 172.168.9.13. If the ping is successful, it means that it is on, and the two machines can talk to each other.

However, if the ping is successful but the response time is long, it indicates network congestion, routing or speed issues. Even pings that are unsuccessful offer valuable troubleshooting information. When it comes to network speed tests, ping is the standard.

At its most basic, ping can run with just a ping command and a destination, such as the name or address of a remote host. Since ping is used as a command-line utility, it is easy to use in a variety of scripts. An administrator can run multiple pings, record how they were used and place the output of ping commands into a text file for later review.

What is ping spoofing?

In network security, ping spoofing involves threat actors who send fake information to a server. When this happens, the false data appears, acts like the original data packets and is transmitted to the server.

The receiver gets fake data and responds to the data packet with a third-party user instead of the original sender. On the receiver side, the server may receive unrequested data from the different address.

This helps hide the actual third-party user's address. Ping spoofing is difficult to detect.

What is a ping and how does it work? (4)

What is ping in gaming?

Ping is also useful for online gaming. It measures the time it takes for the signal to transmit from a computer or console to a server.

Measured in milliseconds, a ping rate over 150 ms generates noticeable lag that impacts gameplay. Professional gamers consider a ping rate under 50 ms to be ideal.

Ping in Discord

In Discord -- a chat and video app used mostly by gamers -- a ping is a notification, most often on a smartphone or personal computer. When someone sends a ping, it pops up on the phone screen or desktop application.

This was last updated in July 2021

Continue Reading About ping

  • Network performance metrics pose data center challenges
  • Network device discovery best practices -- other than ping sweeps
  • How to check for packet loss to manage call quality
  • How to improve network latency in 3 steps
  • Perform a network health check with network testing

Related Terms

packet coalescing
Packet coalescing involves using a computer's network interface card (NIC) to reduce the number of generated receive interrupts ...Seecompletedefinition
remote terminal unit (RTU)
A remote terminal unit (RTU) is a microprocessor-based electronic device used in an industrial control system (ICS) to connect ...Seecompletedefinition
What is network scanning? How to, types and best practices
Network scanning is a procedure for identifying active devices on a network by employing a feature or features in the network ...Seecompletedefinition

Dig Deeper on Network management and monitoring

  • DoS vs. DDoS: How they differ and the damage they causeBy: RaviDas
  • tracerouteBy: RobertSheldon
  • jitterBy: LindaRosencrance
  • persistent connectionBy: RahulAwati
What is a ping and how does it work? (2024)
Top Articles
Best Current Mortgage Rates in Canada
Buffett talks succession plan, pays tribute to Munger at annual meeting
Kostner Wingback Bed
Sprinter Tyrone's Unblocked Games
Libiyi Sawsharpener
Walgreens Pharmqcy
Part time Jobs in El Paso; Texas that pay $15, $25, $30, $40, $50, $60 an hour online
Truist Park Section 135
Comcast Xfinity Outage in Kipton, Ohio
Walgreens Alma School And Dynamite
How to Watch Braves vs. Dodgers: TV Channel & Live Stream - September 15
Cars For Sale Tampa Fl Craigslist
Epaper Pudari
Aktuelle Fahrzeuge von Autohaus Schlögl GmbH & Co. KG in Traunreut
Bjork & Zhulkie Funeral Home Obituaries
Guidewheel lands $9M Series A-1 for SaaS that boosts manufacturing and trims carbon emissions | TechCrunch
Diesel Mechanic Jobs Near Me Hiring
Wausau Obits Legacy
Ibukunore
V-Pay: Sicherheit, Kosten und Alternativen - BankingGeek
Curry Ford Accident Today
Robeson County Mugshots 2022
Riherds Ky Scoreboard
LCS Saturday: Both Phillies and Astros one game from World Series
Shreveport City Warrants Lookup
Conscious Cloud Dispensary Photos
Wonder Film Wiki
The Collective - Upscale Downtown Milwaukee Hair Salon
Joann Fabrics Lexington Sc
Sacramento Craigslist Cars And Trucks - By Owner
Cvs Sport Physicals
Ringcentral Background
Autotrader Bmw X5
Boondock Eddie's Menu
Royals op zondag - "Een advertentie voor Center Parcs" of wat moeten we denken van de laatste video van prinses Kate?
John F Slater Funeral Home Brentwood
Missouri State Highway Patrol Will Utilize Acadis to Improve Curriculum and Testing Management
Instafeet Login
Bismarck Mandan Mugshots
Google Chrome-webbrowser
Cygenoth
Sukihana Backshots
Davis Fire Friday live updates: Community meeting set for 7 p.m. with Lombardo
Low Tide In Twilight Manga Chapter 53
Setx Sports
Craigslist/Nashville
Ups Authorized Shipping Provider Price Photos
Mega Millions Lottery - Winning Numbers & Results
Sam's Club Gas Price Sioux City
House For Sale On Trulia
Suppress Spell Damage Poe
Craigslist Psl
Latest Posts
Article information

Author: Aron Pacocha

Last Updated:

Views: 6060

Rating: 4.8 / 5 (48 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Aron Pacocha

Birthday: 1999-08-12

Address: 3808 Moen Corner, Gorczanyport, FL 67364-2074

Phone: +393457723392

Job: Retail Consultant

Hobby: Jewelry making, Cooking, Gaming, Reading, Juggling, Cabaret, Origami

Introduction: My name is Aron Pacocha, I am a happy, tasty, innocent, proud, talented, courageous, magnificent person who loves writing and wants to share my knowledge and understanding with you.