AX.25
termKept in this browser · My desk
The link-layer protocol of amateur packet radio: frames addressed by callsign, built on the HDLC family of standards and adapted to a shared radio channel where every station is an equal. Version 2.0 dates from 1984; version 2.2, published by TAPR in 1998, is the current reference.
AX.25 is how amateur radio carries data in packets. It underlies APRS position reports and the VHF and UHF links of Winlink's radio email. Its design choices come from radio: no master and slave, as on a wired data link, because every station shares the same channel; addresses are callsigns, so every frame identifies its sender, as amateur rules require.
What the standard says. The version 2.2 document (July 1998), by William Beech (NJ7P), Douglas Nielsen (N7LEM) and Jack Taylor (N7OO) for Tucson Amateur Packet Radio (TAPR), describes a link layer that delivers data reliably between two stations over many kinds of radio link, independent of any upper layer. It follows the International Organization for Standardization's High-level Data Link Control (HDLC) standards (ISO 3309 for the frame structure) and, for running many links on one shared channel distinguished by address, the principles of the International Telegraph and Telephone Consultative Committee (CCITT) Link Access Procedure on the D channel (LAP-D) recommendations, Q.920 and Q.921. It assumes both ends of a link are of the same class, because a master-and-slave arrangement does not suit a shared amateur channel, and it was improved for impaired high-frequency (HF) circuits. The document makes its System Description Language (SDL) diagrams the normative text: where prose and diagram disagree, the diagram wins.
History. Version 2.0 was published in 1984 by Terry Fox, WB4JFI. In July 1984 the Administrative Council of the International Amateur Radio Union (IARU), meeting in Paris, designated the American Radio Relay League (ARRL) as the international clearinghouse for packet radio, and the 2.2 text calls itself the fourth edition, published by the ARRL and TAPR. The standard's foreword records that the network grew from chains of digipeaters into a global network with HF gateways, internet gateways and satellite links; because that network made the digipeater mode less necessary, version 2.2 limits digipeating to two hops.
The frame. Every frame opens and closes with the flag 01111110 (hex 7E), which bit stuffing keeps from appearing anywhere inside; two frames may share a flag. Then come the address field (112 bits, or 224 with two repeaters), a control field of one or two octets, a protocol identifier (PID) octet in information frames, an information field that defaults to 256 octets, and a 16-bit frame check sequence (FCS) computed as ISO 3309 prescribes. The FCS is sent most significant bit first; every other field goes least significant bit first. Each address subfield holds a callsign in upper-case ASCII (American Standard Code for Information Interchange) letters and digits, shifted one bit left to make room for the HDLC address-extension bit, plus a four-bit secondary station identifier (SSID) so one licensee can run several stations; a repeater subfield carries an H bit that the repeater sets once it has relayed the frame, which lets the destination read the path back. The PID says what rides inside: hex F0 for no layer 3, CC for Internet Protocol, CD for the Address Resolution Protocol, CF for NET/ROM, 01 for the X.25 packet layer, 06 and 07 for Van Jacobson's compressed and uncompressed TCP/IP (Request for Comments 1144).
How links work. There are information (I), supervisory (S) and unnumbered (U) frames. The data-link state machine exchanges information either connectionless, in unnumbered information (UI) frames, or connection-oriented, in I frames with recovery. Connected mode numbers I frames modulo 8 (up to seven outstanding, the default) or modulo 128 (up to 127, set up with the extended set asynchronous balanced mode command, SABME), and adds selective reject (SREJ) and an exchange identification (XID) frame through which the two ends agree on window size, frame length, timers and retries.
Where it runs today. The Automatic Packet Reporting System (APRS) sends AX.25 frames at 1,200 bit/s; Winlink's very high frequency (VHF) and ultra high frequency (UHF) gateways (RMS Packet, RMS standing for Radio Message Server) carry email over it; a terminal node controller (TNC), a radio modem, turns the frames into audio for the radio. A host that runs AX.25 itself talks to the TNC through the KISS ("keep it simple, stupid") protocol that Mike Chepponis (K3MC) and Phil Karn (KA9Q) presented at the ARRL's 6th Computer Networking Conference in 1987: the TNC drops its own AX.25 code and passes raw frames to the host over a serial line, delimited by the frame-end byte FEND (hex C0) and escaped with the frame-escape byte FESC (hex DB), while the host sets the keying delay (TXDELAY, default 500 ms), the persistence p (default 0.25) and the slot time (default 100 ms) that decide when to transmit on the shared channel. On Linux, kernel support begun by Alan Cox and developed by Jonathon Naylor exposes AX.25, NET/ROM and ROSE as socket families (AF_AX25 and the others) over ax0-style devices, with tools such as call, listen and mheard. Its speed suits short messages, not bulk data.
The rules around it. In the United States, Title 47 of the Code of Federal Regulations (CFR), section 97.119, requires a station to send its callsign at the end of each communication and at least every ten minutes, which AX.25 satisfies by carrying it in every frame; 47 CFR 97.307 caps data at a 2.8 kHz bandwidth on the frequencies its paragraph (f)(3) covers and at 19.6 or 56 kilobauds on others; 47 CFR 97.113 forbids messages encoded to obscure their meaning.
What goes wrong. The FCS detects noise, not forgery: nothing in a frame authenticates the callsign in its source field. Because amateur rules forbid encoding meant to hide meaning, AX.25 traffic is readable by anyone who listens. And every station shares one channel, so the TNC must defer to other activity before keying up: persistence and slot time are the knobs for that. Neighbours: HDLC and X.25 (the Linux HOWTO calls AX.25 similar to X.25 level 2), APRS, Winlink, NET/ROM.
Also known as: AX25, AX.25 v2.2, packet radio, amateur packet radio, TNC, terminal node controller
Sources
- TAPR, AX.25 Link Access Protocol for Amateur Packet Radio, version 2.2, July 1998 (read 2026-11-23): authors Beech, Nielsen, Taylor; version 2.0 of 1984 by Terry Fox; ISO HDLC basis and CCITT Q.920/Q.921 principles; both ends of the same class on a shared channel; growth from digipeaters to a global network with HF, internet and satellite gateways
- Winlink, Glossary (read 2026-11-23): packet radio uses AX.25, most popular on VHF and UHF; RMS Packet gateways; TNC described as a radio modem
- Wikipedia, Automatic Packet Reporting System (read 2026-11-23): APRS transported over AX.25 at 1,200 bit/s
- Mike Chepponis (K3MC) and Phil Karn (KA9Q), The KISS TNC: A simple Host-to-TNC communications protocol, ARRL 6th Computer Networking Conference, Redondo Beach, 1987, HTML by KA9Q 1997, copy at ax25.net (read 2026-11-23): AX.25 removed from the TNC, raw HDLC frames passed to the host; FEND C0, FESC DB, TFEND DC, TFESC DD; no CRC on the serial link; type byte with command in the low nibble and port in the high nibble (up to 16 ports); TXDELAY in 10 ms units (default 500 ms), persistence P = p x 256 - 1 (default 63, p = 0.25), SlotTime (default 100 ms); implemented in TAPR TNC-1 and TNC-2, AEA PK-232 and Kantronics TNCs; the protocol of choice for TCP/IP and multi-connect BBS software
- Linux Amateur Radio AX.25 HOWTO, section 2, The Packet Radio Protocols and Linux, The Linux Documentation Project (read 2026-11-23): AX.25 connected and connectionless modes, similar to X.25 level 2; NET/ROM with dynamic routing and node aliases; ROSE by Tom Moulton W2VY with 10-digit X.121-style addresses; early kernel support by Alan Cox, development by Jonathon Naylor; KISS and 6PACK TNCs, soundmodem by Thomas Sailer; AF_AX25, AF_NETROM and AF_ROSE socket families over ax0 devices; tools call, listen, mheard, ax25d
- 47 CFR 97.119, Station identification, Legal Information Institute copy (read 2026-11-23): call sign at the end of each communication and at least every 10 minutes; no unidentified transmissions; by CW, phone, RTTY or data emission using a specified digital code, or image
- 47 CFR 97.307, Emission standards, Legal Information Institute copy (read 2026-11-23): no more bandwidth than necessary; paragraph (f)(3) authorizes 2.8 kHz for RTTY and data except in the 2200 m and 630 m bands (300 bauds there); (f)(5) 19.6 kilobauds in 20 kHz; (f)(6) 56 kilobauds in 100 kHz
- 47 CFR 97.113, Prohibited transmissions, Legal Information Institute copy (read 2026-11-23): messages encoded for the purpose of obscuring their meaning are prohibited, except as otherwise provided