prefix:  A variable-length field containing an IP address or the
           prefix of an IP address.  An IPv4-mapped address [RFC4291] must
           be used to represent an IPv4 address as a prefix value.  The
           prefix should be left aligned, big-endian, and zero padded on
           the right up to the next octet boundary.  So the length of this
           field should be between 0 and 16 bytes

        is ambigious on the encoding of 2002:1234:8734::/64

        is it:
        40:20:02:12:34:87:34:00:00:00:00:00:00:00:00:00:00
        or
        40:20:02:12:34:87:34:00:00:00:00:00:00:00:00:00
        or
        40:20:02:12:34:87:34:00:00:00:00:00:00:00:00
        or
        40:20:02:12:34:87:34:00:00:00:00:00:00
        or
        40:20:02:12:34:87:34:00:00:00:00:00
        or
        40:20:02:12:34:87:34:00:00:00:00
        or
        40:20:02:12:34:87:34:00:00:00
        or
        40:20:02:12:34:87:34:00:00
        or
        40:20:02:12:34:87:34:00
        or
        40:20:02:12:34:87:34

        All appear to be legal.  It would be cleaner if the
        floor((prefix-len+7)/8) gave the number of octets in
        the prefix field.

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE:  +61 2 9871 4742                  INTERNET: ma...@isc.org
--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------

Reply via email to