An ASN identifies an autonomous system. It tells you about a network’s identity and routing relationships, but on its own it says nothing about the network’s size, quality or trustworthiness.
The internet is a network of networks
Your home broadband provider, your mobile carrier, a university campus and the companies that serve websites and apps are usually run by different teams. To deliver traffic to one another, they have to share which addresses each of them can reach. An autonomous system (AS) is a group of IP networks, run by one or more operators, that presents a single, clearly defined routing policy to the rest of the internet.
“Autonomous” refers to that policy: the network decides for itself how it exchanges routes with others, such as which prefixes it accepts, which connections it prefers and what it passes on. It doesn’t mean the network is cut off from the outside world, and it doesn’t require all of its equipment to sit in one building. Grasping that idea is more useful than memorizing what the acronym stands for.
An ASN is the number of that system
ASN stands for autonomous system number. It’s usually written as “AS” followed by digits, such as AS64500. On the public internet, ASNs are how networks recognize each other in BGP, the protocol they use to exchange routes. An ASN identifies a routing entity: it isn’t a server’s IP address, a domain name or a company registration.
One organization can run several autonomous systems, and one autonomous system can involve more than one operator, so ASNs and company brands don’t map one to one. The name in the registration record, the brand a network uses in public and the company that actually operates it can all differ, and each needs to be checked on its own.
Where the numbers come from
IANA allocates blocks of ASNs to the five Regional Internet Registries (RIRs): AFRINIC, APNIC, ARIN, LACNIC and RIPE NCC. Each RIR assigns numbers in its region under its own policies, in some countries through a National Internet Registry, and keeps the registration record. That record is the primary source for checking who a number belongs to.
ASNs started out as 16-bit numbers (0 to 65535) and were later extended to 32 bits, up to 4294967295. A larger number only reflects its position in the number space; it doesn’t make a network bigger, and it isn’t a reliable sign that the network is newer. Some ranges are set aside: 64496–64511 and 65536–65551 for documentation, and 64512–65534 and 4200000000–4294967294 for private use. Watch for these special ranges when you read records.
A simple example
Imagine a university campus that connects to the internet through two providers. With its own ASN, it can set its own routing policy, for example choosing which provider to prefer for outbound traffic, and announce its address prefixes to both of them. As the providers pass that announcement on, each network adds its ASN to the route’s path, so networks elsewhere can see which autonomous systems the route came through.
The example shows what ASNs are for: coordination between networks. Broadband subscribers and people browsing the web never need an ASN of their own. Knowing what one is, though, makes it much easier to read information about ISPs, cloud providers and how networks interconnect.
What an ASN lookup can’t tell you on its own
An ASN record gives you clues about a network. You get a clearer picture by reading the registration record, routing observations and the operator’s own public statements together. And if no routes are seen for an ASN, that alone doesn’t prove the number doesn’t exist or that the network has shut down.
- The size of the number doesn’t rank a network’s quality, speed or security.
- The registered country or contact address doesn’t prove where the network’s equipment, users or traffic are.
- A registered name alone doesn’t prove that a website, customer or brand belongs to that organization.
References
This article draws on the primary sources below, where you can check definitions, registry details and protocol specifics for yourself.
- RFC 1930: Guidelines for creation, selection, and registration of an Autonomous System (AS)
- IANA: Autonomous System (AS) Numbers registry
- APNIC: Number resource policies
- RFC 6793: BGP Support for Four-Octet Autonomous System (AS) Number Space
- RFC 6996: Autonomous System (AS) Reservation for Private Use
See which sources ASNBase uses and what each kind of record means.