Copied!
Sign In
Access your IPWhois.net account
No account? Create one
Home / FAQ / What Is an ASN (Autonomous System Number)?

What Is an ASN (Autonomous System Number)?

Learn what Autonomous Systems are, how BGP routing works, who assigns ASNs, the difference between 16-bit and 32-bit ASNs, and how to look them up.

What Is an Autonomous System?

An Autonomous System (AS) is a large network or collection of networks under a single administrative control that presents a common routing policy to the internet. Each AS is identified by a unique number called an ASN (Autonomous System Number).

Think of the internet as a network of networks. Each major ISP, cloud provider, university, and large enterprise operates its own AS. These autonomous systems interconnect with each other to form the global internet, exchanging routing information so that data can travel from any network to any other network.

Examples of well-known autonomous systems:

  • AS15169 - Google
  • AS13335 - Cloudflare
  • AS16509 - Amazon (AWS)
  • AS8075 - Microsoft
  • AS32934 - Facebook (Meta)
Scale: As of 2025, there are over 75,000 active ASNs on the internet. Each one manages its own block of IP addresses and routing policies.

BGP: How Autonomous Systems Communicate

BGP (Border Gateway Protocol) is the routing protocol that autonomous systems use to exchange routing information with each other. It is often called the "routing protocol of the internet" because it determines how data travels between networks.

Here is how BGP works at a high level:

  1. Each AS announces (advertises) the IP prefixes (address blocks) that it owns to its neighboring ASes.
  2. Neighboring ASes propagate these announcements to their own neighbors, building a global routing table.
  3. When a packet needs to travel from AS A to AS B, BGP determines the best path through intermediate ASes based on policies, path length, and other attributes.

BGP relationships between ASes fall into these categories:

  • Transit: A customer AS pays a provider AS for internet access. The provider carries the customer's traffic.
  • Peering: Two ASes agree to exchange traffic directly (often for free) at an Internet Exchange Point (IXP). This reduces latency and transit costs.
  • Upstream/Downstream: An AS that provides connectivity is "upstream"; the AS receiving it is "downstream."

Who Assigns ASNs?

ASNs are allocated by the same hierarchy that manages IP addresses:

OrganizationRoleRegion
IANAGlobal ASN pool managementWorldwide
ARINRegional allocationNorth America
RIPE NCCRegional allocationEurope, Middle East, Central Asia
APNICRegional allocationAsia-Pacific
LACNICRegional allocationLatin America, Caribbean
AFRINICRegional allocationAfrica

To obtain an ASN, an organization must demonstrate that it has a legitimate need for a unique routing policy and that it peers with (or plans to peer with) multiple upstream providers.

16-Bit vs 32-Bit ASNs

Originally, ASNs were 16-bit numbers, providing a range of 0 to 65,535. As the internet grew, this space became insufficient, leading to the introduction of 32-bit ASNs:

TypeRangeTotal AvailableFormat
16-bit ASN1 – 65,534~65,000AS15169
32-bit ASN65,536 – 4,294,967,294~4.2 billionAS394842

Reserved ranges include:

  • AS0: Reserved, not used
  • AS64496–64511: Reserved for documentation and examples
  • AS64512–65534: Reserved for private use (similar to private IP addresses)
  • AS23456: "AS_TRANS" - used for backward compatibility during the 16-to-32-bit transition

Looking Up ASN Information

You can look up ASN details using several methods:

  • Our ASN Lookup Tool: Use our ASN Lookup to find the organization, country, and IP prefixes associated with any ASN.
  • WHOIS: Run whois AS15169 to query the appropriate RIR database.
  • BGP looking glasses: Tools like RIPE RIS, RouteViews, and Hurricane Electric's BGP Toolkit show real-time BGP routing data.
  • IP to ASN: You can find which ASN an IP belongs to: whois -h whois.cymru.com " -v 8.8.8.8"
Why ASNs Matter: Understanding ASNs is valuable for network troubleshooting (tracing routing issues), security research (identifying the network behind an IP), and understanding how the internet is structured. Every IP address you encounter belongs to an AS.
ASN Lookup Tool
Use our free online tool - no signup required