Cos'è un ASN?
Tutto quello che devi sapere sui Numeri di Sistema Autonomo — la spina dorsale del routing internet e della connettività BGP.
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.
Domande Frequenti
Domande comuni sui Numeri di Sistema Autonomo e la registrazione ASN.
Hai bisogno di un ASN se la tua rete si connette a più provider upstream (multi-homing), se prevedi di fare peering presso punti di scambio internet (IXP) o se devi implementare una politica di routing indipendente. Le reti connesse a un solo ISP generalmente non hanno bisogno del proprio ASN.
I costi ASN variano per RIR. Sotto RIPE NCC, gli ASN vengono ottenuti tramite un LIR sponsor con tariffe annuali che vanno tipicamente da 50 a 500€ a seconda del LIR. ARIN addebita una tassa di registrazione una tantum di $500 più una tassa annuale di $100. APNIC include le allocazioni ASN nei suoi livelli di adesione. IPv4Center offre pacchetti competitivi di registrazione ASN presso tutti i RIR.
La registrazione ASN standard richiede da 2 a 4 settimane tramite richiesta diretta al RIR. Con il servizio accelerato di IPv4Center, la maggior parte delle registrazioni ASN viene completata entro 5-10 giorni lavorativi. I tempi dipendono dal RIR, dalla completezza della documentazione e dalla necessità di giustificazioni aggiuntive.
Un ASN privato è un numero dell'intervallo riservato (64512–65534 per 16 bit, 4200000000–4294967294 per 32 bit) destinato solo all'uso interno della rete. Gli ASN privati vengono utilizzati quando si ha bisogno di BGP internamente ma non è necessario un numero globalmente univoco. Devono essere rimossi dagli annunci di rotta prima di raggiungere l'internet pubblico.
Sì, gli ASN possono essere trasferiti tra organizzazioni, sebbene il processo vari per RIR. RIPE NCC e ARIN supportano entrambi i trasferimenti ASN. Il trasferimento prevede l'aggiornamento dei registri per riflettere il nuovo titolare. IPv4Center può facilitare i trasferimenti ASN e gestire tutti i requisiti amministrativi con il RIR competente.
Dovresti registrarti presso il RIR che copre la regione in cui si trova principalmente la tua infrastruttura di rete: ARIN per il Nord America, RIPE NCC per l'Europa e il Medio Oriente, APNIC per l'Asia-Pacifico, LACNIC per l'America Latina e AFRINIC per l'Africa. Se operi a livello globale, la posizione del tuo data center principale determina generalmente il RIR appropriato.