ping4.network

Performs an ICMPv4 ping request using this online tool. For example, try 8.8.8.8 or google.com to check their ping4 response.

Interested in a ping6 request instead? Try ping6.network instead.

Checkout Ping4 stats.

When ping4 is called, an ICMPv4 packet is generated at the host calling the ping4 program. Most people are connected to the Internet by a router at their home, so the packet is sent there next, and then from the router to the ISP. If the ISP can find a route to the end host, it will forward the packet (perhaps across many more hops) until it reaches the ISP of the destination device (or perhaps some hosting provider network like AWS, GCP, Azure, etc).

At each hop along the way the Time-To-Live (TTL) field in the IPv4 packet is decreased. If the TTL field reaches 0, the ICMPv4 packet is dropped. An ICMP reply may also be sent back to the source indicating that the host is not reachable. This may also occur if a device along the path cannot locate a route to the destination.

If the packet does successfully reach the intended destination, the destination generates an ICMP-reply packet with a new TTL, which is then decreased for every hop on the route back to the source. When the ICMP-reply is received at the source, the ping program outputs a line of text with the round trip time (RTT) which is the time between when the packet was sent and when the reply was received.

If ping4 is called with a hostname instead of an Ipv4 address, it may kick off a DNS request to resolve the Ipv4 address of the hostname prior to generating the ICMPv4 packet.

ping4 sequence diagram