MyIPScan
Guide

What Is an ASN? Autonomous System Numbers Explained

An ASN (Autonomous System Number) is a unique identifier for a network operator on the internet. Understanding ASNs helps you interpret IP lookups, VPN tests, and DNS leak results.

By: · Updated June 2026

What is an Autonomous System Number (ASN)?

An Autonomous System Number (ASN) is a globally unique number assigned to a network operator that independently controls a set of IP address prefixes and exchanges routing information with other networks using the Border Gateway Protocol (BGP). The term "autonomous system" refers to the network itself — the collection of IP ranges under one administrative control.

Common examples of network operators with their own ASNs include internet service providers (ISPs), cloud providers, content delivery networks (CDNs), large universities, and major corporations. For example:

  • AS13335 — Cloudflare Inc. (CDN, 1.1.1.1 DNS resolver)
  • AS15169 — Google LLC (Google Cloud, 8.8.8.8 DNS)
  • AS16509 — Amazon.com Inc. (AWS)
  • AS9009 — M247 Europe (widely used by commercial VPN providers)
  • AS39351 — Mullvad VPN AB (Mullvad's own infrastructure)

How do ASNs work?

ASNs are used in the Border Gateway Protocol (BGP), the routing protocol that connects the internet's networks. Each autonomous system announces the IP prefixes it controls to its neighboring ASes. Routers then use these announcements to build routing tables that determine how to forward packets from any point on the internet to any other point.

When you visit a website, your request travels through a chain of autonomous systems — starting from your ISP's ASN, through transit providers, and arriving at the ASN that hosts the destination server. Every hop between autonomous systems is governed by BGP.

ASNs were originally 16-bit numbers (range 1–65535). In 2007, 32-bit ASNs were introduced to expand the available pool. Numbers 64512–65534 are reserved for private use, similar to private IP address ranges.

How to look up an ASN

When you run an IP lookup on MyIPScan, the result includes an ASN field that identifies the network operator controlling that IP address. For example, if your visible IP is 104.16.132.229, the ASN lookup will return AS13335 (Cloudflare). This tells you the traffic is routing through Cloudflare's infrastructure.

You can look up an ASN directly using MyIPScan's IP Geolocation Lookup or WHOIS Lookup tools. External resources such as bgp.he.net also allow you to view all IP prefixes advertised by a given ASN.

Why your visible ASN changes when you use a VPN

When you connect to a VPN, your outbound internet traffic exits through the VPN server's IP address rather than your ISP's gateway. This causes your visible IP address and associated ASN to change to those of the VPN provider or its hosting partner.

For example, if you use Mullvad VPN and your traffic exits through one of Mullvad's own servers, your visible ASN will be AS39351 (Mullvad VPN AB). If you use NordVPN and your exit node is hosted on M247, your visible ASN will be AS9009 (M247 Europe).

If an IP lookup while connected to a VPN still shows your real ISP's ASN, this may indicate a VPN IP leak — your traffic is bypassing the VPN tunnel and exiting through your ISP. Use the VPN Leak Test to check for this.

What common ASNs mean in privacy tests

When you see an unexpected ASN in a DNS leak test or VPN test, it helps to know what type of network that ASN belongs to:

  • Your ISP's ASN appearing while connected to a VPN — possible IP or DNS leak. Run the VPN Leak Test.
  • Cloudflare (AS13335) in a DNS test — you are using Cloudflare's 1.1.1.1 DNS resolver, either directly or through your VPN.
  • Google (AS15169) in a DNS test — you are using Google's 8.8.8.8 DNS resolver.
  • M247 (AS9009) as your exit IP — common when using ExpressVPN, NordVPN, or other commercial VPNs that use M247 hosting.
  • Mullvad (AS39351) as your exit IP — confirms your VPN exit is through Mullvad's own infrastructure.

Browse the IP ranges by provider for the networks behind the major Autonomous Systems, or look any ASN up with the ASN Lookup tool.

The assignment chain from IANA to your router

The full path usually has six practical layers: IANA, the RIR, the ISP or organization, routing registration, customer assignment, and the local router/device layer.

  1. IANA coordinates the global pool. It records public IPv4 and IPv6 address space and delegates large ranges under global policy.
  2. Regional Internet Registries manage regions. ARIN covers North America, RIPE NCC covers Europe, the Middle East, and parts of Central Asia, APNIC covers Asia-Pacific, LACNIC covers Latin America and the Caribbean, and AFRINIC covers Africa.
  3. ISPs and organizations request resources. ARIN's resource request guidance explains that organizations request Internet number resources such as IP addresses and ASNs under policy requirements.
  4. Networks register and announce prefixes. Address blocks are registered in public databases and announced through routing so traffic knows where to go.
  5. ISPs divide blocks for customers. An ISP may assign one public IPv4 address, put many customers behind CGNAT, or delegate an IPv6 prefix.
  6. Your router handles the local network. The router receives the upstream assignment, then gives private or local addresses to phones, laptops, TVs, consoles, and smart devices.

DHCP, SLAAC, and DHCPv6 in plain English

Inside a network, assignment is often automatic. With IPv4, a router usually runs DHCP. A device asks for settings, and the router gives it an address, default gateway, DNS resolver, and lease time. RFC 2131 describes DHCP for IPv4; in practical home terms, it is the reason a laptop can join Wi-Fi and receive working network settings without manual typing.

IPv6 works differently. A router can advertise an IPv6 prefix, and devices may create their own addresses using SLAAC, described in RFC 4862. In some networks, DHCPv6 provides additional settings or delegates prefixes to downstream routers; RFC 8415 covers modern DHCPv6 behavior. RIPE NCC's guidance on documenting IPv6 assignments shows how IPv6 allocations and assignments can be represented in registry data.

MethodCommon useWhat it gives a deviceWhat to remember
IPv4 DHCPHome and office LANsPrivate IPv4 address, gateway, DNS, lease timeThe local address can change when the lease changes.
NAT or CGNATIPv4 sharingMany private users share fewer public IPv4 addressesInbound hosting may be limited or impossible.
IPv6 SLAACAutomatic IPv6 addressingAn address formed from the advertised prefixPrivacy extensions can rotate interface identifiers.
DHCPv6 prefix delegationISP to router, router to LANA prefix that can be used on one or more internal networksFirewall rules matter because IPv6 does not need NAT.

Frequently asked questions

What does ASN stand for?

ASN stands for Autonomous System Number. It is a globally unique number assigned by regional internet registries (RIRs) to a network operator that independently controls a set of IP address prefixes.

Who assigns ASNs?

ASNs are assigned by Regional Internet Registries (RIRs): ARIN (North America), RIPE NCC (Europe, Middle East, Central Asia), APNIC (Asia-Pacific), LACNIC (Latin America), and AFRINIC (Africa). Overall coordination is managed by IANA.

Why does my visible ASN change when I use a VPN?

When you connect to a VPN, your outbound traffic exits through the VPN server rather than your ISP. Your visible IP and ASN change to those of the VPN or its hosting provider. If your real ISP's ASN still shows while connected to a VPN, this indicates a VPN leak.

How many ASNs exist?

About 80,000 ASNs are visible in the global routing table (CIDR Report, 22 October 2026: 79,726). ASN numbers were originally 16-bit (1–65535) and extended to 32-bit to accommodate growth. Numbers 64512–65534 are reserved for private use.

What is the difference between an IP address and an ASN?

An IP address is a specific address assigned to a device or server. An ASN identifies the network operator controlling a block of IP addresses. One ASN can cover millions of IPs. For example, AS13335 (Cloudflare) includes 1.1.1.1 and millions of other IPs across its CDN and DNS infrastructure.