Naar de inhoud
Networks

Kennisbank

What is an ASN? Autonomous system numbers explained

Laatst gecontroleerd op Artikel in het Engels

An autonomous system number, ASN, identifies a network that routes its own address space on the internet under one routing policy. Networks tell each other which addresses they can reach over BGP, and every route carries the ASNs it has passed through, so the ASN is how the rest of the internet sees your network. The regional internet registries assign them; whether you need one of your own is in do you need your own ASN?

What an autonomous system is

RFC 1930 defines it as a connected group of IP prefixes, run by one or more network operators, with a single, clearly defined routing policy. In practice:

  • Your ASN is the origin of the routes for your address space: the last number in each route's path.
  • A ROA names it. Route origin validation checks that the ASN announcing a prefix is the one its holder authorized (RPKI and ROAs).
  • Route objects name it too, in the routing registries that providers build their filters from (route objects and RADb).
  • The registry holds an aut-num object for it, with its contacts and, at the RIPE NCC, its routing policy.

The numbers

AS numbers were 16 bits, up to 65,535. RFC 6793 extended them to 32 bits, up to 4,294,967,295, and the registries now hand both out from one pool: the RIPE NCC and APNIC have done so since 1 January 2010. A 32-bit ASN is usually written as one number, such as 4200000000; an older notation writes it as two halves with a dot.

Some numbers are not for use on the public internet:

ASN or rangeWhat it isSet by
0Reserved and never used in BGP; a ROA naming AS0 says a prefix should not be announced at allRFC 7607, RFC 6483
23456AS_TRANS, which stands in for a 32-bit ASN when talking to old routersRFC 6793
64496 to 64511, and 65536 to 65551For documentation and examplesRFC 5398
64512 to 65534, and 4200000000 to 4294967294For private useRFC 6996
65535 and 4294967295Reserved, the last numbers of each rangeRFC 7300
65552 to 131071ReservedIANA

When a network needs one

  • Two or more upstreams, with a routing policy of your own: you announce your prefixes to each over BGP.
  • Peering at an internet exchange.
  • Announcing your own space from your own ASN at a cloud or hosting provider that allows it; many announce it from theirs instead (the BYOIP guides).

A network with one upstream usually does not: the provider announces its prefixes from the provider's ASN.

How each registry hands them out

The RIPE NCCARINAPNIC
Who qualifiesA multihomed network with its own routing policyAny organization, for a first ASNA multihomed network, or one that needs to connect with another
Without membershipThrough a sponsoring LIR, or a direct contractNo sponsor: an agreement with ARINThrough an account holder that obtains it for you
Cost€50 a year in 2026; from 2027 the first on an LIR account is includedNo fee of its own: 1 to 3 ASNs fit the smallest category, $275 a year in 2026The first two free, then AUD 500 once and AUD 100 a year

RIPE policy proposal 2026-01 would let a holder of RIPE NCC space have its first ASN without the multihoming test; it is in review until 10 November 2026. Each registry's page has the rest: the RIPE NCC, ARIN and APNIC.

What comes with an ASN

  • BGP sessions with each upstream or peer, and their route filters.
  • ROAs naming your ASN for each prefix you announce, and optionally an ASPA listing your upstreams, which the three registries now support.
  • Route objects, and an as-set if others announce routes through you.
  • A PeeringDB record, which exchanges and peers look up.
  • An abuse contact the registry validates.

Where RTM Networks fits

We sponsor AS numbers in the RIPE NCC region: you get an ASN of your own without a RIPE NCC membership, and we handle the registry side. See PI and ASN sponsorship.

Contact

Een sponsorende LIR nodig?

Vertel ons welke resources u heeft of wilt hebben: PI-ruimte, legacy blokken of een AS-nummer. Wij reageren meestal in 1-3 kantooruren.

Neem contact op

FAQ

Veelgestelde vragen

What is the difference between a 16-bit and a 32-bit ASN?

Only the size of the number. The original AS numbers ran up to 65,535; since RFC 6793 they can run to 4,294,967,295. The RIPE NCC and APNIC have made no distinction between the two since 1 January 2010, and ARIN's policy makes none either.

Can I use a private ASN?

Inside your own network, and between you and a provider that agrees, yes: 64512 to 65534 and 4200000000 to 4294967294 are set aside for that. A private ASN must never appear on the public internet; your provider replaces it with its own.

How many AS numbers are in use?

The five registries had assigned 121,656 by 30 June 2026: 39,551 by the RIPE NCC, 34,012 by ARIN, 31,115 by APNIC, 14,227 by LACNIC and 2,751 by AFRINIC.