Renting an IPv4 address is something almost everyone who runs a server or VDS ends up needing at some point: a separate address for outbound email, distinct IPs for several independent services, or a small block to keep customers apart. The IPv4 address space ran out long ago, so addresses now behave less like something you own and more like a resource you lease. This guide explains how many IPs you actually need, what blocks such as /29 and /28 mean, how to add an extra IP on a Linux or Windows server, and how to check reverse DNS (PTR) and IP reputation, step by step.
IPv4 addresses are allocated to network operators by regional internet registries (RIPE NCC for Europe). When you rent a server or VDS from a data center, you receive an address from your provider's pool. When you ask for an extra address, a new address or block from the same pool is routed to your service. The address is not transferred to you; you have the right to use it while the service is active, and it returns to the provider when you cancel.
Think of an IP as a leased line rather than a property. Managing DNS records, firewall rules and configuration by hostname wherever possible will make a future server move far easier.
Not every project needs extra addresses. Before ordering, see which of the following situations applies to you.
Address block sizes are written in CIDR notation. The number after the slash is the length of the network prefix, so a smaller number means a larger block. The table shows the total addresses and the number you can realistically assign to servers after the network address, broadcast address and gateway are subtracted. The usable count depends on how the provider routes the block, so confirm it with support before ordering.
| Block | Total addresses | Roughly usable | Typical use |
|---|---|---|---|
| /32 | 1 | 1 | One extra service, a mail server |
| /30 | 4 | 1-2 | Small network links |
| /29 | 8 | 5-6 | Small agency, a few VMs, a few customers |
| /28 | 16 | 13-14 | Mid-sized virtualization cluster |
| /27 | 32 | 29-30 | Resellers, multi-tenant environments |
| /24 | 256 | 253-254 | Large services and network operators |
These numbers illustrate general networking; whether addresses are delivered one by one or as a routed block, and which block sizes are offered, depends on the service. See the IP address services page for current options.
Need an extra IPv4 address?
Browse the extra IP options for your VPS and dedicated servers; current prices are on the category page.
View IP address servicesOnce the extra address is delivered, you need to add it to the server's network configuration. The examples below use the 203.0.113.0/24 range reserved for documentation; replace the address and gateway with the values your provider gives you. Interface names vary (eth0, ens3, enp1s0), so check yours first with ip -br a.
On Ubuntu the configuration lives in YAML files under /etc/netplan. Add the extra address as another line in the address list:
network:
version: 2
ethernets:
ens3:
addresses:
- 203.0.113.10/24
- 203.0.113.11/24
routes:
- to: default
via: 203.0.113.1
nameservers:
addresses: [1.1.1.1, 8.8.8.8]
When changing network settings on a remote server, use sudo netplan try first so the change rolls back automatically if you do not confirm it and you do not lock yourself out. Once confirmed, sudo netplan apply makes it permanent.
On Debian you can define the extra address as an alias interface in /etc/network/interfaces:
auto ens3:1
iface ens3:1 inet static
address 203.0.113.11
netmask 255.255.255.0
Keep the gateway on the main interface only. Adding a second default gateway to the alias interface confuses the routing table.
sudo nmcli con mod "System ens3" +ipv4.addresses 203.0.113.11/24
sudo nmcli con up "System ens3"
ip -br a
The connection name may differ on your system; run nmcli con show to see it. If you use a firewall (firewalld or nftables), remember to open the required ports for the new address.
ip -br a
curl -4 --interface 203.0.113.11 https://ifconfig.me
ping -c 3 -I 203.0.113.11 1.1.1.1
The second command shows that outbound traffic leaves through the extra IP. If traffic still leaves through the primary address, bind your application to the right address or add a routing rule that selects the source address. Mail servers and proxy software usually have a separate setting for the outbound address, such as smtp_bind_address in Postfix.
In the graphical interface, open the IPv4 properties of the network adapter, click Advanced, and add the new address to the IP addresses list. The same thing in PowerShell looks like this:
Get-NetAdapter
New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress 203.0.113.11 -PrefixLength 24 -SkipAsSource $false
Get-NetIPAddress -InterfaceAlias "Ethernet" -AddressFamily IPv4
Extra addresses share the gateway of the primary address. When several addresses exist, Windows tends to prefer the numerically lowest one for outbound connections; if you need the extra address to be the source, control it through IIS bindings, application settings and, where needed, the SkipAsSource option. For other settings to apply after installing Windows Server, read our first 15 settings after a Windows Server install guide.
Reverse DNS, or a PTR record, is a lookup from an IP address back to a hostname. Most mail servers query the IP of an incoming connection and score the message as spam if the PTR record is missing or inconsistent with the sending name. A correct setup has three steps:
mail.example.com).You can verify it with these commands:
dig -x 203.0.113.11 +short
dig mail.example.com A +short
host 203.0.113.11
The two lookups must confirm each other. For the rest of a mail setup (SPF, DKIM, DMARC and IPv6), see our guide on mail server rDNS, SPF, DKIM and DMARC; the steps apply regardless of location.
Because IPv4 addresses are reused, the one you receive may have a history. A short check saves you from delivery problems later.
Reverse the octets and query the DNSBL server. For 203.0.113.11, for example:
dig +short 11.113.0.203.zen.spamhaus.org
An empty answer means the address is not listed; an answer in the form 127.0.0.x means it is listed. Some large public resolvers may refuse answers from these lists once query limits are exceeded, so do not rely on a single source and also try a multi-list lookup tool.
Many services decide which content to show based on the geographic location of the address. Check a few IP geolocation tools to confirm that a new address maps to the right country. Short-lived wrong results can appear while databases update; if the error persists, tell your provider.
Do not send thousands of messages from a brand-new mail IP on day one. Raise volume gradually over several weeks and watch bounce and complaint rates so reputation builds naturally.
Plan your IPs around your server
Set up your VPS or dedicated server in an Istanbul data center and decide your extra IP needs at order time.
Browse VPS plansip addr add disappears after a reboot. Put it in the netplan, interfaces or NetworkManager configuration.| Scenario | Suggested setup | Watch out for |
|---|---|---|
| One website or a small corporate site | Single IPv4 plus IPv6 | No extra IP needed; SNI is enough |
| Corporate mail server | One extra IPv4, separate from web | PTR, SPF, DKIM, DMARC |
| A few game or proxy services | One extra IPv4 per service | Write firewall rules per address |
| Agency or reseller | Small block (for example /29) | Keep an address record per customer |
| Virtualization on a dedicated server | Block sized to the VM count | Confirm bridged networking and MAC limits with the provider |
If you plan to virtualize, hardware needs planning too; for other criteria when choosing a dedicated server, read our checklist for renting a dedicated server. You can see physical server options in the dedicated server category.
Renting an IPv4 address is a small but critical job built on working out how many addresses you really need, configuring them correctly and protecting their reputation. Clarify the need first, then configure the address permanently, set the PTR record, run a blacklist check and keep monitoring. These four steps head off many problems, from mail delivery to reachability.
This article is general technical information; provider routing and block policies differ, so confirm details with support before ordering. If you have questions, open a support request through our contact page.
What does renting an IPv4 address mean?
Renting an IPv4 address means you get the right to use one or more addresses owned by your provider for as long as the service runs. The address is not transferred to you; it is routed to your server while the service is active.
How many extra IPs does a server need?
Most websites run fine on a single IP, because SNI lets many TLS-protected sites share one address. A separate IP is usually needed for outbound email, several independent game or proxy services, customers who need an isolated reputation, and some licensing setups.
How do I add an extra IP to my server?
On Linux you add the new address as a second address in your netplan, ifupdown or NetworkManager configuration. On Windows you add it in the adapter's advanced IPv4 settings or with PowerShell. The default gateway stays the same as for the primary address.
Why does a reverse DNS (PTR) record matter?
For servers that send mail, the reverse DNS of the IP is one of the first trust signals receiving servers check. The PTR record should resolve to the hostname your server uses when sending, and that hostname should resolve back to the same IP.
How can I tell whether a rented IP is blacklisted?
Look the address up in DNSBL lookup services and email reputation tools, or query the reversed address against a list such as zen.spamhaus.org from the command line. Running this check before putting a new IP into production is a good habit.
Does my IP address change if I move servers?
Rented addresses belong to the provider, so they do not follow you to a different provider or location. Keeping DNS TTLs low and referring to hosts by name instead of hard-coding addresses in configuration files makes a move much easier.
Is IPv4 still needed now that IPv6 exists?
Yes. A large share of internet users still connect through IPv4-only networks. Enabling IPv6 as well is a good idea, but you need an IPv4 address so that everyone can reach your site.