PA and PI are two ways in which the RIPE NCC hands out IP addresses. PA addresses (Provider Aggregatable) are allocated to a provider as an LIR, which assigns them to its customers; when a customer changes provider, they stay with the provider. PI addresses (Provider Independent) are assigned directly to an end user and can be used with any provider that routes them.
Key facts
- Registry
- RIPE NCC for Europe, the Middle East and parts of Central Asia
- PA
- Provider Aggregatable, allocated to an LIR
- PI
- Provider Independent, assigned to an end user
- IPv4
- Free pool exhausted since 2019
- IPv6 PI
- From /48 via a sponsoring LIR
- Own routing
- Own ASN and BGP session required
RIPE NCC and LIR
There are five regional registries worldwide for IP addresses and AS numbers. For Europe, the Middle East and parts of Central Asia this is the RIPE NCC in Amsterdam. It does not hand out addresses directly to anyone who asks but to its members, the Local Internet Registries (LIRs). An LIR is usually a provider, a hosting company or a business with its own network and pays a membership fee for this. It records in the RIPE database which block has been given to whom. If you are not an LIR yourself, you get addresses and AS numbers through an LIR, which then signs a contract with you as your sponsoring LIR.
What PA addresses are
The RIPE NCC allocates PA addresses to an LIR as a larger block. The LIR assigns parts of it to its customers, for example a /29 for a server. Aggregatable means the provider announces the whole block as one prefix, so the internet does not need to know every customer assignment individually. For the customer the addresses are tied to the contract. If they change provider, they hand them back and have to move their systems to new addresses. Anyone who becomes an LIR, on the other hand, holds a PA allocation of their own and can announce it via any upstream. PA is therefore only provider-bound from the end customer's point of view.
What PI addresses are
The RIPE NCC assigns PI addresses directly to an end user via a sponsoring LIR. They are meant for the holder's own infrastructure and may only be passed on to third parties in narrow exceptions, so a hosting company cannot use them for customer servers. In return they are kept when changing provider, as long as the contract with the sponsoring LIR continues and the fees are paid. For a PI block to be reachable independently of any particular provider, you announce it via BGP with your own ASN. Each PI block adds another route to the global routing table.
The differences at a glance
Both types are registered in the RIPE database and routed in the same way technically. They differ in who the addresses belong to and what the holder may do with them:
- Holder: PA blocks belong to the LIR, PI blocks to the end user.
- Change of provider: a customer's PA addresses stay with the provider, PI addresses move with you.
- Passing on: the LIR may assign PA to customers, PI is meant for your own infrastructure.
- Availability: the RIPE NCC has not assigned new IPv4 PI since 2012, but IPv6 PI from /48 is still available.
- Costs: PA through the LIR membership, PI through a contract with a sponsoring LIR and ongoing fees.
IPv4 shortage, transfers and IPv6
In November 2019 the RIPE NCC handed out its last free IPv4 addresses. Since then it only distributes returned addresses in small blocks via a waiting list to LIRs that have never received IPv4. Anyone who needs more buys addresses from another holder on the transfer market. The transfer is registered with the RIPE NCC, and blocks received may not be transferred on for 24 months. Before buying, check whether the block is on blocklists or has incorrect geolocation. IPv6 has no such shortage: an LIR receives a /32 up to a /29 without further justification, and end customers usually get a /48 or /56.
When you need which
Which address type fits depends on whether you only want to use addresses, pass them on to customers or keep them independently of a provider:
- Individual servers or websites: the provider's addresses are enough, and you do not need your own contact with the RIPE NCC.
- Your own infrastructure with several providers and the same addresses: your own ASN, a PI block for IPv6 and, for IPv4, usually your own LIR with a purchased range.
- Hosting company or ISP assigning addresses to customers: your own LIR with a PA allocation.
- Keeping existing addresses when you move: the new provider has to accept your prefixes via BGP.
Routing your own addresses through another provider's network is called BYOIP, or BYOAS with your own AS number, and requires your own autonomous system. Through its RIPE services, Realtoxmedia helps you obtain AS numbers and IP subnets and supports the application and administration of PA and PI allocations. With BYOIP/BYOAS you then route your subnets or your AS number through the backbone AS207252.
PA addresses belong to the LIR and are tied to the provider for the end customer, while PI addresses belong to the end user and move with them when they switch. New IPv4 PI blocks are no longer available, so independent IPv4 addresses today usually come via your own LIR and the transfer market. For IPv6, a PI block from /48 remains the simplest way to address space of your own.