What Is IPv4 Rental? What to Know Before Leasing an IP Block
With IPv4 addresses exhausted, companies and server owners are renting IP blocks instead of buying them. We cover block sizes from /30 to /22, usable IP counts, BGP announcements, IP reputation and when you need an ASN.
Every server, website or network device reachable directly from the internet needs a public IPv4 address. But the IPv4 address pool ran dry years ago; the regional internet registries (RIRs) can no longer hand out large blocks to new applicants. That's why companies and server owners who need IP addresses either buy them at steep prices or rent them. In this post we explain what IPv4 rental is, how block sizes work and what to check before you rent.
Quick summary: IPv4 rental means getting the right to use an IP block for a set period. Block size is written in CIDR notation: a /30 block has 4 addresses, a /24 block has 256. The smallest IPv4 block that can be announced on its own via BGP on the internet is generally a /24. Before renting, check the block's reputation (blacklists) and be clear on how you'll use it (on the provider's network, or with your own ASN).
If you're not familiar with the basics of IP addresses, take a look at our What is an IP address? post first.
What is IPv4 rental?
With IPv4 rental, the owner of an IP block (a provider or an IP-holding organization) lets you use the block for a monthly or yearly fee. Ownership of the block doesn't change; you hold the right to use it for the term of the contract. When the lease ends, the block returns to its owner. Compared with buying, the upfront cost is much lower, and it's easier to scale the block up or down as your needs change.
Who rents IP addresses?
- Hosting and server providers: To give their customers dedicated IPs.
- Companies building their own network: Organizations running their own equipment in a data center and taking connectivity from more than one carrier.
- Businesses that send email: To split sending traffic across different IPs and protect their reputation.
- Anyone running lots of virtual servers: People who want a separate address for each virtual machine, site or customer.
- Game and application server operators: When each server needs its own public address.
Block sizes: from /30 to /22
IP blocks are written in CIDR notation. The smaller the number after the slash, the larger the block:
| Block | Total addresses | Note |
|---|---|---|
| /30 | 4 | Usually 2 usable addresses (network and broadcast addresses are subtracted) |
| /29 | 8 | 6 usable addresses |
| /28 | 16 | 14 usable addresses |
| /27 | 32 | 30 usable addresses |
| /26 | 64 | 62 usable addresses |
| /25 | 128 | 126 usable addresses |
| /24 | 256 | Smallest block that can be announced via BGP |
| /23 | 512 | 2 x /24 |
| /22 | 1,024 | 4 x /24 |
In small blocks (for example a /29), one address each is reserved for the network address, the broadcast address and often the gateway, so the number of "usable IPs" is lower than the total. Work out how many addresses you actually need with this in mind.
How do you use the block? Two options
- Use it on the provider's network: The block is routed to the network where your server lives; you simply assign the addresses to your servers. You don't need your own ASN. Small blocks (/30 - /25) are usually used this way, because they can't be announced on their own on the internet.
- Announce it via BGP from your own network: If you have your own ASN and at least a /24 block, you can announce the block to the internet from your own router. This requires a letter of authorization from the block owner (usually called an LOA) and a correct route object in the registry database. The process varies by provider, so clarify it before you buy.
What is an ASN, and when do you need one?
An ASN (autonomous system number) is the identifier of a network that appears on the internet with its own routing policy. If you just want a few extra IPs for your servers, you don't need an ASN. You do need one if you'll take connectivity from more than one carrier, announce your own IP blocks yourself, or build your own network between data centers. Getting an ASN assigned is a process that involves paperwork.
Checklist before renting
- IP reputation: Check whether the block is on any spam or abuse blacklists. Email sent from a blacklisted IP lands in spam, and some sites block that IP.
- Geolocation (GeoIP): Which country do IP databases show the block in? Showing up in the wrong country can cause problems with some services. Updates can take anywhere from a few days to a few weeks to propagate.
- Reverse DNS (PTR): You need to be able to set reverse DNS records, especially for mail servers. We cover DNS records in our What is DNS? post.
- Acceptable use rules: Abuse such as spam, unauthorized scanning and attacks is banned in every contract and leads to the block being taken back.
- Term and price: Monthly or yearly? If you want to grow, can you get additional blocks from the same range?
Is IPv6 rental different?
The IPv6 address space is enormous; a single /48 block contains 65,536 /64 subnets. That's why IPv6 blocks are much cheaper than IPv4. However, because some users and services on the internet can still only connect over IPv4, IPv6 usually complements IPv4 rather than replacing it. Best practice is to serve your services over both IPv4 and IPv6.
Do you need to rent IPs for a single server?
Usually not. If you just want your own IPv4 address for a website, an API or a game server, getting a server with the IP address included in the plan is simpler and cheaper. For example, our game server plans and VDS Enterprise plans (VDS) include a dedicated IPv4 address. Standard VPS plan cards, on the other hand, do not include a dedicated IPv4 address; those plans are suited to workloads that connect outward.
IP rental at TürkiyeVPS
On our IPv4 rental page you can add a dedicated Turkish IPv4 address in Istanbul to your VPS or VDS for 1.88 USD per month; our team assigns the IP by hand after the payment is confirmed (usually within a few hours). IPv4 blocks (/30 to /22), IPv6 blocks and ASN assignment are not in stock at the moment and are handled on request only: open a support ticket with the block size you need and how you will use it (on your server, or announced via BGP from your own network). For the differences, see Dedicated IP vs shared NAT IP on a VPS and IPv4 block sizes explained.
Frequently Asked Questions
What's the difference between renting and buying IPv4?
When you buy, the block becomes yours and is transferred to your name at the registry; the upfront cost is high. When you rent, the block stays with its owner and you pay a regular fee for the right to use it for the term of the contract. Renting lowers the upfront cost and gives you flexibility as your needs change.
Why does a /30 block have 2 usable IPs instead of 4?
In an IPv4 subnet, the first address is the network address and the last is the broadcast address, and neither is assigned to devices. Since 2 of the 4 addresses in a /30 block are reserved this way, 2 usable addresses remain. The larger the block, the smaller the share of addresses lost this way.
Can I announce a small block via BGP with my own ASN?
Usually not. Most networks on the internet don't accept IPv4 announcements smaller than a /24. If you want to announce from your own network, you need at least a /24 block; smaller blocks are used on the provider's network.
What happens if the IP I rent is blacklisted?
Your emails may land in spam, and some services may block connections from that IP. Check the block with blacklist lookup tools before renting; if you notice a problem after you start using it, open a support ticket to report it.
Does renting an IPv6 block remove the need for IPv4?
Not yet. Because many users and services can still only connect over IPv4, IPv6 is generally used alongside IPv4. Since IPv6 is cheap, offering both protocols together is the best approach.
You might also like
A NAT VPS shares one public IPv4 with other servers, while a dedicated IP is yours alone. Here is what works o...
Need a static Turkey IP address for a website, a bot, a personal VPN or a whitelisted connection? Here is what...
What do /30, /29, /24 and /22 really mean, how many usable addresses do you get, and why does an IPv4 block co...