IPv6 address
Click on the red underlined text to get to the source
...
IPv6 addresses, being 128 bits long, need 32 characters to write in
the general case, if standard hex representation, is used, plus more
...
... for any punctuation inserted (typically about another 7 characters,
or 39 characters total). This document specifies a more compact
representation of IPv6 addresses, which permits encoding in a mere 20
bytes.
...
...
In most cases, using genuine IPv6 addresses, one may expect the
address as written to tend toward the upper limit of 39 octets, as
...
... This document specifies a new encoding, which can always represent
any IPv6 address in 20 octets. While longer than the shortest
possible representation of an IPv6 address ...
... IPv6 address in 20 octets. While longer than the shortest
possible representation of an IPv6 address, this is barely longer
than half the longest representation, and will typically be shorter
than the representation of most IPv6 addresses ...
... IPv6 address, this is barely longer
than half the longest representation, and will typically be shorter
than the representation of most IPv6 addresses.
...
...
[AddrSpec] specifies that the preferred text representation of IPv6
addresses is in one of three conventional forms.
...
... form, and is intended mostly for transition, when IPv4 addresses are
embedded into IPv6 addresses. These can be considerably longer than
the longest normal IPv6 representation, and will eventually be phased
...
... 2^128 is 340282366920938463463374607431768211456. 85^20 is
387595310845143558731231784820556640625, and thus in 20 digits of
base 85 representation all possible 2^128 IPv6 addresses can clearly
be encoded.
...
... On the other hand, 94^19 is just
30862366077815087592879016454695419904, also insufficient to encode
all 2^128 different IPv6 addresses, so 20 characters would be needed
even with base 94 encoding. As there are just 94 ASCII characters ...
...
'"' and "'", which allow the representation of IPv6 addresses to
be quoted in other environments where some of the characters in
the chosen character set ...
...
',' to allow lists of IPv6 addresses to conveniently be written,
and '.' to allow an IPv6 address to end a sentence without
...
... ',' to allow lists of IPv6 addresses to conveniently be written,
and '.' to allow an IPv6 address to end a sentence without
requiring it to be quoted.
...
...
'[' and ']', so those can be used to delimit IPv6 addresses when
represented as text strings, as they often are for IPv4,
...
... Converting an IPv6 address to base 85. ...
...
Apart from generally reducing the length of an IPv6 address when
encode in a textual format, this scheme also has the benefit of
...
... encode in a textual format, this scheme also has the benefit of
returning IPv6 addresses to a fixed length representation, leading
zeroes are never omitted, thus removing the ugly and awkward variable
...
... address, and thus will find it harder to make immediate use of the
address. As IPv6 addresses are not intended to be learned by humans,
one reason for which being that they are expected to alter in
comparatively short timespan, by human perception, the somewhat
...
