What is an ASN? Autonomous systems explained
An ASN is the number that identifies a network on the internet. What an autonomous system is, how ASNs relate to IP addresses and BGP, and how to look one up.
6 min readPart 6 of 16
On this page
The internet isn't one network. It's nearly 90,000 independent networks joined together (on 25 November 2026, RIPE's route collectors saw 88,630 in the global routing table): ISPs, cloud providers, content companies, large businesses, universities. Each of them is an autonomous system (AS), and its number on the internet is its ASN, written as AS followed by the number. Cloudflare is AS13335, Google is AS15169, and Comcast is AS7922.
The ASN you see when you look up an IP tells you which network that address belongs to.
What an autonomous system is
An AS is a group of networks run by one organization with a single routing policy toward the rest of the internet. It can be huge, like a national ISP, or small, like a company with connections to two ISPs.
"Autonomous" means the organization decides for itself how its network is built and how traffic moves inside it. Between networks, everyone exchanges routes using the same protocol, BGP.
One organization can run several autonomous systems. Large companies often split theirs by region or business; China Telecom, for example, runs its main backbone as AS4134 and its premium CN2 backbone as AS4809.
What an ASN looks like
An ASN is a whole number. The original ASNs were 16 bits, from 1 to 65535. When those started running short, the regional registries began handing out 32-bit ASNs in 2007, which go up to 4294967295. So older networks tend to have ASNs of up to five digits, and most new ones have six or more. By November 2026, the five registries had handed out 123,369 ASNs, and 54% of them were 32-bit.
ASNs are managed by the same organizations as IP addresses: IANA hands blocks of numbers to the five regional internet registries, which assign them to networks that apply (see What is an IP address?). And like IP addresses, some ASNs are never used on the public internet:
64512–65534and4200000000–4294967294are private ASNs, the ASN equivalent of private IP addresses. They're used inside internal networks and never appear in internet routing.- Numbers such as
0and23456have special purposes, and64496–64511are reserved for documentation.
When CKIP finds a private or special-purpose ASN, it says so and skips the risk assessment.
How ASNs relate to IP addresses and BGP
Each AS holds some IP address blocks and tells its neighboring networks over BGP, "these addresses are reachable through me". This is called announcing a prefix. The neighbors pass the announcement on to their own neighbors, and each one adds its own ASN to the front of the path. As the announcement spreads, every network on the internet learns where to send traffic for those addresses and which networks it will pass through. That list of ASNs is the AS path.
AS64496
A company network
- Announces
- 203.0.113.0/24
AS64510
Its ISP
- AS path
- 64496
AS64500
Another network
- AS path
- 64510 64496
So the ASN shown for an IP is the network currently announcing the block that address is in. That's usually the network that holds the addresses, but not always. A leased block is announced by whoever leases it, and when a network announces someone else's addresses, by mistake or on purpose, that's a route leak or a route hijack. To see which networks have announced a block in the past, use ASN history; IP address history explains how to read it.
A real AS path
RIPE runs route collectors at internet exchanges around the world, recording the BGP routes networks receive, and you can query them through a public API. Here are the AS paths that networks at the Tokyo collector (RRC06) have for 1.1.1.0/24:
curl -s "https://stat.ripe.net/data/looking-glass/data.json?resource=1.1.1.0/24" \ | jq -r '.data.rrcs[] | select(.rrc == "RRC06") | .peers[].as_path' | sort -u2497 133352500 1333525152 133354777 1333559105 13335Each line is the path one network sees. The first number is that network itself, for example 2497 is Japan's IIJ and 2500 is WIDE, and the last, 13335, is Cloudflare, which announces the block. Almost every path has just two numbers, because Cloudflare connects directly with a huge number of networks. Other blocks usually have longer paths.
Networks also have a pecking order. Smaller networks buy transit from bigger ones, which carry their announcements to the rest of the internet. Networks of similar size often peer, exchanging traffic between their own customers without paying each other. At the top, around a dozen or so Tier 1 networks all peer with each other and can reach the whole internet without buying transit from anyone. The BGP topology chart on CKIP's ASN pages shows the paths from a network up to the Tier 1s; see How BGP routing works.
Tier 1: peer with each other, buy transit from no one
Who needs an ASN
Not every network needs one. Home users and most businesses connect to a single ISP and use its addresses and ASN. You only need your own ASN, from a regional registry, when you connect to two or more ISPs and want to control how traffic flows between them.
One ISP: no ASN needed
Two ISPs: needs its own ASN
If one line fails, traffic keeps flowing through the other
That's why ASNs mostly belong to ISPs, cloud and hosting providers, content and CDN companies, large enterprises, and universities and research networks. By country, the US has by far the most, more than a quarter of the total. Brazil comes second: it has a huge number of small local broadband providers, and many of them have their own ASN. China is third.
ASNs registered to each country
Some well-known ASNs
| ASN | Network | What it is |
|---|---|---|
| AS7922 | Comcast | US cable broadband |
| AS3320 | Deutsche Telekom | German broadband and backbone |
| AS3356 | Lumen | Tier 1 backbone, formerly Level 3 |
| AS16509 | Amazon | AWS cloud |
| AS8075 | Microsoft | Microsoft services and Azure |
| AS15169 | Google services | |
| AS13335 | Cloudflare | CDN, security services and 1.1.1.1 |
| AS4134 | China Telecom | China's largest backbone |
How many addresses an ASN announces says how many users it serves directly, not how important it is. China Telecom's premium CN2 backbone, AS4809, announces less than 1% as many IPv4 addresses as its main backbone AS4134, because it doesn't carry home broadband. China Mobile International, AS58453, announces even fewer, yet RIPE sees it connected directly to 707 networks: its main job is carrying other networks' international traffic. You can check these numbers yourself:
curl -s "https://stat.ripe.net/data/routing-status/data.json?resource=AS4809" \ | jq '.data.announced_space.v4, .data.observed_neighbours'{ "prefixes": 228, "ips": 572672}69prefixes is how many IPv4 blocks it announces, ips how many addresses those blocks hold, and the last line how many neighboring networks RIPE has observed.
What an ASN tells you
- Whose network it is: the ASN name and owner tell you which ISP or company an IP belongs to, which says a lot more than the address itself.
- What the network is for: whether an ASN mostly serves home broadband, mobile or hosting is a strong clue to an IP's type; see Residential, mobile and datacenter IPs. Big ISPs run every kind of service under one ASN, though, so the type still has to be worked out block by block.
- Whether websites treat it differently: many websites and firewalls can set rules by ASN, such as showing CAPTCHAs to, rate-limiting or blocking a whole cloud provider's ASN. That's far easier than blocking addresses one by one, and it's why addresses in the same ASN are often treated alike.
How to find an IP's ASN
Look up any IP on the CKIP home page. The ASN row shows its ASN, with the ASN owner on the row below; select the ASN to open that network's page. You can also type AS13335 or just 13335 into the search box in the header.
An ASN page shows:
- the ASN name and owner, and the country and regional registry it's registered with;
- the network type and ASN purity, which reflects how many of the network's addresses appear on reputation lists;
- its size: how many IPv4 and IPv6 prefixes it announces, how many IPv4 addresses that adds up to, and a list of prefixes (a sample when there are many);
- the BGP topology chart showing which Tier 1 networks it connects up to.
For an ASN's registration record, including the organization, contacts and abuse email, run a WHOIS lookup.