Skip to content

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