What is an ASN?
Updated
The internet is not one network. It is tens of thousands of separate networks, run by internet providers, cloud companies, universities and large businesses, that agree to pass traffic between each other. Each of these networks is called an autonomous system (AS), and each has a number, its ASN, written like AS64500.
How addresses and ASNs connect
Every public IP address belongs to a block of addresses, and every block is announced to the rest of the internet by one AS, using a routing system called BGP. Looking an address up in that routing data tells you which AS announces it, and the registry record for the AS gives the name of the organization behind it.
What an ASN tells you
- Who runs the network the address sits in, for example an internet provider or a cloud host
- The kind of network: a home or mobile provider, or a data center. Traffic that comes from a data center network is not an ordinary home visitor
- Where to send an abuse report, because the AS operator can act on its own customers
What it does not tell you
An ASN names the network, not the person using it. Large providers span many countries, so the country linked to an AS is only a rough guide to where a user is. Addresses can also be leased or moved between networks, and the registry data can be out of date.
Good to know. Some ASNs are reserved and never appear on the real internet: 64496 to 64511 are for documentation, and 64512 to 65534 are for private use.
See the network your connection comes from
Related
- What is an IP address?What an IP address is, how IPv4 and IPv6 differ, and why the address a website sees may not be your own device's.
- Reverse DNS and PTR recordsHow an IP address can point back to a name, who controls that name, and why mail servers care.
- Signs of a VPN or proxyWhy a website can never be sure whether you use a VPN, which indirect signs it can look at, and how often they mislead.
- WHOIS and RDAP: who registered a domainWhat a registration record shows, how RDAP replaced WHOIS, and why you rarely see the owner's name any more.
- Who hosts a website, and what a CDN hidesHow a domain name leads to a hosting network, why the answer is often a content delivery network, and what you can and cannot learn from it.