We earn commission when you buy through affiliate links.

This does not influence our reviews or recommendations.Learn more.

Ping is one of the most used networking commands.

Article image

First of all, lets see what ping is.

What is Ping?

Maybe, youve seenpingin normal conversations, for example, Ill ping you once Im done with the work.

Google statistic of IPv6 adoption worldwide

In common language, ping simply means a message sent from a computer to another.

How does Ping work?

The basic idea of Ping is to ascertain connectivity between two devices.

Geekflare’s PING online tool result page

Its generally given in milliseconds; half of this value is known as Ping.

In most cases, you should see something like this.

If you get a help section with a list of flags to use, youre good to go.

geekflare ping API

In some Linux distributions like Ubuntu, you may have trouble because ping isnt installed by default.

The ping command connects to any host available, whether in your local online grid or over the internet.

That host can be another computer, server, router, or even a printer.

Ping accepts one argument, which is the web or IP address youre trying to connect to.

For example, well venture to connect to geekflare.com.

Then, it sends packets of bytes of data (usually 64) to the desired destination.

That means both your internet connection and the hosting service that serves the IP address is working perfectly.

Shortly explained, IPv4 is the core IP protocol that runs the web.

It uses a 32-bit IP address, including a numeric-dot notation.

On the other hand,IPv6is another IP protocol that solves the problem of getting out of address.

If IPv4 has up to4.3 billioncombinations, IPv6 could have340 trillion trillion trillion IP addresses.

Here is an example of an IPv6 address:2001:db8:3333:4444:5555:6666:7777:8888.

However, the best way to ping an IPv6 address is using the-6flag.

Heres an example:

If your internet doesnt support IPv6 yet, dont worry.

IPv6 adaption has been growing ginormously in recent years.

Use theIPv6 testing toolto look to see if your website supports it.

How to run a ping test online?

Check out our freeonline ping tool, and perform pings from London, Mumbai, and Oregon.

Command Examples

Lets test and see some of the frequently used examples of this networking tool.

#1.

If you dont get any response, its likely your Internet connection isnt working properly.

For example, if you want to ping exactly three times, you would do.

The default interval is one second, but you might modify it with the-iflag.

Ping wont pass through a physical connection interface but through a virtual loopback.

Note that some requests may not work if you send a big size packet.

#7.Flood ping

The-fflag sends ping requests as fast as your box and web link can.

The only situation you should use this is to testyourserver in high-intensity environments.

This can prove vital for keeping tabs on a range of servers to ensure an optimal end-user experience.

Conclusion

A ping is a tool practically as old as the Internet itself.

Dont forget to use ourPING test tool, along with our entiretoolbox, to test your site.