What is an ASN?
Everything you need to know about Autonomous System Numbers — the backbone of internet routing and BGP connectivity.
What is an Autonomous System Number?
An Autonomous System Number (ASN) is a unique identifier assigned to a group of IP networks that are operated by one or more network operators under a single, clearly defined routing policy. ASNs are the fundamental building blocks of the internet's routing infrastructure, enabling networks to communicate their identity and exchange traffic efficiently.
Every network that participates in BGP (Border Gateway Protocol) routing requires an ASN. When your network peers with other networks or announces IP prefixes to the global routing table, your ASN serves as the identifier that distinguishes your network from every other network on the internet.
ASNs are assigned by the five Regional Internet Registries (RIRs): ARIN (North America), RIPE NCC (Europe, Middle East, Central Asia), APNIC (Asia-Pacific), LACNIC (Latin America and Caribbean), and AFRINIC (Africa). Each RIR has its own allocation policies and procedures, but the core requirements are consistent across all regions.
Why Do ASNs Exist?
The internet is composed of tens of thousands of independently operated networks. For traffic to flow between these networks, there must be a standardized way to identify each network and communicate routing decisions. ASNs provide this identification layer, allowing routers to build a map of the internet and determine the best path for each packet.
Without ASNs, it would be impossible to implement peering agreements, establish multi-homed connections for redundancy, or enforce independent routing policies. ASNs are what make the decentralized architecture of the internet possible — every network can make its own routing decisions while remaining globally interconnected.
Unique Identification
Each ASN uniquely identifies a network operator and their routing policy, preventing conflicts and ambiguity in the global routing table.
Routing Policy
ASNs allow network operators to define and enforce their own routing policies, controlling how traffic enters and exits their network.
Multi-homing
Organizations with multiple upstream providers need an ASN to announce their prefixes independently and maintain connectivity if one provider fails.
Peering
Internet exchange points and direct peering agreements rely on ASNs to identify participating networks and establish BGP sessions.
How to Get an ASN
To obtain an ASN, you must apply through a Regional Internet Registry (RIR) or through an LIR (Local Internet Registry) / sponsor that holds a membership with the relevant RIR. The specific process varies by region, but the fundamental requirement is demonstrating a legitimate need for a unique routing policy.
The most common requirement is that your network must be multi-homed — connected to at least two different upstream internet service providers. This ensures that you genuinely need an independent ASN rather than simply using your provider's AS. You'll also need to document your routing policy and provide technical details about your network infrastructure.
The typical timeline for ASN registration is 2–4 weeks, depending on the RIR and the completeness of your application. Costs vary by region: RIPE NCC charges through the sponsoring LIR, ARIN has a one-time registration fee plus annual maintenance, and APNIC includes ASN resources under its membership tiers. Working with an experienced broker like IPv4Center can significantly accelerate the process.
ASN and BGP Routing
ASNs and BGP are inseparable — BGP (Border Gateway Protocol) is the routing protocol that uses ASNs to exchange routing information between networks. When a network announces an IP prefix via BGP, the announcement includes the originating ASN and the complete AS-PATH, which records every ASN the route has traversed.
There are two forms of BGP: eBGP (external BGP) is used between different autonomous systems to exchange routes across network boundaries, while iBGP (internal BGP) is used within a single autonomous system to distribute external routing information to internal routers. Both are essential for large-scale network operations.
The AS-PATH attribute is one of the most important elements in BGP route selection. Routers typically prefer routes with shorter AS-PATHs, as fewer network hops generally mean lower latency and higher reliability. Network operators can also use AS-PATH filtering to accept or reject routes based on which networks they traverse.
eBGP Peering
External BGP sessions connect different autonomous systems, enabling route exchange between networks at internet exchange points or via private interconnects.
iBGP Internal
Internal BGP distributes externally learned routes within an autonomous system, ensuring all routers have consistent routing information.
AS-PATH Attribute
The AS-PATH records the sequence of ASNs a route has traversed, used for loop prevention and path selection in BGP decision-making.
Route Filtering
Network operators use ASN-based filters to control which routes are accepted or advertised, implementing their routing policy and security requirements.
Types of ASN
ASNs come in two sizes: 16-bit and 32-bit. The original 16-bit ASN range (0–65535) was defined in RFC 1930 and quickly became a scarce resource as the internet grew. To address this, 32-bit ASNs (RFC 6793) were introduced, expanding the total pool to over 4.2 billion unique numbers. Today, most new allocations are 32-bit ASNs, and all modern BGP implementations support them.
ASNs are also classified as public or private. Public ASNs are globally unique and used for routing on the public internet. Private ASNs (64512–65534 for 16-bit, and 4200000000–4294967294 for 32-bit) are reserved for internal use within an organization and must not appear in the global routing table. Private ASNs are commonly used in stub networks that peer with a single upstream provider using BGP.
16-bit ASN
The original format with a range of 0–65535. Most legacy networks use 16-bit ASNs. The pool is nearly exhausted, making them increasingly scarce.
32-bit ASN
Extended format with a range up to approximately 4.2 billion. All new ASN allocations are 32-bit. Represented in "asplain" notation (e.g., AS200001).
Public ASN
Globally unique ASNs assigned by RIRs for use on the public internet. Required for any network that peers with multiple providers or participates in IXPs.
Private ASN
Reserved ranges (64512–65534, 4200000000–4294967294) for internal use. Must be stripped from BGP announcements before reaching the global routing table.
ASN Registration at IPv4Center
IPv4Center provides end-to-end ASN registration services across all five Regional Internet Registries. Whether you need an ASN under RIPE NCC, ARIN, APNIC, LACNIC, or AFRINIC, our experienced team handles the entire process — from initial application and documentation to RIR coordination and final allocation.
For organizations without direct RIR membership, we offer ASN sponsorship services through our LIR accounts. This eliminates the need for your own RIR membership, significantly reducing costs and administrative overhead. Our typical turnaround time is 5–10 business days, and we provide ongoing support for RPKI setup, route object creation, and IRR database registration after your ASN is allocated.
Frequently Asked Questions
Common questions about Autonomous System Numbers and ASN registration.
You need an ASN if your network connects to multiple upstream providers (multi-homing), if you plan to peer at internet exchange points (IXPs), or if you need to implement an independent routing policy. Single-homed networks that connect through only one ISP generally do not need their own ASN.
ASN costs vary by RIR. Under RIPE NCC, ASNs are obtained through a sponsoring LIR with annual fees typically ranging from €50–€500 depending on the LIR. ARIN charges a one-time registration fee of $500 plus an annual fee of $100. APNIC includes ASN allocations within its membership tiers. IPv4Center offers competitive ASN registration packages across all RIRs.
Standard ASN registration takes 2–4 weeks through direct RIR application. With IPv4Center's expedited service, most ASN registrations are completed within 5–10 business days. The timeline depends on the RIR, the completeness of your documentation, and whether any additional justification is required.
A private ASN is a number from the reserved range (64512–65534 for 16-bit, 4200000000–4294967294 for 32-bit) intended for internal network use only. Private ASNs are used when you need BGP internally but don't need a globally unique number. They must be removed from route announcements before they reach the public internet.
Yes, ASNs can be transferred between organizations, though the process varies by RIR. RIPE NCC and ARIN both support ASN transfers. The transfer involves updating the registration records to reflect the new holder. IPv4Center can facilitate ASN transfers and handle all the administrative requirements with the relevant RIR.
You should register with the RIR that covers the region where your network infrastructure is primarily located: ARIN for North America, RIPE NCC for Europe and the Middle East, APNIC for Asia-Pacific, LACNIC for Latin America, and AFRINIC for Africa. If you operate globally, your primary data center location typically determines the appropriate RIR.