ping, one echo per page
Twenty-eight lessons on what ping is: a network management utility used to test the reachability of a host on an Internet Protocol network, written by Mike Muuss in December 1983, named for the sound sonar makes; the law of one echo per page; the echo request and echo reply, type 8 and type 0, the code, the checksum, the identifier and sequence, and the payload that carries a timestamp; the numbers of a reply: ttl, time, icmp_seq, min/avg/max/mdev; the dials: count, interval, the ttl ceiling, quiet mode and the 56(84) first line; the honest failures: total silence, type 3 unreachable, filtered but alive, and the name in the first line; the family: ping6 and ICMPv6 128 and 129, the flood warning, the traceroute neighbor, RTT and latency; the long view: rate limits, the MTU edge, one honest hour and the last echo.
One request, one reply, one round trip. That is the honest echo.
ping, one echo per page
Twenty-eight lessons on what ping is: a network management utility used to test the reachability of a host on an Internet Protocol network, written by Mike Muuss in December 1983, named for the sound sonar makes; the law of one echo per page; the echo request and echo reply, type 8 and type 0, the code, the checksum, the identifier and sequence, and the payload that carries a timestamp; the numbers of a reply: ttl, time, icmp_seq, min/avg/max/mdev; the dials: count, interval, the ttl ceiling, quiet mode and the 56(84) first line; the honest failures: total silence, type 3 unreachable, filtered but alive, and the name in the first line; the family: ping6 and ICMPv6 128 and 129, the flood warning, the traceroute neighbor, RTT and latency; the long view: rate limits, the MTU edge, one honest hour and the last echo.
Set in Space Grotesk, Inter and JetBrains Mono (SIL Open Font License).
An honest book about its demos: ping from iputils 20240117 ran on the machine that built this book, and every quoted output line in these pages was captured from those real runs (the loopback, the WAN address 1.1.1.1, a lookup by name, quiet mode, a 1200-byte payload, a 0.4-second interval, a limited ttl, and one address that never answered with 100% packet loss), quoted verbatim from the captured run log. No ping output was invented. Every other fact is as the primary source states it, fetched and read during this build: the Wikipedia articles Ping (networking utility), Internet Control Message Protocol, ICMPv6, Round-trip delay, Latency (engineering) and Traceroute, cached verbatim beside this book. No facts come from Reddit, Stack Overflow, vendor blogs or commercial sites. Every lesson that describes a practice exercise carries the label 'this book's plan', never posing as a captured fact. Independent, not affiliated with any vendor or the Wikimedia Foundation.
Your purchase is for personal use only. You do not have redistribution rights: please do not share, resell, or republish this book or its pages.
© 2026 Steve Hodgkiss. All rights reserved. Personal use only; no redistribution rights.
Edition 1.0 · stevehodgkiss.net
Contents
Per this book's plan, the law of this book is: ping from iputils 20240117 ran on the machine that built it, every captured output quoted in these pages traces verbatim into the captured run log, and every practice exercise carries the label this book's plan.
The first reply
Before the first echo, the law. This book is honest about its demos: ping from iputils 20240117 ran on the machine that built it, and every captured line in these pages is quoted exactly as the run printed it.
A real local run, the first reply the box ever earned: 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.109 ms. Loopback, so the echo never left the machine.
Every exercise this book suggests carries the label this book's plan, never posing as a captured fact.
Ask of any technical page: did the demo really run, and where does the quote come from?
Per the Wikipedia Ping (networking utility) article, the checksum is the 16-bit ones' complement of the ones' complement sum of the ICMP packet, starting with the Type field and including the Payload, and the IP header is not included.
The checksum
Per the article, the checksum is the 16-bit ones' complement of the ones' complement sum of the ICMP packet, starting with the Type field, payload included, while the IP header is not included.
It is a cheap guard, not a strong one: it catches the torn bit, not the forged packet. The reply carries its own checksum, computed over what came back.
One number rides along to say the bytes survived the road; the silence lesson shows what no surviving reply looks like.
Which bytes does the checksum protect, and which header does it deliberately skip?
Per the Wikipedia Ping (networking utility) article, most Linux systems use a unique Identifier for every ping process and Sequence number is an increasing number within that process, Windows uses a fixed Identifier and a Sequence number that is only reset at boot time, and the fields can be used by the client to match the reply with the request that caused the reply.
icmp_seq
Per the article, most Linux systems use a unique Identifier for every ping process, and Sequence number is an increasing number within that process.
Windows differs: a fixed Identifier, and a Sequence number only reset at boot time. Both fields exist to match the reply with the request that caused the reply.
A real local run, first lines: icmp_seq=1, then 2, then 3. The count on the page is the count on the wire.
Two ping processes run at once; which field keeps their replies untangled?
Per the Wikipedia Ping (networking utility) article, the payload is optional and can be an arbitrary length left to implementation detail, and a packet including IP and ICMP headers must not be greater than the maximum transmission unit of the network or risk being fragmented; per real local runs captured at dispatch, the default first line read 56(84) bytes and a run with a 1200-byte payload read 1200(1228) bytes.
56(84) bytes
The first line does arithmetic in public. A real local run: PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data. Fifty-six payload bytes, eighty-four on the wire: twenty-eight bytes of headers.
Ask for more and the line grows. With the size dial at 1200, the same machine printed PING 1.1.1.1 (1.1.1.1) 1200(1228) bytes of data.
Per the article, the payload can be an arbitrary length, yet a packet must not be greater than the maximum transmission unit of the network, or risk being fragmented.
The payload grew by 1144 bytes; why did the wire total grow by exactly the same?
Per the Wikipedia Ping (networking utility) article, the invocation example sends five probes to www.example.com and the first output line reads PING www.example.com (93.184.216.34): 56 data bytes; per a real local run captured at dispatch, the first line for books.stevehodgkiss.net named a vercel-dns host at 216.150.16.193.
Ping by name
Give ping a name and the first line reports the lookup. The article's example opens PING www.example.com (93.184.216.34): 56 data bytes.
A real local run: PING 30a038ef4eca81a9.vercel-dns-016.com (216.150.16.193) 56(84) bytes of data. The name you typed resolves to a host name you did not.
One line, two identities: the alias you asked for and the address that answers, the reply signed 64 bytes from 216.150.16.193: icmp_seq=1 ttl=249 time=2.89 ms.
Which part of the first line is DNS work, and which part is pure ping?
Per the Wikipedia Ping (networking utility) article, to conduct a denial-of-service attack an attacker may send ping requests as fast as possible, possibly overwhelming the victim with ICMP echo requests, this technique is called a ping flood, and ping requests to multiple addresses may be used to obtain a list of all hosts on a network; per the Wikipedia Internet Control Message Protocol article, in the Ping of death large or fragmented ICMP packets are used for denial-of-service attacks.
Flood warning
Per the article, an attacker may send ping requests as fast as possible, possibly overwhelming the victim with ICMP echo requests; the technique is called a ping flood.
Sweeps go wide: ping requests to multiple addresses can list every host on a network. And per the Wikipedia Internet Control Message Protocol article, the Ping of death used large or fragmented ICMP packets for denial of service.
The same smallness that makes one echo harmless makes a million of them a flood: politeness is a security property.
One million echoes per second is not a measurement; what does that make it?
Per the Wikipedia Ping (networking utility) article, ping measures the round-trip time for messages echoed back to the source, and the program reports errors, packet loss and a statistical summary of the results. Per this book's plan, the handoff is four moves: read one reply line, run one quiet summary, question one silent address, remember which runs are real.
The last echo
The handoff, per this book's plan, is four moves: read one reply line, run one quiet summary, question one silent address, and remember which runs are real.
The first move takes ten seconds: one line holds bytes, address, sequence, ttl and time, the whole echo compressed to a sentence.
The habit outlasts the tool: whoever can read one echo can question any network honestly, one round trip at a time.
Teach the four moves to one friend this month; one honest echo beats a thousand guesses.