2^{128}-1: 340282366920938463463374607431768211455 |
2^{128}-1: 0xffffffffffffffffffffffffffffffff |
2^{128}-1: ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff |
A usable address (see address types later) is e.g.:
3ffe:ffff:0100:f101:0210:a4ff:fee3:9566 |
For simplifications, leading zeros of each 16 bit block can be omitted:
3ffe:ffff:0100:f101:0210:a4ff:fee3:9566 -> ΒΌ 3ffe:ffff:100:f101:210:a4ff:fee3:9566 |
3ffe:ffff:100:f101:0:0:0:1 -> 3ffe:ffff:100:f101::1 |
The biggest reduction is seen by the IPv6 localhost address:
0000:0000:0000:0000:0000:0000:0000:0001 -> ::1 |
There is also a so-called compact (base85 coded) representation defined RFC 1924 / A Compact Representation of IPv6 Addresses (written 1996), never seen in the wild, but here is an example:
# ipv6calc --addr_to_base85 3ffe:ffff:0100:f101:0210:a4ff:fee3:9566 Itu&-ZQ82s>J%s99FJXT |
Info: ipv6calc is an IPv6 address format calculator and converter program and can be found here: ipv6calc