← ip-tracker.eu
Networking Guide

What is an ASN?

7 min read  ·  Autonomous Systems, BGP routing & RIRs explained

// Introduction

An Autonomous System Number (ASN) is a unique identifier assigned to a collection of IP networks and routers under the control of a single organisation that presents a common routing policy to the internet. ASNs are the fundamental building blocks of internet routing.

Every time you send data across the internet, it passes through multiple autonomous systems — each one making routing decisions based on BGP (Border Gateway Protocol) announcements. Understanding ASNs helps explain why internet traffic sometimes takes unexpected paths, why certain regions experience outages, and how ISPs and cloud providers interconnect.

There are currently over 100,000 active ASNs worldwide, operated by ISPs, universities, cloud providers, enterprises, governments, and content delivery networks.

// ASN Format

ASNs were originally 16-bit numbers (range 1–65535), but the internet outgrew this. RFC 4893 (2007) extended ASNs to 32 bits, providing over 4 billion possible values.

FormatRangeStatus
16-bit (legacy)1 – 65535Still in use; most well-known ASNs
32-bit (modern)65536 – 4,294,967,295Used for newer allocations
Private ASNs64512 – 65534For internal/private BGP use (not announced globally)

ASNs are written as a plain number (e.g. AS15169) or in the older dot-notation for 32-bit values (e.g. 1.64512).

AS15169 — Google LLC
AS13335 — Cloudflare, Inc.
AS16509 — Amazon.com, Inc.
AS8075 — Microsoft Corporation
AS20940 — Akamai Technologies

// What is an Autonomous System?

An Autonomous System (AS) is a network or group of networks that shares a single routing policy and is controlled by one administrative entity. The key word is autonomous — the organisation independently decides how traffic enters and exits its network.

An AS typically includes:

Types of Autonomous Systems

// BGP — How ASNs Communicate

Border Gateway Protocol (BGP) is the routing protocol that autonomous systems use to exchange reachability information. BGP is often called the "protocol that runs the internet" — it is responsible for keeping track of all the paths between every network on earth.

When an AS wants to make its IP prefixes reachable, it announces them to its BGP peers. The announcement says, in effect: "To reach these IP addresses, send traffic to me." Neighbouring ASes propagate these announcements to their peers, and so on, until the prefix is known globally.

BGP Path Selection

When multiple paths to a destination exist, BGP selects the best path using a priority-ordered set of attributes:

  1. Highest Local Preference (internal policy)
  2. Shortest AS-PATH (fewest hops between ASes)
  3. Lowest MED (Multi-Exit Discriminator)
  4. eBGP over iBGP routes
  5. Lowest router ID as a tiebreaker
💡 BGP route leaks and misconfigurations can cause major internet outages. In 2019, a small ISP in Pennsylvania accidentally announced millions of routes, redirecting traffic for Google, Cloudflare, and others through its network.

// Who Assigns ASNs?

ASNs are assigned by the five Regional Internet Registries (RIRs) — the same organisations that manage IP address allocation:

RIRRegionWebsite
ARINNorth Americaarin.net
RIPE NCCEurope, Middle East, Central Asiaripe.net
APNICAsia-Pacificapnic.net
LACNICLatin America & Caribbeanlacnic.net
AFRINICAfricaafrinic.net

To obtain an ASN, an organisation must have a legitimate need for a unique routing policy (typically multi-homed connectivity) and pay an annual membership fee to their RIR. The process involves technical verification and takes days to weeks.

// IP Prefixes and Route Announcements

Each AS announces one or more IP prefixes — blocks of IP addresses expressed in CIDR notation. For example, Google's AS15169 announces hundreds of prefixes including:

8.8.8.0/24    (includes 8.8.8.8 — Google DNS)
8.8.4.0/24    (includes 8.8.4.4 — Google DNS)
142.250.0.0/15 (part of Google's global range)

The global BGP routing table (sometimes called the "full table") contains over 950,000 IPv4 prefixes and 200,000+ IPv6 prefixes as of 2025. Every internet-connected router must process updates to this table in real time.

More specific prefixes (longer prefix lengths) take precedence over less specific ones. An announcement for 1.2.3.0/24 beats 1.2.0.0/16 for traffic to 1.2.3.x, because /24 is more specific.

// Famous ASNs

ASNOrganisationKnown For
AS15169GoogleSearch, YouTube, Google Cloud
AS13335CloudflareCDN, 1.1.1.1 DNS, DDoS protection
AS16509Amazon AWSCloud computing, AWS services
AS8075MicrosoftAzure, Office 365, Xbox
AS32934Meta (Facebook)Facebook, Instagram, WhatsApp
AS2906NetflixVideo streaming, Open Connect CDN
AS20940AkamaiCDN, media delivery
AS3356Lumen (CenturyLink)Tier-1 backbone provider

// How to Look Up an ASN

You can find the ASN for any IP address using ip-tracker.eu — it displays the ASN, organisation name, prefix, RIR, and routing information for any IP address.

From the command line:

whois -h whois.radb.net AS15169     # BGP route info
whois 8.8.8.8                        # ASN from IP
dig TXT 8.8.8.8.origin.asn.cymru.com # Team Cymru ASN lookup

Online tools include RIPE NCC's RIPEstat (stat.ripe.net), Hurricane Electric's BGP toolkit (bgp.he.net), and the global routing table viewer at bgpview.io.

Look up any IP's ASN and routing info

ASN, organisation, prefix, RIR, and BGP data — free instant lookup.

Try IP & Domain Tracker →

// Related Articles