Ping Was Named for Sonar, Not an Acronym

Ping: A Sonar Sound, and Maybe an Acronym Too

Mike Muuss wrote ping for Unix in December 1983 to debug a network, using ICMP echo request and reply. Where the sonar name comes from, where "Packet InterNet Groper" fits, and how the tiny tool spread.

The Unix ping utility — the small program that asks whether another machine is reachable and how long a round trip takes — was written by Mike Muuss in December 1983 to debug a network problem, and it works by sending an ICMP echo request and waiting for the echo to come back. Muuss named it for sonar: a ship sends a pulse into the water and listens for the return, and the delay tells you something is out there and how far. By Muuss's account the popular expansion "Packet InterNet Groper" is not what his program's name stood for, but the phrase was already in print that same month: RFC 889, a December 1983 memo by Dave Mills, uses it for a measurement program on hosts called Fuzzballs. This piece explains what ping does, where the name comes from, and how such a tiny tool became one of the most widely available TCP/IP tools.

What ping does, precisely

Ping answers a deceptively basic question: can this machine reach that one, and if so, how quickly? You give it a destination, and it reports back whether replies are arriving and how long each round trip takes, often in milliseconds. That is the whole job. It does not transfer files, serve pages, or carry conversations; it establishes the most fundamental fact about a network link, which is whether the link is there at all.

It does this using a part of the internet protocol suite built for exactly this kind of housekeeping: the Internet Control Message Protocol, or ICMP, defined in RFC 792 in 1981. ICMP carries control and diagnostic messages rather than user data, and two of its message types are the echo request and the echo reply. Ping sends an echo request to a target; if the target is reachable and willing to answer, it sends an echo reply straight back. By timing the gap between sending the request and receiving the reply, ping measures the round-trip time. It is worth saying plainly at the start what ping is not: it is a diagnostic, a way to ask a question and read the answer. The fact that the same echo mechanism was later abused to overwhelm machines is a misuse that came afterward, not what the tool was for.

December 1983: Mike Muuss writes ping for Unix

The author wrote the origin down himself. Mike Muuss, working at the United States Army's Ballistic Research Laboratory, ran into odd behavior on the laboratory's IP network and recalled an offhand remark Dave Mills had made that July about measuring path latency with timed ICMP echo packets on his "Fuzzball" LSI-11 systems. In his own account of the program, he describes writing ping for Unix in a single evening in December 1983 in response.

What he produced was small and focused. It leaned on the ICMP echo mechanism that already existed, so ping did not need to invent a new protocol; it needed to send the request, wait, and report, along with the kernel support for raw ICMP sockets that Muuss found missing and wrote the same night. That economy may be part of why it has lasted. A program that does one narrow thing, depends on a standard already in place, and reports its result clearly can outlive far more elaborate tools. Ping was not a grand project or a committee's design. It was a working programmer's response to an immediate problem, written quickly because the problem was in front of him, and it happened to answer a question that people on a network keep needing to ask.

Two accounts of the name

The name has more than one story attached to it, so it is worth being exact. Muuss named his program after the sound that sonar makes. A vessel using active sonar emits a pulse of sound into the water and listens for the echo that bounces back off whatever is out there; the time it takes for the echo to return reveals distance, and the very fact of an echo reveals that something is present. Ping does the network version of the same act: it sends a pulse to a host and listens for the return, and the timing of the reply tells you the host is reachable and how far away it is in network terms. The name is onomatopoeia, chosen because the behavior maps so cleanly onto the sonar image.

The widespread belief that "ping" stands for "Packet InterNet Groper" is easy to dismiss as a backronym — an acronym reverse-engineered to fit a word that already existed — but the sources cited here do not settle it that way. Mills's RFC 889, dated the same month as Muuss's program, describes "the original PING (Packet InterNet Groper) program" on a Fuzzball and says it had been used over the last six years for numerous tests and measurements of the internet system and its client networks; it does not say how long the program had carried that name. A 1991 glossary, RFC 1208, gives the same expansion. Muuss was clear that, from his point of view, the name was a sonar analogy and not an acronym, though he added that he had heard second-hand that Mills offered the expansion, "so perhaps we're both right." The distinction matters here for the same reason it matters throughout these accounts: the full account is more interesting than the convenient one. For Muuss, ping was a sound borrowed from a technology of pulses and echoes; in Mills's memo, the same word carried an expansion.

How something so small spread so widely

Ping is a natural program to reach for when a network misbehaves, and by June 1997 RFC 2151 was describing it as one of the most widely available tools bundled with TCP/IP software packages. That spread is worth explaining rather than assuming. When something will not load, one basic question is the one ping answers: is the other machine reachable at all? If ping gets replies, the basic path is likely intact and the problem likely lies elsewhere; if it gets none, the trouble may be more fundamental, or a firewall along the way may simply be dropping echo requests. That single bit of information can narrow the search, which makes ping a useful first step.

The round-trip time it reports added a second kind of visibility. Mills's Fuzzball program was already recording the elapsed times of ICMP echo messages; ping put that kind of number within reach of people running Berkeley Unix. The people at Berkeley, Muuss writes, eagerly took in the program, and it has been a standard part of Berkeley Unix ever since. The table traces how the tool fits into its moment.

PeriodMilestoneWhat it contributed
Early 1980sIP and ICMP definedThe echo request/reply mechanism ping would use
December 1983Muuss writes ping for UnixA one-evening tool to test reachability and round-trip time
Later 1980s onwardPing becomes standardA widely available first check in diagnosing network trouble
Subsequent yearsTraceroute and other toolsDiagnosis extended along the network path

The table shows ping arriving on top of an existing protocol and then becoming a fixture, with later tools taking diagnosis further along the path.

From ping to traceroute and beyond

Ping answers two questions — reachable or not, and how fast — but it treats the network between you and the destination as a single hop. The natural next question is where along the path a problem lies, and that is what later diagnostics addressed. Traceroute, for instance, coaxes the routers along the route into identifying themselves, turning a single round-trip measurement into a map of the path, as far as those routers answer. In the program's source comments, its author, Van Jacobson, says he took the idea from Steve Deering; Muuss, for his part, writes that Jacobson used his kernel ICMP support to write it. The logic carries over: once you can ask "are you there?" of one host, you can put the question to the routers between here and there.

That is the quiet importance of a tool written in an evening. Ping did not change what networks could do; it changed how readily anyone could see whether they were doing it. The accuracy of its small history is part of the point. It was a diagnostic, not a weapon. Its author named it for sonar, even as a memo dated the same month gave the same word as an acronym. And it spread, by Muuss's account, when Berkeley took it into its Unix and then, because it was free, through ports to many other systems, while the question it answered stayed useful whenever a connection went quiet.

Project Inquiry