Seiichi Kawamura <[email protected]> писал в своём письме Wed, 04 Aug
2010 15:26:09 +0400:
Current section 4.2 has 3 parts, and the first two are
4.2.1. Shorten as Much as Possible
The use of the symbol "::" MUST be used to its maximum capability.
For example, 2001:db8::0:1 is not acceptable, because the symbol "::"
could have been used to produce a shorter representation 2001:db8::1.
4.2.2. Handling One 16-Bit 0 Field
The symbol "::" MUST NOT be used to shorten just one 16-bit 0 field.
For example, the representation 2001:db8:0:1:1:1:1:1 is correct, but
2001:db8::1:1:1:1:1 is not correct.
I would like to combine these two, and also clarify that you MUST
use "::" when there are more then two consecutive 0 fields.
The following is the text I plan to use.
4.2.1. When to use "::"
If the address contains at least two consecutive 16-bit 0 fields, "::"
MUST be used to compress all consecutive 16-bit 0 fields.
The symbol "::" MUST NOT be used to shorten just one 16-bit 0 field.
For example, the representation 2001:db8:0:1:1:1:1:1 is correct, but
2001:db8::1:1:1:1:1 is not correct.
Please let me know by Aug 6, 2010 if you have any objections to this.
This drops one of the examples, which makes it less informative. Plus, it
sort of implies that all sequences of 0 fields must be shortened, which is
not legal. I'd suggest moving 4.2.2 to 4.2.1 and merging 4.2.1 with 4.2.3
instead. For example:
4.2.1. Handling One 16-bit 0 Field
The symbol "::" MUST NOT be used to shorten just one 16-bit 0 field.
For example, the representation 2001:db8:0:1:1:1:1:1 is correct, but
2001:db8::1:1:1:1:1 is not correct.
4.2.2. Handling Consecutive 16-bit 0 Fields
If the address contains at least two consecutive 16-bit 0 fields, "::"
MUST be used to fully compress the longest run of consecutive 16-bit
0 fields in the address. For example, 2001::1:0:0:0:1 is incorrect
because the shorter run was compressed, and 2001:0:0:1::0:1 is
incorrect because the run is only partially compressed. The correct
representation is 2001:0:0:1::1. If there are two or more runs of
the same maximal length, the first such run MUST be chosen. For
example, 2001:db8::1:0:0:1 is a correct representation.
Regards,
Roman.
--------------------------------------------------------------------
IETF IPv6 working group mailing list
[email protected]
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------