Networks

How to identify an IPv6 network from its prefix

The prefix separates the bits identifying the block from the remaining bits. The calculator shows the normalized network and number of addresses.

Before you start

Text is processed in the browser. Consider the content before using it and read the privacy policy.

Privacy

How to use it

  1. Enter 2001:db8:1234:5678::abcd/64 in the IPv6 CIDR calculator.

  2. Calculate and check the network and host bits.

  3. Interpret 2^64 as the mathematical block size, not the number of available devices.

IPv6 CIDR Calculator

Worked example

The first 64 bits remain in the prefix; the remaining 64 bits are zeroed to obtain the network.

Result: 2001:db8:1234:5678::/64; 64 host bits; 2^64 addresses.

RFC 3849: IPv6 documentation

Limits and checks

The example uses a documentation prefix. The calculation does not confirm delegation, routing or availability and does not configure equipment.

Next step

To check syntax of an address without a prefix, use the IPv6 validator.

How to check the syntax of an IPv6 address
Back to the blog