IPv6 /128 subnet
An IPv6 /128 fixes the first 128 bits and leaves 0 for subnets and interfaces. That is 1 address.
Example: 2001:db8::/128
- CIDR block
- 2001:db8::/128
- Network address
- 2001:db8::
- Last address
- 2001:db8::
- Total addresses
- 1
- Network, written out
- 2001:0db8:0000:0000:0000:0000:0000:0000
Check another address in the subnet calculator.
Where you see an IPv6 /128
- A /128 is one address, such as the loopback address ::1/128.
How many fit in a larger block
- A /32 holds 2^96 blocks of IPv6 /128.
- A /48 holds 2^80 blocks of IPv6 /128.
- A /56 holds 2^72 blocks of IPv6 /128.
- A /64 holds 18,446,744,073,709,551,616 blocks of IPv6 /128.
Questions
How many addresses are in an IPv6 /128?
An IPv6 /128 is exactly one address. Routers use it for loopback interfaces and host routes, and ::1/128 is the IPv6 loopback address.
What is an example of an IPv6 /128?
2001:db8::/128 runs from 2001:db8:: to 2001:db8::. It is taken from 2001:db8::/32, the range reserved for documentation (RFC 3849).