Short answer
A /64 is a single network segment; a /48 contains 65,536 separate /64 segments. If your server needs one network and addresses from it, a /64 is enough. If services, container networks, virtual machines or customers have to live in separate /64s, choose a /48.
Neither block runs out of addresses in practice: a single /64 already holds 2^64 of them. What decides the choice is how many separate networks you need and which block outside services use to identify you. If prefixes are new to you, start with “What is an IPv6 subnet? Addressing basics”.
What exactly is the difference between a /48 and a /64?
The prefix length tells you how many of the 128 address bits belong to the network. In a /64 the first 64 bits are fixed and the remaining 64 are for devices on that network. In a /48 the first 48 bits are fixed and the 16 bits between the /48 and the /64 are yours to use as subnet IDs. Since 2^16 = 65,536, one /48 gives you 65,536 /64s.
In written addresses the difference sits in the fourth group. With 2001:db8:abcd::/48, every value of the fourth group from 2001:db8:abcd:0::/64 to 2001:db8:abcd:ffff::/64 is a separate network. With a single /64 such as 2001:db8:abcd:12::/64, the first four groups are all fixed and you only control the last four.
Sizes in between exist too; a /56 equals 256 /64s. When you rent a server, you are most often offered a /64 or a /48, so this article compares those two.
When is a /64 enough?
If your server runs on one network and you add addresses directly to its main interface, a /64 does the job. Typical cases: giving several websites or services their own IPv6 address, making a mail server reachable over IPv6, or making an API dual-stack. The addresses stay in one segment and no extra network is needed.
Tools like Docker can work with a single /64 as well. You hand containers a smaller slice of the /64: for example, setting "ipv6": true and "fixed-cidr-v6": "2001:db8:1234:5678:1::/80" in /etc/docker/daemon.json gives containers a /80 out of 2001:db8:1234:5678::/64. As container networks multiply, tracking those slices by hand gets tedious, and a /48 becomes the easier plan.
Stateless address autoconfiguration (SLAAC), on the other hand, only works on /64 segments (RFC 4862, RFC 7421). If you plan to run virtual machines or separate bridges behind the server that get addresses via SLAAC, each one needs its own /64. A single /64 cannot cover that.
When do you need a /48?
A /48 pays off when you run several networks that must stay apart. If you want a separate /64 for each environment (production, testing), each container network, each virtual machine or each customer, a /48 gives you that room from day one. You will not have to request another block and renumber later.
A /48 also helps when you host unrelated services or customers on the same server. A /64 already has plenty of addresses; what matters here is that each service sits in its own /64 and appears to the outside world as a separate source.
The IETF recommendation on assigning blocks to end sites also says a single /64 is usually not enough and that sites should get room to create subnets (RFC 6177). It is not a hard rule, though. If one network covers your needs, a /48 just sits unused and makes management more complex than it needs to be.
Which block fits which scenario?
Use this list as a starting point for the most common setups:
- A single website, blog or business application: a /64 is enough.
- Several sites, services or a mail server, each with its own address: a /64 is enough.
- One Docker network or a handful of containers: a /64 is enough, with a slice such as a /80 for the containers.
- Many container networks, Kubernetes or services that each need their own network: a /48.
- Virtual machines or bridges on the server that get addresses via SLAAC: a /48 (one /64 per bridge).
- Handing separate IPv6 networks to customers or teams: a /48.
- Services whose sending reputation must stay separate (for example, a mail server sharing the machine with other apps): a /48.
Why do outside services see your IPv6 address as a /64?
In IPv4 one address usually maps to one user or one server. In IPv6 a single server can generate billions of addresses from its /64, so many services apply rate limits, blocklists and reputation scores to the /64 an address belongs to rather than to the address itself. Two different addresses from the same /64 often look like the same source to them.
That is why switching addresses inside a /64 will not get you out of a rate limit or a bad reputation. If you run a mail server, spam sent from another address in the same /64 can hurt your sending reputation too. Giving the mail server its own /64 and setting up its reverse DNS (PTR) record properly reduces that risk.
A problem with a customer or service in its own /64 does not spill over to the others. When you give addresses to several customers or independent services, assigning each its own /64 from a /48 keeps their reputations apart. Whatever setup you choose, follow the rules of the services you use and your provider’s acceptable use policy.
Should the block be routed to the server or delivered on-link?
With routed delivery the provider routes the whole block to your server’s address; you use the addresses as you like, split the block into subnets and hand those to container or virtual machine bridges. With on-link delivery the block sits in the same segment as the server, and the server has to answer Neighbor Discovery (NDP) requests for every address you use.
With a few addresses you will not notice the difference. With hundreds of addresses or separate networks behind the server, on-link blocks may need an NDP proxy such as ndppd. Splitting a /48 into subnets in practice calls for routed delivery. Ask the support team how the block is delivered, either before you order or when the server is handed over.
How do you check your block size and split it into /64s?
First check which block is configured on the server, then write down your plan. The commands below run on Linux, and the examples use the 2001:db8::/32 documentation range (RFC 3849):
- Show configured addresses and their prefix length: ip -6 addr show scope global. The /64 or /48 after the address shows the block you were given.
- Show the default route and gateway: ip -6 route show default.
- List the first /64s of a /48: python3 -c "import ipaddress, itertools; n = ipaddress.ip_network('2001:db8:abcd::/48'); print(*itertools.islice(n.subnets(new_prefix=64), 3))" prints 2001:db8:abcd::/64, 2001:db8:abcd:1::/64 and 2001:db8:abcd:2::/64.
- Split a /64 into /80 slices for Docker: run the same command with 2001:db8:1234:5678::/64 as the block and 80 as new_prefix.
- Keep the plan in a table: subnet, purpose, owner and date. Reserving the first hex digit of the fourth group for the environment (1xxx production, 2xxx testing) makes it easier to read.
Which WeServer IPv6 Subnet VDS plan comes with which block?
WeServer IPv6 Subnet VDS plans use the same CPU, RAM and disk options as Turkey VDS, and every plan includes 1 IPv4 address. IPv6 VDS #1, #2 and #3 come with a /64 IPv6 subnet. IPv6 VDS #4 and above (starting at 4 vCores and 12 GB RAM) offer a /48 or /64 IPv6 subnet.
For setups that run on one network, the first three plans are enough. If you know you will need several /64s, pick plan #4 or higher and ask for a /48 when you order. Once you have the block, follow “How to configure IPv6 on an Ubuntu server with netplan” to set a persistent address on Ubuntu. See the IPv6 Subnet VDS page for plan details.
Frequently asked questions
How many /64s are in a /48? 65,536. A /48 and a /64 differ by 16 bits, and 2^16 = 65,536.
Can a /64 be upgraded to a /48 later? That depends on the provider’s network and your plan. An upgrade usually means a new block and new addresses, so you will have to update DNS records and firewall rules. If you expect to grow, taking a /48 from the start saves work.
Is it a problem to split a single /64 into smaller subnets? Giving containers slices such as a /80 is common and works. Segments that use SLAAC must be /64, though (RFC 7421); autoconfiguration does not work on anything smaller.
Does a /48 change the server’s speed or traffic? No. The block size only determines how many separate networks you can build; port speed and traffic are properties of the plan itself.
