← Back to Blog

How to Get Your Own ASN and IP Addresses in 2026: Costs, RIPE Steps and Your First BGP Session

Published · Updated · by Leo Gashi, RS Computers

BGP IP transit Networking

To run your own network in Europe you need three things: an AS number (ASN) from the RIPE NCC, IP addresses registered or leased to you, and at least one upstream that runs BGP with you. There are two ways to get your own ASN and IP addresses. You can become a RIPE NCC member, called an LIR (Local Internet Registry), for EUR 1,000 once plus EUR 1,800 a year in 2026 and EUR 1,894 in 2027. Or a sponsoring LIR, an existing member, files the request for you and keeps the contract with the RIPE NCC. RS Computers is a RIPE NCC member: we sponsor ASNs directly from our own LIR account, then bring the first BGP session up on our IP transit in Skopje or Amsterdam. New IPv4 is no longer handed out freely, so most new networks lease or buy a /24.

Key facts, checked on 18 October 2026:

Do you actually need your own ASN?

An ASN (autonomous system number) is your network's name in BGP, the protocol networks use to tell each other which addresses they can reach. You need one to use two upstreams with the same addresses, so losing one provider does not take you offline; to change providers without renumbering; to have your prefixes filtered upstream, as with remote DDoS protection over a GRE tunnel; or to peer at an internet exchange.

You do not need one for a few servers, a website or a VPN. Every VPS plan comes with its own IPv4 and IPv6, and the provider handles the routing.

Who can sponsor an ASN in the RIPE region

The RIPE NCC assigns an ASN only to someone with a contract, either as a member or through a sponsoring LIR (RIPE NCC). Any member can be that sponsor. It files your request in the LIR Portal, keeps your registration data current and pays the RIPE NCC's yearly charge for your resources. Every request is also checked against the EU sanctions list.

Your contract with the sponsor must cover the points in RIPE-637: you keep your data current, you do not sub-assign the resources to third parties, you pay the sponsor a yearly fee, and the resources return to the RIPE NCC if you cannot be reached or stop paying. The ASN is registered to you, not to the sponsor, and the RIPE NCC says you can change your sponsoring LIR at any time.

RS Computers is a RIPE NCC member. Our organisation in the RIPE Database has the org-type LIR, AS213900 is registered to it, and the ASNs we sponsor show our organisation in their sponsoring-org: line. Nobody sits between you and us: we sign the agreement, file the request and handle the yearly renewal ourselves.

What it costs in 2026 and 2027: member or sponsored

ItemOwn LIR (RIPE NCC member)Sponsored by an LIR
One-timeEUR 1,000 sign-up feeThe sponsor's setup fee, if any
YearlyEUR 1,800 in 2026, EUR 1,894 in 2027, pro rata by quarter in the year you join (Billing Procedure 2026)The sponsor's fee, which covers the RIPE NCC's EUR 50 per ASN and EUR 75 per PI assignment (RIPE-848, RIPE-867)
ASNFirst ASN included from 2027; EUR 50 a year in 2026One ASN registered to you
IPv6A /32 to /29 allocation you may assign to customersA /48 PI for your own infrastructure only
IPv4Waiting list for one /24, or buy or leaseNo IPv4 PI since 2012, so you lease
PaperworkService agreement signed by hand; electronic signatures are not acceptedAgreement with the sponsor plus a company register extract
Best forHosters and ISPs that assign space to customersOne company, one ASN, a /48 and a leased /24

A full first year as a member costs EUR 2,894 in 2027 before any IPv4, VAT, transit or hardware. Since 29 September 2026 the RIPE NCC has also temporarily restricted members from acquiring additional LIR accounts (RIPE NCC). A sponsored ASN needs no LIR account of your own.

Sponsor prices differ, so compare what is included: database objects, ROAs and help with the first session. We quote ASN sponsorship per request on Telegram or by email; transit port prices are on the IP transit page.

Step 1: get the ASN

Documents you need

For a sponsored ASN, the RIPE NCC's request form notes list what the sponsor uploads:

ItemWhat it isWho prepares it
Registration proofA recent company register extract; a private person sends a passport or ID copy, verified through a service called iDenfyYou
Sponsoring agreementRIPE's model assignment agreement or an equivalent meeting RIPE-637The sponsor drafts it, both sides sign
Database objectsOrganisation, admin and tech contacts, a maintainer that protects your objects, and an abuse mailbox (RIPE-705)The sponsor, from your details
Routing policyAt least two peer or upstream ASNs with contact emails, written in RPSLYou name the peers, the sponsor writes it

The routing policy and the multihoming rule

RPSL is the language of the RIPE Database. Your policy lives in an aut-num object. This example uses documentation numbers for you (AS64500) and a second upstream (AS64496), with AS213900 as the first:

# example aut-num object; your sponsoring LIR writes it from your details
aut-num:    AS64500
as-name:    EXAMPLE-AS
org:        ORG-EXAMPLE1-RIPE
import:     from AS213900 accept ANY
export:     to AS213900 announce AS-EXAMPLE
import:     from AS64496 accept ANY
export:     to AS64496 announce AS-EXAMPLE
mp-import:  afi ipv6.unicast from AS213900 accept ANY
mp-export:  afi ipv6.unicast to AS213900 announce AS-EXAMPLE
admin-c:    EX1-RIPE
tech-c:     EX1-RIPE
mnt-by:     EXAMPLE-MNT
source:     RIPE

Two upstreams meet the multihoming rule, and so does one upstream plus a peer at an exchange. If your prefixes need protection, our remote DDoS service can add your ASN directly under Global Secure Layer (AS137409), a second upstream next to AS213900.

The rule may soon ease. Proposal 2026-01 (version 2.0, 12 October 2026) would let anyone holding a prefix issued by the RIPE NCC, including a sponsored PI /48, get a first ASN without the multihoming test. Until it is accepted, plan on two peers. Expect a 4-byte ASN above 65535, which every modern router supports (RFC 6793).

How long it takes

StageTypical timeWhat speeds it up
Documents and agreementSame day to a few daysA fresh register extract and quick signatures
RIPE NCC evaluationNo published target; usually days for a complete requestAnswering follow-up questions the same day
Database objects, ROAs, PeeringDBHours after assignmentPrefixes and peers decided in advance
First BGP sessionUsually the same day over a tunnelA cross-connect also waits for the data centre's cabling

Refusals are rare. In 2024 the RIPE NCC received 2,563 ASN requests and issued 2,205 ASNs; its Registration Services manager said most of the gap came from requesters who stopped answering, not from rejections (address-policy-wg, March 2025). Membership is slower: due diligence, a hand-signed agreement and payment come first, so allow a few weeks.

Step 2: get IP addresses

IPv6: easy and cheap

A new LIR gets a /32, and up to a /29 without extra justification (RIPE-738). Through a sponsor you get a /48 of PI space, which you may use for your own infrastructure but not hand to customers. Proposal 2024-01, which would have rewritten the IPv6 PI rules, was withdrawn on 23 September 2026, so these rules stand. Our guide to using a /48 of IPv6 on a server covers what to do with it.

IPv4: wait, buy or lease

OptionCost for a /24 (256 addresses)Catch
RIPE waiting listNo fee beyond membershipOne /24 per LIR that never had RIPE IPv4 (RIPE-826); the LIR at the front had waited 476 days
BuyAbout $5,360 at $20.95 per address, plus broker feesMembers only; no resale for 24 months (RIPE-807)
LeaseAbout $97 a month at $0.38 per addressIf the lessor withdraws the ROA, your routes become invalid

The purchase price is the RIPE-region average in IPv4Center's H1 2026 report, and the lease price is the platform average on IPXO; both earn money from this market. Our IPv4 price guide compares more sources, and our guide to the monthly lease cost per IP lists what a lease should include.

Before you lease, check the /24 on Spamhaus, including the DROP list, and its routing history on RIPEstat: many different origin ASNs in a short time is a warning sign. You need a Letter of Authorization (LOA) naming the prefix and your ASN, plus a route object and ROA from the holder; our guide to announcing leased IPv4 with an LOA and ROA walks through it. Agree in writing who answers abuse reports, and ask for a replacement block if yours gets listed.

Step 3: make your prefixes routable (IRR and RPKI)

Upstreams build filters from public databases, so missing objects mean an ignored announcement. In the RIPE Database you need:

Then sign each prefix with a ROA (route origin authorisation), free in the RIPE NCC's hosted RPKI. A PI holder can manage ROAs directly or through the sponsor. Match exactly what you announce: RFC 9319 advises against a loose maxLength. Large carriers drop RPKI-invalid routes; isbgpsafeyet.com lists Lumen, Arelion, Cogent, NTT, GTT, Hurricane Electric and Deutsche Telekom. A wrong ROA is worse than none, because an invalid route vanishes from most of the internet. The RIPE NCC's September 2026 Member Update put ROA coverage in its region at 77% of IPv4 and 45% of IPv6 address space.

An ASPA object, which lists your allowed upstreams, is optional; sign one only if you will keep it current.

Check your objects from any Linux machine. These examples use the RIPE NCC's own network; swap in your prefix and ASN afterwards:

# install the tools once (Debian or Ubuntu, as root)
apt install -y whois curl jq

# the route object for a prefix: origin ASN and maintainer
whois -h whois.ripe.net -T route -r 193.0.0.0/21

# the aut-num policy and an as-set
whois -h whois.ripe.net -T aut-num -r AS3333
whois -h whois.ripe.net -T as-set -r AS-RIPENCC

# RPKI status of a prefix for a given origin ASN
curl -s "https://stat.ripe.net/data/rpki-validation/data.json?resource=AS3333&prefix=193.0.0.0/21" | jq -r .data.status

The route object shows origin: AS3333, and the as-set lists AS3333, AS2121 and AS12654. On 18 October 2026 the last command printed valid; with AS64500 as the origin it printed invalid_asn, the answer big networks act on when they drop a route.

Finally, register on PeeringDB, the public directory of networks. For a new ASN it looks up the contact email over RDAP and approves you automatically if it matches yours; otherwise support reviews it, and the FAQ says to follow up after two working days.

Step 4: your first BGP session

You sendYou receive
Your ASN and as-setTheir ASN and the peer IPv4 and IPv6 addresses
Your prefixes, with route objects and ROAs in placeFull table, default route, or both
The LOA, if the space is leasedTheir max-prefix limit and BGP community list
A cross-connect or a tunnel endpointAn MD5 password, if they use one

With one upstream, a default route is enough. With two, take full tables, about 1.09 million IPv4 and 259,000 IPv6 routes per feed, so the router picks the best path and fails over fast. Plan on at least 4 GB of RAM for two full dual-stack feeds.

A minimal BIRD configuration

BIRD runs on any Linux machine. This configuration announces one IPv4 /24 and one IPv6 /48 to one upstream. It follows the setup we ran in our October 2026 lab with BIRD 2.17.5 on Debian 13 between two machines, one playing the upstream: the same blackhole anchors, export filter and import limits, with lab addresses and private ASNs. The addresses here are documentation examples.

# as root
apt install -y bird2

# then put this in /etc/bird/bird.conf
log syslog all;
router id 192.0.2.2;

define MY_V4 = [ 203.0.113.0/24 ];
define MY_V6 = [ 2001:db8:1000::/48 ];

protocol device { }

# Your prefixes exist as "blackhole" routes so BIRD has something to announce.
protocol static my_v4 {
  ipv4;
  route 203.0.113.0/24 blackhole;
}
protocol static my_v6 {
  ipv6;
  route 2001:db8:1000::/48 blackhole;
}

# Put the routes learned over BGP into the Linux routing table.
protocol kernel {
  ipv4 { export where source = RTS_BGP; };
}
protocol kernel {
  ipv6 { export where source = RTS_BGP; };
}

protocol bgp upstream4 {
  description "Upstream IPv4";
  local 192.0.2.2 as 64500;
  neighbor 192.0.2.1 as 64496;
  ipv4 {
    import all;
    import limit 1200000 action restart;
    export where net ~ MY_V4;
  };
}
protocol bgp upstream6 {
  description "Upstream IPv6";
  local 2001:db8:ffff::2 as 64500;
  neighbor 2001:db8:ffff::1 as 64496;
  ipv6 {
    import all;
    import limit 300000 action restart;
    export where net ~ MY_V6;
  };
}

Check the file, load it and look at the sessions:

# as root
bird -p -c /etc/bird/bird.conf
birdc configure
birdc show protocols
birdc show route export upstream4
birdc show route protocol upstream4

In our lab, bird -p printed nothing (no errors), both sessions showed Established within five seconds, the export list held only our own /24, and the upstream's default route appeared in the Linux routing table. Three parts keep you safe. export where net ~ MY_V4 announces only your prefixes, because leaking a full table back out is the classic cause of large outages (RFC 8212). The blackhole routes stop traffic for unused addresses from looping. The import limits restart the session if an upstream floods you with routes.

For a second upstream, copy the two protocol bgp blocks with the new neighbour's details. FRRouting, VyOS and MikroTik RouterOS 7 work too. If your router is far from the upstream, see our guide to BGP over GRE, WireGuard, IPsec or VXLAN tunnels, and the IP transit page for what we need to start a session.

From sponsored ASN to live prefixes with RS Computers

Because we are both the LIR and an upstream, the job does not stop when the ASN is assigned:

Your situationWhereDeliveryWhat to ask for
Network in Kosovo, North Macedonia or AlbaniaSkopje, Neocom DC; AS213900 is on IXP.mk with a 100G port and open peeringTunnel or cross-connectSponsored ASN, IPv6 /48, 1 Gbit/s port
Router in AmsterdamAmsterdam, Qupra DC, hand-off at NikhefCross-connectSponsored ASN, 1, 5 or 10 Gbit/s port
One upstream today, equipment elsewhereEither PoPTunnelA second upstream for the multihoming rule
Prefixes under attackAmsterdamGRE tunnelRemote DDoS protection, ASN directly under GSL
No router yetA server in Amsterdam, Dublin or Prishtina as tunnel endpointTunnelVDS Small (4 dedicated vCPU, 8 GB RAM, 240 GB NVMe, 10 Gb/s) for full tables, or VPS Mini (4 shared vCPU, 4 GB, 80 GB, 1 Gb/s) for a default route

Prishtina to Skopje is about 3 ms on our own network, so a Kosovo network reaches IXP.mk without a detour through Vienna. See Balkan internet exchanges and peering for the wider region, and IP transit in Skopje or IP transit in Amsterdam for hand-off points. Server availability by city is on the plans page.

Frequently asked questions

How much does an ASN cost in 2026?

Through a sponsoring LIR, the RIPE NCC charges the sponsor EUR 50 a year per ASN, and the sponsor adds its own fee. Membership costs EUR 1,000 to join plus EUR 1,800 a year in 2026 and EUR 1,894 in 2027, with a member's first ASN included from 2027.

Who can sponsor an ASN in the RIPE region?

Any RIPE NCC member (LIR). The sponsor signs an agreement with you that meets RIPE-637, files the request and pays the RIPE NCC's yearly charge. The ASN stays registered to you, and you can change sponsor at any time. RS Computers is a RIPE NCC member and sponsors ASNs from its own LIR account.

What documents do I need for a sponsored ASN?

A recent company register extract (or a passport or ID copy for a private person), a signed agreement with the sponsoring LIR, contact and abuse details, and the ASNs and contact emails of at least two upstreams or peers. The sponsor turns these into RIPE Database objects.

How long does it take to get an ASN from RIPE?

The RIPE NCC publishes no fixed time. Through a sponsor, a complete request usually takes days; delays mostly come from unanswered questions. A new membership takes a few weeks.

Can I get an ASN with only one upstream?

Not under RIPE-679, which requires a multihomed network: two upstreams, or one upstream plus peering at an exchange. Proposal 2026-01 would drop this for a first ASN of anyone holding a RIPE-issued prefix, such as a PI /48; version 2.0 was published for review on 12 October 2026.

Can I use leased IPv4 with my own ASN?

Yes. The holder issues an LOA and creates a route object and a ROA naming your ASN as origin. Check the block on Spamhaus and RIPEstat before you sign.

The checklist, start to finish

Pick a sponsor, send your documents and two peers, and sign. Take an IPv6 /48, lease a checked /24, publish your objects and exact ROAs, then bring up BGP with export filters and prefix limits. For one party from the ASN request to the first session in Skopje or Amsterdam, start at our IP transit page or message us on Telegram with your company name, planned peers and preferred PoP.

← All articles

Chat on Telegram