Skip to content
Tape and Square

N-01 · Subnet · IPv6 /128

/128 IPv6 subnet

A /128 IPv6 prefix fixes the first 128 of 128 bits and leaves 0. Its size, how it splits, where it sits among the usual allocation sizes and the RFC rules that apply to it.

Short answer

Addresses
1The address itself
Fit in one /64
2^64Smaller than a /64 by 64 bits
Fit in one /48
2^801,208,925,819,614,629,174,706,176

IPv6 has no broadcast address and all-zeros and all-ones are ordinary values (RFC 4291 §2). A /128 is a single address, such as the loopback address (RFC 4291).

Where a /128 sits

How many /128 blocks the larger sizes hold.

Block/128 blocks in it
::/0, all of IPv6340,282,366,920,938,463,463,374,607,431,768,211,456 (2^128)
2000::/3, global unicast42,535,295,865,117,307,932,921,825,928,971,026,432 (2^125)
2001:db8::/3279,228,162,514,264,337,593,543,950,336 (2^96)
2001:db8:abcd::/481,208,925,819,614,629,174,706,176 (2^80)
2001:db8:abcd:3400::/564,722,366,482,869,645,213,696 (2^72)
2001:db8:abcd:3412::/6418,446,744,073,709,551,616 (2^64)

IANA assigns unicast space only from 2000::/3, which holds 42,535,295,865,117,307,932,921,825,928,971,026,432 (2^125) /128 blocks; the example blocks in the table are the ones around 2001:db8:abcd:3412:1e:5:a:7, all inside the documentation prefix 2001:db8::/32 (RFC 3849).

Rules for a /128

A /128 names one address. The special-purpose registry has several, listed below: the unspecified and loopback addresses (RFC 4291) and anycast addresses for services such as the Port Control Protocol.

RFC 3177 suggested a /128 only “when it is absolutely known that one and only one device is connecting”. RFC 6177 dropped that: “It is no longer recommended that /128s be given out.” One /64 holds 18,446,744,073,709,551,616 (2^64) of them.

Special-purpose /128 blocks

Blocks of exactly this size in the IANA IPv6 Special-Purpose Address Space registry.

BlockUse
::/128Unspecified Address
::1/128Loopback Address
2001:1::1/128Port Control Protocol Anycast
2001:1::2/128Traversal Using Relays around NAT Anycast
2001:1::3/128DNS-SD Service Registration Protocol Anycast

Check an address

Pre-filled with 2001:db8:abcd:3412:1e:5:a:7/128. Change the address or the prefix.

/128

Also accepts 192.168.1.130 255.255.255.192, 192.168.1.0 60 hosts or IPv6 like 2001:db8::/48.

Result

2001:db8:abcd:3412:1e:5:a:7/128

1 address

First address
2001:db8:abcd:3412:1e:5:a:7
Last address
2001:db8:abcd:3412:1e:5:a:7
Prefix length
/128
Broadcast
None in IPv6

A /128 is a single address. IPv6 has no broadcast address; the first address is the subnet-router anycast address (RFC 4291).

DOCUMENTATION

Inside 2001:db8::/32, reserved for documentation and examples (RFC 3849). Not routed.

Hex view

Address
2001:0db8:abcd:3412:001e:0005:000a:0007
Network
2001:0db8:abcd:3412:001e:0005:000a:0007
Last
2001:0db8:abcd:3412:001e:0005:000a:0007

Each hex digit is 4 bits. Bold digits are fixed for the network; orange digits number the interfaces.

2001:db8:abcd:3412:1e:5:a:0/112 split into /128 · 65,536 blocks

  1. … 4 before
  2. 2001:db8:abcd:3412:1e:5:a:7/128◂
  3. … 65,524 more

Worked example

Take 2001:db8:abcd:3412:1e:5:a:7/128, written out in full as 2001:0db8:abcd:3412:001e:0005:000a:0007. All 128 bits are prefix, so the block is that one address: 2001:db8:abcd:3412:1e:5:a:7/128.

There is nothing to split. The /127 around it is 2001:db8:abcd:3412:1e:5:a:6/127 and the /64 is 2001:db8:abcd:3412::/64.

References

  • RFC 4291, IP Version 6 Addressing Architecture: §2 (no broadcast), §2.3 (prefix notation), §2.6.1 (Subnet-Router anycast).
  • RFC 3849, IPv6 Address Prefix Reserved for Documentation: 2001:db8::/32.
  • RFC 5952, A Recommendation for IPv6 Address Text Representation.
  • RFC 6177 (BCP 157), IPv6 Address Assignment to End Sites, which replaced RFC 3177.
  • RFC 4862, IPv6 Stateless Address Autoconfiguration, §5.5.3.
  • RFC 7421, Analysis of the 64-bit Boundary in IPv6 Addressing; RFC 7608 (BCP 198), prefix lengths in forwarding.
  • IANA IPv6 Special-Purpose Address Space registry (updated 2025-10-09).

Other IPv6 prefixes