What Is IPv4 Leasing? Why Did IP Addresses Run Out?
When you set up a new server, asking for an additional IP address used to mean simply filling in a form. Today, IPv4 addresses are a limited and valuable resource; most of the time they can't be bought, only leased. The reason is simple: the world has no more IPv4 addresses waiting to be allocated.
In this guide, we explain why IPv4 addresses ran out, what IPv4 leasing is and how it works, how it differs from buying, what to watch out for when leasing and where IPv6 fits into the picture.
IPv4 leasing is when an organization that owns an IP address block makes those addresses available to another user for a set period in exchange for a fee. IPv4 has a total of about 4.3 billion addresses. The global allocation pool ran out in 2011, and the pool of RIPE NCC, which covers Europe and the Middle East, ran out in 2019. That's why additional IPv4 needs today are mostly met through leasing.
- 01 What Is an IPv4 Address and How Many Are There?
- 02 Why Did IP Addresses Run Out?
- 03 Timeline of the Exhaustion
- 04 What Is IPv4 Leasing and How Does It Work?
- 05 Leasing or Buying?
- 06 Who Leases IPv4?
- 07 What to Watch Out for When Leasing
- 08 Didn't IPv6 Solve This Problem?
- 09 Frequently Asked Questions
- 10 Conclusion
What Is an IPv4 Address and How Many Are There?
An IP address is the identity of every device connected to the internet; data packets reach the right place using this address. IPv4 addresses consist of four numbers separated by dots, such as 203.0.113.10, and are 32 bits long. That means a maximum of 232, or 4,294,967,296, different addresses.
Not all of these can be used on the internet. A significant portion is reserved for special purposes such as local networks (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), multicast, testing and future use. As a result, the number of addresses available for internet-facing services is lower than the theoretical total.
We explained in detail how many addresses blocks (/29, /28, /24) contain in our IP block guide.
Why Did IP Addresses Run Out?
The internet's unforeseen growth
When IPv4 was designed in the early 1980s, 4.3 billion addresses seemed more than enough for a limited number of university and institutional networks. No one foresaw that every home, every pocket and every device would have an internet connection.
Generous allocation in the early days
In the early years, some organizations were given /8 blocks of 16 million addresses. Classful addressing (classes A, B and C) also led to blocks larger than needed being allocated. The move to classless addressing (CIDR) reduced the waste, but most of the allocated addresses never came back.
Smartphones, the cloud and the Internet of Things
From the late 2000s onwards, mobile internet, cloud services and always-connected devices multiplied the demand for addresses. Demand grew much faster than the transition to IPv6.
The modem in your home gathers all your devices behind a single public IP address (NAT). Carriers can also group many customers to share the same public address (CGNAT). These techniques delayed exhaustion for years; however, servers that offer internet-facing services still need their own public IPv4 address.
Timeline of the Exhaustion
IP addresses are allocated globally by IANA and regionally by five Regional Internet Registries (RIRs). Turkey is in the RIPE NCC region, together with Europe and the Middle East.
| Date | Organization | What happened? |
|---|---|---|
| February 2011 | IANA | The last /8 blocks in the global pool were allocated to the five RIRs; the central pool was exhausted |
| April 2011 | APNIC (Asia-Pacific) | Reached its last /8 block and moved to restricted allocation |
| September 2012 | RIPE NCC (Europe, Middle East) | Reached its last /8 block; each member began receiving only a small block |
| September 2015 | ARIN (North America) | The free pool was exhausted and a waiting list was introduced |
| November 2019 | RIPE NCC | Allocated its last IPv4 addresses; a waiting list was created for small recovered blocks |
Today, it's not possible for an organization in the RIPE region to quickly get a large IPv4 block from the registry. Additional address needs are met by buying (transfer) from or leasing from organizations that already hold addresses.
What Is IPv4 Leasing and How Does It Work?
With IPv4 leasing, the registered owner of the addresses doesn't change. The block is assigned to you for the duration of the lease, and the usage information in the registry's database is updated accordingly. The typical process is as follows:
Need and justification
You state how many addresses you need and what you'll use them for. Because of the registries' policies, most providers ask for a short justification of use.
Assignment and database registration
The provider assigns the block to you and updates the record in the RIPE database (the inetnum object). Contact details for abuse reports are also added to this record.
Routing
Small blocks (/29, /28) are routed directly to your server over the provider's own network. For a /24 block that you'll announce via BGP from your own network, the provider gives you a letter of authorization (LOA), and RPKI/ROA and route object records are created.
Usage and reverse DNS
You configure the addresses on your server. For services such as a mail server, you have a reverse DNS (PTR) record set for each IP. We explained DNS record types in our DNS guide.
Leasing or Buying?
| Criterion | Leasing | Buying (transfer) |
|---|---|---|
| Upfront cost | Low; monthly or annual fee | High; the whole block is paid for in advance |
| Prerequisite | Usually just a justification of use | Registry membership (LIR at RIPE) and a transfer process |
| Flexibility | Expanded or released as needed | The block size is fixed from the start |
| Suitable block size | From /29 to /24 and above | In practice, /24 and above |
| Who is it for? | Most servers, hosting and growing projects | Organizations with long-term, large address needs that run their own ASN |
Who Leases IPv4?
- Hosting and VDS providers: They need public IP addresses for the virtual servers they offer to customers.
- Colocation customers: Companies that host their own hardware in a data center and expose several servers to the internet.
- Organizations making BGP announcements with their own ASN: This requires at least a /24 block.
- Virtualization and test environments: Teams that want to give separate IPs to many virtual machines on Proxmox or VMware.
- Businesses that want to separate their services: Those who want to run web, email and application services on different IP addresses so a problem with one doesn't affect the others.
What to Watch Out for When Leasing
- βOwnership: I verified in the WHOIS record that the block really belongs to the provider or an organization it's authorized by.
- βReputation: I checked that the addresses aren't on blacklists such as Spamhaus.
- βGeolocation: I found out which country the IP appears in on geolocation databases.
- βReverse DNS: I confirmed that PTR records can be set for the IPs I need.
- βBGP requirements: If I'll make my own announcement with a /24, I clarified the LOA, RPKI/ROA and route object processes.
- βContract: The term, price, renewal and refund terms and the abuse policy are stated in writing.
You can also look up a block's RIPE record yourself. The command below shows who the block is registered to and its abuse contact address:
whois -h whois.ripe.net 203.0.113.0 If you use Windows, you can run the same query with the database search tool on the RIPE NCC website. The address in the example is for documentation purposes; enter your own block's address.
An IP address previously used for spam or attacks can cause your emails to go to spam, get you blocked on some sites and trigger risk flags with payment providers. You can find the impact on the email side in our guide explaining why business emails go to spam.
Didn't IPv6 Solve This Problem?
IPv6 was designed to solve the address shortage permanently. At 128 bits long, IPv6 addresses offer a space so large that it practically can't run out. So why is IPv4 still being leased?
- The transition is incomplete: IPv6 use grows every year and a significant share of users now connect over IPv6. However, a significant portion of users, corporate networks and services still use only IPv4.
- The two protocols can't see each other directly: A visitor who uses only IPv4 can't reach a server that has only an IPv6 address. That's why every internet-facing service still needs an IPv4 address today.
- The best approach is to use both together: Running IPv4 and IPv6 together (dual-stack) on your servers provides both today's compatibility and readiness for the future.
Frequently Asked Questions
Is IPv4 leasing legal?
Yes. When it's done in line with the registries' policies β that is, when the block is assigned by an authorized organization and the database records are kept accurate β IP leasing is a common and legitimate practice.
Do the IP addresses I lease belong to me?
No. The registered owner of the addresses doesn't change; you have the right to use them for the duration of the lease. When the lease ends, the addresses return to the provider.
What determines the price of IPv4 leasing?
The price is usually determined by the block size, the lease term, the market value per IP and the block's reputation. With long-term, large-block leases, the cost per IP usually goes down.
Can I lease a single additional IP address?
Many providers offer a single additional IP address with VDS and server services. If you need several addresses, getting a block such as a /29 or /28 is more efficient in terms of both management and cost.
Have IP addresses completely run out? Are there no new addresses at all?
The free pool that registries allocate from has run out. However, existing addresses continue to change hands and be leased, and small recovered blocks continue to be allocated via a waiting list. So addresses exist, but they're no longer free or unlimited.
Conclusion
IPv4 addresses ran out because of the internet's unexpected growth, generous allocation in the early days and the explosion of demand in the mobile and cloud era. The global pool emptied in 2011, and RIPE NCC's pool in 2019. Today, the most practical solution for additional IPv4 needs is leasing: it offers a low upfront cost, flexible block sizes and fast delivery. When leasing, check ownership, reputation, reverse DNS support and contract terms; in the long run, also enable IPv6 on your servers.
You can explore Netiyo's IP Leasing service and request a quote for /29, /28 and /24 IPv4 blocks for your server, hosting and data center projects. To host your own hardware, take a look at our server colocation options, or our dedicated server options for a physical server. Our Tier 3 data center guide may also help when choosing a data center.
Explore IP Leasing