Independent hosting operator since 2014 · New York · Dallas · Amsterdam Status Looking Glass Contact
D4 NetworksD4 Networks
Client area Deploy a server
Home / Resources / Use more addresses from your IPv6 /64

Guides

Use more addresses from your IPv6 /64

May 29, 2026 · 6 min read

Every D4 VPS includes a routed /64 IPv6 block, and only the first address is in use when the server arrives. This guide shows how to use more addresses from your block, for example one address per website or a separate address for outgoing mail.

1. Find your block

Open your service in the client area and click Log In To Panel under Service actions. On the server's Networking tab, your IPv6 block is listed as a /64, for example 2001:db8:1:2::/64. The first address (::1) is already configured on the server. Every other address in the block is free for you to use.

2. Add an address and test it

Pick any address from your block and add it to the network interface. This change is temporary and disappears at reboot; we make it permanent in the next step.

ssh session
$ sudo ip addr add 2001:db8:1:2::25/64 dev eth0

Then test it from your own computer:

your machine
$ ping -6 -c 3 2001:db8:1:2::25

If the ping works, the address is live.

3. Make it permanent

How you save the address depends on the OS family.

On Ubuntu, create a small extra netplan file, then apply it:

/etc/netplan/60-extra-ipv6.yaml
network:
  version: 2
  ethernets:
    eth0:
      addresses:
        - 2001:db8:1:2::25/64
Ubuntu
$ sudo netplan apply

On RHEL-based systems, add the address to the NetworkManager connection. First find the connection name, then add the address and reload:

RHEL-based
$ nmcli -f NAME,DEVICE con show
$ sudo nmcli con mod "YOUR-CONNECTION" +ipv6.addresses 2001:db8:1:2::25/64
$ sudo nmcli con up "YOUR-CONNECTION"

On Debian, cloud images use ifupdown. Create a small extra file with one more stanza for the interface; the address you added in step 2 then survives the next reboot:

/etc/network/interfaces.d/60-extra-ipv6
iface eth0 inet6 static
    address 2001:db8:1:2::25/64

Reboot once and run ip a to check that the address is still there.

4. Set reverse DNS for the new address

On the Networking tab, open your /64 row and click the plus button. Enter the new address and its hostname, then save. Our reverse DNS guide covers this in detail, including the matching forward records.

5. Put the addresses to work

Give each website its own address with its own AAAA record, and bind the web server to it:

/etc/nginx/sites: one server block
listen [2001:db8:1:2::25]:443 ssl;

A mail server can send from its own dedicated address, with reverse DNS set on exactly that address. Containers and VMs inside your VPS can also each get their own address from the block.

The whole block is yours

A /64 holds more addresses than you will ever need, and there is no charge for using them. Pick addresses you can remember, like ::25 for the mail server or ::80 for the web server.

Quick reference

TaskCommand or place
See your blockNetworking tab in the control panel
Add an address nowip addr add ADDR/64 dev eth0
Test itping -6 ADDR from your machine
Keep it after rebootnetplan file, or nmcli con mod
Reverse DNSPlus button on the /64 row

Where to go next

Add AAAA records for the services you host, and set reverse DNS on every address you use for mail. If you have not read it yet, our reverse DNS guide explains the full forward and reverse setup.

ipv6 networking dns

Related articles