← IPv6 Subnets • /32 Prefix Guide

Documentation

2001:db8::/32 – Documentation Prefix

Reserved by RFC 3849 for examples in documentation, books and configuration samples. It should never be routed on the internet, which makes it safe to use in tutorials and tests.

Range2001:db8:: – 2001:db8:ffff:ffff:ffff:ffff:ffff:ffff
Total Addresses79,228,162,514,264,337,593,543,950,336
Prefix Length/32

That is ≈ 7.9 × 1028 addresses.

Advertisement Slot

Complete Breakdown for 2001:db8::/32

CIDR Notation2001:db8::/32
Expanded Network2001:0db8:0000:0000:0000:0000:0000:0000
First Address2001:db8::
Last Address2001:db8:ffff:ffff:ffff:ffff:ffff:ffff
Last Address (expanded)2001:0db8:ffff:ffff:ffff:ffff:ffff:ffff
Prefix Maskffff:ffff::
Network / Host Bits32 / 96
Total Addresses79,228,162,514,264,337,593,543,950,336
/64 Subnets Inside4,294,967,296
Reverse DNS Zone8.b.d.0.1.0.0.2.ip6.arpa

Route & Firewall Examples for 2001:db8::/32

Linux ip -6 & ip6tables

ip -6 route add 2001:db8::/32 via fe80::1 dev eth0
ip6tables -A INPUT -s 2001:db8::/32 -j ACCEPT

Cisco IOS ACL

ipv6 access-list ALLOW-RANGE
 permit ipv6 2001:db8::/32 any

Windows Firewall (PowerShell)

New-NetFirewallRule -DisplayName "Allow 2001:db8::/32" -Direction Inbound -RemoteAddress "2001:db8::/32" -Action Allow

Frequently Asked Questions about 2001:db8::/32

What is 2001:db8::/32 used for?

Reserved by RFC 3849 for examples in documentation, books and configuration samples. It should never be routed on the internet, which makes it safe to use in tutorials and tests.

How many addresses are in 2001:db8::/32?

2001:db8::/32 contains 79,228,162,514,264,337,593,543,950,336 addresses, using a /32 prefix with 96 host bits.

What are the first and last addresses of 2001:db8::/32?

The range runs from 2001:db8:: to 2001:db8:ffff:ffff:ffff:ffff:ffff:ffff.


← 2001::/32 3fff::/20 →