home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_i / draft-ietf-ipngwg-ipv6-spec-v2-00.txt < prev    next >
Text File  |  1997-07-30  |  91KB  |  2,335 lines

  1.  
  2. INTERNET-DRAFT                                 S. Deering, Cisco Systems
  3. July 30, 1997                               R.  Hinden, Ipsilon Networks
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                   Internet Protocol, Version 6 (IPv6)
  10.                              Specification
  11.  
  12.                 <draft-ietf-ipngwg-ipv6-spec-v2-00.txt>
  13.  
  14.  
  15.  
  16.  
  17.  
  18. Status of this Memo
  19.  
  20.  
  21.    This document is an Internet Draft.  Internet Drafts are working
  22.    documents of the Internet Engineering Task Force (IETF), its Areas,
  23.    and its Working Groups.  Note that other groups may also distribute
  24.    working documents as Internet Drafts.
  25.  
  26.    Internet Drafts are draft documents valid for a maximum of six
  27.    months.  Internet Drafts may be updated, replaced, or obsoleted by
  28.    other documents at any time.  It is not appropriate to use Internet
  29.    Drafts as reference material or to cite them other than as a
  30.    ``working draft'' or ``work in progress.''
  31.  
  32.    Please check the 1id-abstracts.txt listing contained in the internet-
  33.    drafts Shadow Directories on nic.ddn.mil, nnsc.nsf.net,
  34.    nic.nordu.net, ftp.nisc.sri.com, or munnari.oz.au to learn the
  35.    current status of any Internet Draft.
  36.  
  37.    This internet draft will expire no later than January 30, 1998.
  38.  
  39.  
  40.  
  41. Abstract
  42.  
  43.  
  44.    This document specifies version 6 of the Internet Protocol (IPv6),
  45.    also sometimes referred to as IP Next Generation or IPng.
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt         [Page 1]
  55.  
  56. INTERNET-DRAFT             IPv6 Specification                  July 1997
  57.  
  58.  
  59. Table of Contents
  60.  
  61.    Status of this Memo..............................................1
  62.  
  63.    1. Introduction..................................................3
  64.  
  65.    2. Terminology...................................................4
  66.  
  67.    3. IPv6 Header Format............................................5
  68.  
  69.    4. IPv6 Extension Headers........................................6
  70.        4.1 Extension Header Order...................................8
  71.        4.2 Options..................................................9
  72.        4.3 Hop-by-Hop Options Header...............................11
  73.        4.4 Routing Header..........................................13
  74.        4.5 Fragment Header.........................................19
  75.        4.6 Destination Options Header..............................24
  76.        4.7 No Next Header..........................................25
  77.  
  78.    5. Packet Size Issues...........................................26
  79.  
  80.    6. Flow Labels..................................................28
  81.  
  82.    7. Traffic Classes..............................................31
  83.  
  84.    8. Upper-Layer Protocol Issues..................................33
  85.        8.1 Upper-Layer Checksums...................................33
  86.        8.2 Maximum Packet Lifetime.................................34
  87.        8.3 Maximum Upper-Layer Payload Size........................34
  88.        8.4 Responding to Packets Carrying Routing Headers..........35
  89.  
  90.    Appendix A. Formatting Guidelines for Options...................36
  91.  
  92.    Security Considerations.........................................39
  93.  
  94.    Acknowledgments.................................................39
  95.  
  96.    Authors' Addresses..............................................39
  97.  
  98.    References......................................................40
  99.  
  100.    Changes Since RFC-1883..........................................41
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt         [Page 2]
  112.  
  113. INTERNET-DRAFT             IPv6 Specification                  July 1997
  114.  
  115.  
  116. 1.  Introduction
  117.  
  118.    IP version 6 (IPv6) is a new version of the Internet Protocol,
  119.    designed as the successor to IP version 4 (IPv4) [RFC-791].  The
  120.    changes from IPv4 to IPv6 fall primarily into the following
  121.    categories:
  122.  
  123.       o  Expanded Addressing Capabilities
  124.  
  125.          IPv6 increases the IP address size from 32 bits to 128 bits, to
  126.          support more levels of addressing hierarchy, a much greater
  127.          number of addressable nodes, and simpler auto-configuration of
  128.          addresses.  The scalability of multicast routing is improved by
  129.          adding a "scope" field to multicast addresses.  And a new type
  130.          of address called an "anycast address" is defined, used to send
  131.          a packet to any one of a group of nodes.
  132.  
  133.       o  Header Format Simplification
  134.  
  135.          Some IPv4 header fields have been dropped or made optional, to
  136.          reduce the common-case processing cost of packet handling and
  137.          to limit the bandwidth cost of the IPv6 header.
  138.  
  139.       o  Improved Support for Extensions and Options
  140.  
  141.          Changes in the way IP header options are encoded allows for
  142.          more efficient forwarding, less stringent limits on the length
  143.          of options, and greater flexibility for introducing new options
  144.          in the future.
  145.  
  146.       o  Flow Labeling Capability
  147.  
  148.          A new capability is added to enable the labeling of packets
  149.          belonging to particular traffic "flows" for which the sender
  150.          requests special handling, such as non-default quality of
  151.          service or "real-time" service.
  152.  
  153.       o  Authentication and Privacy Capabilities
  154.  
  155.          Extensions to support authentication, data integrity, and
  156.          (optional) data confidentiality are specified for IPv6.
  157.  
  158.    This document specifies the basic IPv6 header and the initially-
  159.    defined IPv6 extension headers and options.  It also discusses packet
  160.    size issues, the semantics of flow labels and traffic classes, and
  161.    the effects of IPv6 on upper-layer protocols.  The format and
  162.    semantics of IPv6 addresses are specified separately in [ADDRARCH].
  163.    The IPv6 version of ICMP, which all IPv6 implementations are required
  164.    to include, is specified in [RFC-1885].
  165.  
  166.  
  167.  
  168. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt         [Page 3]
  169.  
  170. INTERNET-DRAFT             IPv6 Specification                  July 1997
  171.  
  172.  
  173. 2.  Terminology
  174.  
  175.    node        - a device that implements IPv6.
  176.  
  177.    router      - a node that forwards IPv6 packets not explicitly
  178.                  addressed to itself.  [See Note below].
  179.  
  180.    host        - any node that is not a router.  [See Note below].
  181.  
  182.    upper layer - a protocol layer immediately above IPv6.  Examples are
  183.                  transport protocols such as TCP and UDP, control
  184.                  protocols such as ICMP, routing protocols such as OSPF,
  185.                  and internet or lower-layer protocols being "tunneled"
  186.                  over (i.e., encapsulated in) IPv6 such as IPX,
  187.                  AppleTalk, or IPv6 itself.
  188.  
  189.    link        - a communication facility or medium over which nodes can
  190.                  communicate at the link layer, i.e., the layer
  191.                  immediately below IPv6.  Examples are Ethernets (simple
  192.                  or bridged); PPP links; X.25, Frame Relay, or ATM
  193.                  networks; and internet (or higher) layer "tunnels",
  194.                  such as tunnels over IPv4 or IPv6 itself.
  195.  
  196.    neighbors   - nodes attached to the same link.
  197.  
  198.    interface   - a node's attachment to a link.
  199.  
  200.    address     - an IPv6-layer identifier for an interface or a set of
  201.                  interfaces.
  202.  
  203.    packet      - an IPv6 header plus payload.
  204.  
  205.    link MTU    - the maximum transmission unit, i.e., maximum packet
  206.                  size in octets, that can be conveyed in one piece over
  207.                  a link.
  208.  
  209.    path MTU    - the minimum link MTU of all the links in a path between
  210.                  a source node and a destination node.
  211.  
  212.    Note: it is possible, though unusual, for a device with multiple
  213.    interfaces to be configured to forward non-self-destined packets
  214.    arriving from some set (fewer than all) of its interfaces, and to
  215.    discard non-self-destined packets arriving from its other interfaces.
  216.    Such a device must obey the protocol requirements for routers when
  217.    receiving packets from, and interacting with neighbors over, the
  218.    former (forwarding) interfaces.  It must obey the protocol
  219.    requirements for hosts when receiving packets from, and interacting
  220.    with neighbors over, the latter (non-forwarding) interfaces.
  221.  
  222.  
  223.  
  224.  
  225. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt         [Page 4]
  226.  
  227. INTERNET-DRAFT             IPv6 Specification                  July 1997
  228.  
  229.  
  230. 3.  IPv6 Header Format
  231.  
  232.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  233.    |Version| Class |                   Flow Label                  |
  234.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  235.    |         Payload Length        |  Next Header  |   Hop Limit   |
  236.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  237.    |                                                               |
  238.    +                                                               +
  239.    |                                                               |
  240.    +                         Source Address                        +
  241.    |                                                               |
  242.    +                                                               +
  243.    |                                                               |
  244.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  245.    |                                                               |
  246.    +                                                               +
  247.    |                                                               |
  248.    +                      Destination Address                      +
  249.    |                                                               |
  250.    +                                                               +
  251.    |                                                               |
  252.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  253.  
  254.    Version              4-bit Internet Protocol version number = 6.
  255.  
  256.    Class                4-bit traffic class value.  See section 7.
  257.  
  258.    Flow Label           24-bit flow label.  See section 6.
  259.  
  260.    Payload Length       16-bit unsigned integer.  Length of the IPv6
  261.                         payload, i.e., the rest of the packet
  262.                         following this IPv6 header, in octets.
  263.                         (Note that any extension headers [section 4]
  264.                         present are considered part of the payload,
  265.                         i.e., included in the length count.)
  266.                         If this field is zero, it indicates that the
  267.                         payload length is carried in a Jumbo Payload
  268.                         hop-by-hop option.
  269.  
  270.    Next Header          8-bit selector.  Identifies the type of header
  271.                         immediately following the IPv6 header.  Uses
  272.                         the same values as the IPv4 Protocol field
  273.                         [RFC-1700 et seq.].
  274.  
  275.    Hop Limit            8-bit unsigned integer.  Decremented by 1 by
  276.                         each node that forwards the packet. The packet
  277.                         is discarded if Hop Limit is decremented to
  278.                         zero.
  279.  
  280.  
  281.  
  282. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt         [Page 5]
  283.  
  284. INTERNET-DRAFT             IPv6 Specification                  July 1997
  285.  
  286.  
  287.    Source Address       128-bit address of the originator of the
  288.                         packet.  See [ADDRARCH].
  289.  
  290.    Destination Address  128-bit address of the intended recipient
  291.                         of the packet (possibly not the ultimate
  292.                         recipient, if a Routing header is present).
  293.                         See [ADDRARCH] and section 4.4.
  294.  
  295.  
  296.  
  297. 4.  IPv6 Extension Headers
  298.  
  299.    In IPv6, optional internet-layer information is encoded in separate
  300.    headers that may be placed between the IPv6 header and the upper-
  301.    layer header in a packet.  There are a small number of such extension
  302.    headers, each identified by a distinct Next Header value.  As
  303.    illustrated in these examples, an IPv6 packet may carry zero, one, or
  304.    more extension headers, each identified by the Next Header field of
  305.    the preceding header:
  306.  
  307.    +---------------+------------------------
  308.    |  IPv6 header  | TCP header + data
  309.    |               |
  310.    | Next Header = |
  311.    |      TCP      |
  312.    +---------------+------------------------
  313.  
  314.  
  315.    +---------------+----------------+------------------------
  316.    |  IPv6 header  | Routing header | TCP header + data
  317.    |               |                |
  318.    | Next Header = |  Next Header = |
  319.    |    Routing    |      TCP       |
  320.    +---------------+----------------+------------------------
  321.  
  322.  
  323.    +---------------+----------------+-----------------+-----------------
  324.    |  IPv6 header  | Routing header | Fragment header | fragment of TCP
  325.    |               |                |                 |  header + data
  326.    | Next Header = |  Next Header = |  Next Header =  |
  327.    |    Routing    |    Fragment    |       TCP       |
  328.    +---------------+----------------+-----------------+-----------------
  329.  
  330.  
  331.    With one exception, extension headers are not examined or processed
  332.    by any node along a packet's delivery path, until the packet reaches
  333.    the node (or each of the set of nodes, in the case of multicast)
  334.    identified in the Destination Address field of the IPv6 header.
  335.    There, normal demultiplexing on the Next Header field of the IPv6
  336.  
  337.  
  338.  
  339. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt         [Page 6]
  340.  
  341. INTERNET-DRAFT             IPv6 Specification                  July 1997
  342.  
  343.  
  344.    header invokes the module to process the first extension header, or
  345.    the upper-layer header if no extension header is present.  The
  346.    contents and semantics of each extension header determine whether or
  347.    not to proceed to the next header.  Therefore, extension headers must
  348.    be processed strictly in the order they appear in the packet; a
  349.    receiver must not, for example, scan through a packet looking for a
  350.    particular kind of extension header and process that header prior to
  351.    processing all preceding ones.
  352.  
  353.    The exception referred to in the preceding paragraph is the Hop-by-
  354.    Hop Options header, which carries information that must be examined
  355.    and processed by every node along a packet's delivery path, including
  356.    the source and destination nodes.  The Hop-by-Hop Options header,
  357.    when present, must immediately follow the IPv6 header.  Its presence
  358.    is indicated by the value zero in the Next Header field of the IPv6
  359.    header.
  360.  
  361.    If, as a result of processing a header, a node is required to proceed
  362.    to the next header but the Next Header value in the current header is
  363.    unrecognized by the node, it should discard the packet and send an
  364.    ICMP Parameter Problem message to the source of the packet, with an
  365.    ICMP Code value of 1 ("unrecognized Next Header type encountered")
  366.    and the ICMP Pointer field containing the offset of the unrecognized
  367.    value within the original packet.  The same action should be taken if
  368.    a node encounters a Next Header value of zero in any header other
  369.    than an IPv6 header.
  370.  
  371.    Each extension header is an integer multiple of 8 octets long, in
  372.    order to retain 8-octet alignment for subsequent headers.  Multi-
  373.    octet fields within each extension header are aligned on their
  374.    natural boundaries, i.e., fields of width n octets are placed at an
  375.    integer multiple of n octets from the start of the header, for n = 1,
  376.    2, 4, or 8.
  377.  
  378.    A full implementation of IPv6 includes implementation of the
  379.    following extension headers:
  380.  
  381.            Hop-by-Hop Options
  382.            Routing (Type 0)
  383.            Fragment
  384.            Destination Options
  385.            Authentication
  386.            Encapsulating Security Payload
  387.  
  388.    The first four are specified in this document; the last two are
  389.    specified in [RFC-1826] and [RFC-1827], respectively.
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt         [Page 7]
  397.  
  398. INTERNET-DRAFT             IPv6 Specification                  July 1997
  399.  
  400.  
  401. 4.1  Extension Header Order
  402.  
  403.    When more than one extension header is used in the same packet, it is
  404.    recommended that those headers appear in the following order:
  405.  
  406.            IPv6 header
  407.            Hop-by-Hop Options header
  408.            Destination Options header (note 1)
  409.            Routing header
  410.            Fragment header
  411.            Encapsulating Security Payload header (note 2)
  412.            Authentication header (note 2)
  413.            Destination Options header (note 3)
  414.            upper-layer header
  415.  
  416.            note 1: for options to be processed by the first destination
  417.                    that appears in the IPv6 Destination Address field
  418.                    plus subsequent destinations listed in the Routing
  419.                    header.
  420.  
  421.            note 2: additional recommendations regarding the relative
  422.                    order of the Authentication and Encapsulating
  423.                    Security Payload headers are given in [RFC-1827].
  424.  
  425.            note 3: for options to be processed only by the final
  426.                    destination of the packet.
  427.  
  428.    Each extension header should occur at most once, except for the
  429.    Destination Options header which should occur at most twice (once
  430.    before a Routing header and once before the upper-layer header).
  431.  
  432.    If the upper-layer header is another IPv6 header (in the case of IPv6
  433.    being tunneled over or encapsulated in IPv6), it may be followed by
  434.    its own extension headers, which are separately subject to the same
  435.    ordering recommendations.
  436.  
  437.    If and when other extension headers are defined, their ordering
  438.    constraints relative to the above listed headers must be specified.
  439.  
  440.    IPv6 nodes must accept and attempt to process extension headers in
  441.    any order and occurring any number of times in the same packet,
  442.    except for the Hop-by-Hop Options header which is restricted to
  443.    appear immediately after an IPv6 header only.  Nonetheless, it is
  444.    strongly advised that sources of IPv6 packets adhere to the above
  445.    recommended order until and unless subsequent specifications revise
  446.    that recommendation.
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt         [Page 8]
  454.  
  455. INTERNET-DRAFT             IPv6 Specification                  July 1997
  456.  
  457.  
  458. 4.2  Options
  459.  
  460.    Two of the currently-defined extension headers -- the Hop-by-Hop
  461.    Options header and the Destination Options header -- carry a variable
  462.    number of type-length-value (TLV) encoded "options", of the following
  463.    format:
  464.  
  465.       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - -
  466.       |  Option Type  |  Opt Data Len |  Option Data
  467.       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - -
  468.  
  469.       Option Type          8-bit identifier of the type of option.
  470.  
  471.       Opt Data Len         8-bit unsigned integer.  Length of the Option
  472.                            Data field of this option, in octets.
  473.  
  474.       Option Data          Variable-length field.  Option-Type-specific
  475.                            data.
  476.  
  477.    The sequence of options within a header must be processed strictly in
  478.    the order they appear in the header; a receiver must not, for
  479.    example, scan through the header looking for a particular kind of
  480.    option and process that option prior to processing all preceding
  481.    ones.
  482.  
  483.    The Option Type identifiers are internally encoded such that their
  484.    highest-order two bits specify the action that must be taken if the
  485.    processing IPv6 node does not recognize the Option Type:
  486.  
  487.       00 - skip over this option and continue processing the header.
  488.  
  489.       01 - discard the packet.
  490.  
  491.       10 - discard the packet and, regardless of whether or not the
  492.            packet's Destination Address was a multicast address, send an
  493.            ICMP Parameter Problem, Code 2, message to the packet's
  494.            Source Address, pointing to the unrecognized Option Type.
  495.  
  496.       11 - discard the packet and, only if the packet's Destination
  497.            Address was not a multicast address, send an ICMP Parameter
  498.            Problem, Code 2, message to the packet's Source Address,
  499.            pointing to the unrecognized Option Type.
  500.  
  501.    The third-highest-order bit of the Option Type specifies whether or
  502.    not the Option Data of that option can change en-route to the
  503.    packet's final destination.  When an Authentication header is present
  504.    in the packet, for any option whose data may change en-route, its
  505.    entire Option Data field must be treated as zero-valued octets when
  506.    computing or verifying the packet's authenticating value.
  507.  
  508.  
  509.  
  510. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt         [Page 9]
  511.  
  512. INTERNET-DRAFT             IPv6 Specification                  July 1997
  513.  
  514.  
  515.       0 - Option Data does not change en-route
  516.  
  517.       1 - Option Data may change en-route
  518.  
  519.    The three high-order bits described above are to be treated as part
  520.    of the Option Type, not independent of the Option Type.  That is, a
  521.    particular option is identified by a full 8-bit Option Type, not just
  522.    the low-order 5 bits of an Option Type.
  523.  
  524.    The same Option Type numbering space is used for both the Hop-by-Hop
  525.    Options header and the Destination Options header.  However, the
  526.    specification of a particular option may restrict its use to only one
  527.    of those two headers.
  528.  
  529.    Individual options may have specific alignment requirements, to
  530.    ensure that multi-octet values within Option Data fields fall on
  531.    natural boundaries.  The alignment requirement of an option is
  532.    specified using the notation xn+y, meaning the Option Type must
  533.    appear at an integer multiple of x octets from the start of the
  534.    header, plus y octets.  For example:
  535.  
  536.        2n    means any 2-octet offset from the start of the header.
  537.        8n+2  means any 8-octet offset from the start of the header,
  538.              plus 2 octets.
  539.  
  540.    There are two padding options which are used when necessary to align
  541.    subsequent options and to pad out the containing header to a multiple
  542.    of 8 octets in length.  These padding options must be recognized by
  543.    all IPv6 implementations:
  544.  
  545.  
  546.    Pad1 option  (alignment requirement: none)
  547.  
  548.        +-+-+-+-+-+-+-+-+
  549.        |       0       |
  550.        +-+-+-+-+-+-+-+-+
  551.  
  552.        NOTE! the format of the Pad1 option is a special case -- it does
  553.              not have length and value fields.
  554.  
  555.        The Pad1 option is used to insert one octet of padding into the
  556.        Options area of a header.  If more than one octet of padding is
  557.        required, the PadN option, described next, should be used,
  558.        rather than multiple Pad1 options.
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 10]
  568.  
  569. INTERNET-DRAFT             IPv6 Specification                  July 1997
  570.  
  571.  
  572.    PadN option  (alignment requirement: none)
  573.  
  574.        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - -
  575.        |       1       |  Opt Data Len |  Option Data
  576.        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - -
  577.  
  578.        The PadN option is used to insert two or more octets of padding
  579.        into the Options area of a header.  For N octets of padding,
  580.        the Opt Data Len field contains the value N-2, and the Option
  581.        Data consists of N-2 zero-valued octets.
  582.  
  583.  
  584.    Appendix A contains formatting guidelines for designing new options.
  585.  
  586.  
  587. 4.3  Hop-by-Hop Options Header
  588.  
  589.    The Hop-by-Hop Options header is used to carry optional information
  590.    that must be examined by every node along a packet's delivery path.
  591.    The Hop-by-Hop Options header is identified by a Next Header value of
  592.    0 in the IPv6 header, and has the following format:
  593.  
  594.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  595.    |  Next Header  |  Hdr Ext Len  |                               |
  596.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
  597.    |                                                               |
  598.    .                                                               .
  599.    .                            Options                            .
  600.    .                                                               .
  601.    |                                                               |
  602.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  603.  
  604.    Next Header          8-bit selector.  Identifies the type of header
  605.                         immediately following the Hop-by-Hop Options
  606.                         header.  Uses the same values as the IPv4
  607.                         Protocol field [RFC-1700 et seq.].
  608.  
  609.    Hdr Ext Len          8-bit unsigned integer.  Length of the
  610.                         Hop-by-Hop Options header in 8-octet units,
  611.                         not including the first 8 octets.
  612.  
  613.    Options              Variable-length field, of length such that the
  614.                         complete Hop-by-Hop Options header is an integer
  615.                         multiple of 8 octets long.  Contains one or
  616.                         more TLV-encoded options, as described in
  617.                         section 4.2.
  618.  
  619.    In addition to the Pad1 and PadN options specified in section 4.2,
  620.    the following hop-by-hop option is defined:
  621.  
  622.  
  623.  
  624. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 11]
  625.  
  626. INTERNET-DRAFT             IPv6 Specification                  July 1997
  627.  
  628.  
  629.    Jumbo Payload option  (alignment requirement: 4n + 2)
  630.  
  631.                                        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  632.                                        |      194      |Opt Data Len=4 |
  633.        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  634.        |                     Jumbo Payload Length                      |
  635.        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  636.  
  637.        The Jumbo Payload option is used to send IPv6 packets with
  638.        payloads longer than 65,535 octets.  The Jumbo Payload Length is
  639.        the length of the packet in octets, excluding the IPv6 header but
  640.        including the Hop-by-Hop Options header and any other extension
  641.        headers present; it must be greater than 65,535.  If a packet is
  642.        received with a Jumbo Payload option containing a Jumbo Payload
  643.        Length less than or equal to 65,535, an ICMP Parameter Problem
  644.        message, Code 0, should be sent to the packet's source, pointing
  645.        to the high-order octet of the invalid Jumbo Payload Length field.
  646.  
  647.        The Payload Length field in the IPv6 header must be set to zero
  648.        in every packet that carries the Jumbo Payload option.  If a
  649.        packet is received with a valid Jumbo Payload option present and
  650.        a non-zero IPv6 Payload Length field, an ICMP Parameter Problem
  651.        message, Code 0, should be sent to the packet's source, pointing
  652.        to the Option Type field of the Jumbo Payload option.
  653.  
  654.        The Jumbo Payload option must not be used in a packet that
  655.        carries a Fragment header.  If a Fragment header is encountered
  656.        in a packet that contains a valid Jumbo Payload option, an ICMP
  657.        Parameter Problem message, Code 0, should be sent to the packet's
  658.        source, pointing to the first octet of the Fragment header.
  659.  
  660.        An implementation that does not support the Jumbo Payload option
  661.        cannot have interfaces to links whose link MTU is greater than
  662.        65,575 (40 octets of IPv6 header plus 65,535 octets of payload).
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 12]
  682.  
  683. INTERNET-DRAFT             IPv6 Specification                  July 1997
  684.  
  685.  
  686. 4.4  Routing Header
  687.  
  688.    The Routing header is used by an IPv6 source to list one or more
  689.    intermediate nodes to be "visited" on the way to a packet's
  690.    destination.  This function is very similar to IPv4's Source Route
  691.    options.  The Routing header is identified by a Next Header value of
  692.    43 in the immediately preceding header, and has the following format:
  693.  
  694.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  695.    |  Next Header  |  Hdr Ext Len  |  Routing Type | Segments Left |
  696.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  697.    |                                                               |
  698.    .                                                               .
  699.    .                       type-specific data                      .
  700.    .                                                               .
  701.    |                                                               |
  702.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  703.  
  704.    Next Header          8-bit selector.  Identifies the type of header
  705.                         immediately following the Routing header.
  706.                         Uses the same values as the IPv4 Protocol field
  707.                         [RFC-1700 et seq.].
  708.  
  709.    Hdr Ext Len          8-bit unsigned integer.  Length of the
  710.                         Routing header in 8-octet units, not including
  711.                         the first 8 octets.
  712.  
  713.    Routing Type         8-bit identifier of a particular Routing
  714.                         header variant.
  715.  
  716.    Segments Left        8-bit unsigned integer.  Number of route
  717.                         segments remaining, i.e., number of explicitly
  718.                         listed intermediate nodes still to be visited
  719.                         before reaching the final destination.
  720.  
  721.    type-specific data   Variable-length field, of format determined by
  722.                         the Routing Type, and of length such that the
  723.                         complete Routing header is an integer multiple
  724.                         of 8 octets long.
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 13]
  739.  
  740. INTERNET-DRAFT             IPv6 Specification                  July 1997
  741.  
  742.  
  743.    If, while processing a received packet, a node encounters a Routing
  744.    header with an unrecognized Routing Type value, the required behavior
  745.    of the node depends on the value of the Segments Left field, as
  746.    follows:
  747.  
  748.       If Segments Left is zero, the node must ignore the Routing header
  749.       and proceed to process the next header in the packet, whose type
  750.       is identified by the Next Header field in the Routing header.
  751.  
  752.       If Segments Left is non-zero, the node must discard the packet and
  753.       send an ICMP Parameter Problem, Code 0, message to the packet's
  754.       Source Address, pointing to the unrecognized Routing Type.
  755.  
  756.    If, after processing a Routing header of a received packet, an
  757.    intermediate node determines that the packet is to be forwarded onto
  758.    a link whose link MTU is less than the size of the packet, the node
  759.    must discard the packet and send an ICMP Packet Too Big message to
  760.    the packet's Source Address.
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 14]
  796.  
  797. INTERNET-DRAFT             IPv6 Specification                  July 1997
  798.  
  799.  
  800.    The Type 0 Routing header has the following format:
  801.  
  802.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  803.    |  Next Header  |  Hdr Ext Len  | Routing Type=0| Segments Left |
  804.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  805.    |   Reserved    |             Strict/Loose Bit Map              |
  806.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  807.    |                                                               |
  808.    +                                                               +
  809.    |                                                               |
  810.    +                           Address[1]                          +
  811.    |                                                               |
  812.    +                                                               +
  813.    |                                                               |
  814.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  815.    |                                                               |
  816.    +                                                               +
  817.    |                                                               |
  818.    +                           Address[2]                          +
  819.    |                                                               |
  820.    +                                                               +
  821.    |                                                               |
  822.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  823.    .                               .                               .
  824.    .                               .                               .
  825.    .                               .                               .
  826.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  827.    |                                                               |
  828.    +                                                               +
  829.    |                                                               |
  830.    +                           Address[n]                          +
  831.    |                                                               |
  832.    +                                                               +
  833.    |                                                               |
  834.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  835.  
  836.    Next Header          8-bit selector.  Identifies the type of header
  837.                         immediately following the Routing header.
  838.                         Uses the same values as the IPv4 Protocol field
  839.                         [RFC-1700 et seq.].
  840.  
  841.    Hdr Ext Len          8-bit unsigned integer.  Length of the
  842.                         Routing header in 8-octet units, not including
  843.                         the first 8 octets.  For the Type 0 Routing
  844.                         header, Hdr Ext Len is equal to two times the
  845.                         number of addresses in the header, and must
  846.                         be an even number less than or equal to 46.
  847.  
  848.    Routing Type         0.
  849.  
  850.  
  851.  
  852. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 15]
  853.  
  854. INTERNET-DRAFT             IPv6 Specification                  July 1997
  855.  
  856.  
  857.    Segments Left        8-bit unsigned integer.  Number of route
  858.                         segments remaining, i.e., number of explicitly
  859.                         listed intermediate nodes still to be visited
  860.                         before reaching the final destination.
  861.                         Maximum legal value = 23.
  862.  
  863.    Reserved             8-bit reserved field.  Initialized to zero for
  864.                         transmission; ignored on reception.
  865.  
  866.    Strict/Loose Bit Map
  867.                         24-bit bit map, numbered 0 to 23, left-to-right.
  868.                         Indicates, for each segment of the route, whether
  869.                         or not the next destination address must be a
  870.                         neighbor of the preceding address: 1 means strict
  871.                         (must be a neighbor), 0 means loose (need not be
  872.                         a neighbor).
  873.  
  874.    Address[1..n]        Vector of 128-bit addresses, numbered 1 to n.
  875.  
  876.  
  877.    Multicast addresses must not appear in a Routing header of Type 0, or
  878.    in the IPv6 Destination Address field of a packet carrying a Routing
  879.    header of Type 0.
  880.  
  881.    If bit number 0 of the Strict/Loose Bit Map has value 1, the
  882.    Destination Address field of the IPv6 header in the original packet
  883.    must identify a neighbor of the originating node.  If bit number 0
  884.    has value 0, the originator may use any legal, non-multicast address
  885.    as the initial Destination Address.
  886.  
  887.    Bits numbered greater than n, where n is the number of addresses in
  888.    the Routing header, must be set to 0 by the originator and ignored by
  889.    receivers.
  890.  
  891.    A Routing header is not examined or processed until it reaches the
  892.    node identified in the Destination Address field of the IPv6 header.
  893.    In that node, dispatching on the Next Header field of the immediately
  894.    preceding header causes the Routing header module to be invoked,
  895.    which, in the case of Routing Type 0, performs the following
  896.    algorithm:
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 16]
  910.  
  911. INTERNET-DRAFT             IPv6 Specification                  July 1997
  912.  
  913.  
  914.    if Segments Left = 0 {
  915.       proceed to process the next header in the packet, whose type is
  916.       identified by the Next Header field in the Routing header
  917.    }
  918.    else if Hdr Ext Len is odd or greater than 46 {
  919.          send an ICMP Parameter Problem, Code 0, message to the Source
  920.          Address, pointing to the Hdr Ext Len field, and discard the
  921.          packet
  922.    }
  923.    else {
  924.       compute n, the number of addresses in the Routing header, by
  925.       dividing Hdr Ext Len by 2
  926.  
  927.       if Segments Left is greater than n {
  928.          send an ICMP Parameter Problem, Code 0, message to the Source
  929.          Address, pointing to the Segments Left field, and discard the
  930.          packet
  931.       }
  932.       else {
  933.          decrement Segments Left by 1;
  934.          compute i, the index of the next address to be visited in
  935.          the address vector, by subtracting Segments Left from n
  936.  
  937.          if Address [i] or the IPv6 Destination Address is multicast {
  938.             discard the packet
  939.          }
  940.          else {
  941.             swap the IPv6 Destination Address and Address[i]
  942.  
  943.             if bit i of the Strict/Loose Bit Map has value 1 and the
  944.             new Destination Address is not the address of a neighbor
  945.             of this node {
  946.                send an ICMP Destination Unreachable -- Not a Neighbor
  947.                message to the Source Address and discard the packet
  948.             }
  949.             else if the IPv6 Hop Limit is less than or equal to 1 {
  950.                send an ICMP Time Exceeded -- Hop Limit Exceeded in
  951.                Transit message to the Source Address and discard the
  952.                packet
  953.             }
  954.             else {
  955.                decrement the Hop Limit by 1
  956.  
  957.                resubmit the packet to the IPv6 module for transmission
  958.                to the new destination
  959.             }
  960.          }
  961.       }
  962.    }
  963.  
  964.  
  965.  
  966. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 17]
  967.  
  968. INTERNET-DRAFT             IPv6 Specification                  July 1997
  969.  
  970.  
  971.    As an example of the effects of the above algorithm, consider the
  972.    case of a source node S sending a packet to destination node D, using
  973.    a Routing header to cause the packet to be routed via intermediate
  974.    nodes I1, I2, and I3.  The values of the relevant IPv6 header and
  975.    Routing header fields on each segment of the delivery path would be
  976.    as follows:
  977.  
  978.    As the packet travels from S to I1:
  979.  
  980.         Source Address = S                  Hdr Ext Len = 6
  981.         Destination Address = I1            Segments Left = 3
  982.                                             Address[1] = I2
  983.         (if bit 0 of the Bit Map is 1,      Address[2] = I3
  984.          S and I1 must be neighbors;        Address[3] = D
  985.          this is checked by S)
  986.  
  987.    As the packet travels from I1 to I2:
  988.  
  989.         Source Address = S                  Hdr Ext Len = 6
  990.         Destination Address = I2            Segments Left = 2
  991.                                             Address[1] = I1
  992.         (if bit 1 of the Bit Map is 1,      Address[2] = I3
  993.          I1 and I2 must be neighbors;       Address[3] = D
  994.          this is checked by I1)
  995.  
  996.    As the packet travels from I2 to I3:
  997.  
  998.         Source Address = S                  Hdr Ext Len = 6
  999.         Destination Address = I3            Segments Left = 1
  1000.                                             Address[1] = I1
  1001.         (if bit 2 of the Bit Map is 1,      Address[2] = I2
  1002.          I2 and I3 must be neighbors;       Address[3] = D
  1003.          this is checked by I2)
  1004.  
  1005.    As the packet travels from I3 to D:
  1006.  
  1007.         Source Address = S                  Hdr Ext Len = 6
  1008.         Destination Address = D             Segments Left = 0
  1009.                                             Address[1] = I1
  1010.         (if bit 3 of the Bit Map is 1,      Address[2] = I2
  1011.          I3 and D must be neighbors;        Address[3] = I3
  1012.          this is checked by I3)
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 18]
  1024.  
  1025. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1026.  
  1027.  
  1028. 4.5  Fragment Header
  1029.  
  1030.    The Fragment header is used by an IPv6 source to send packets larger
  1031.    than would fit in the path MTU to their destinations.  (Note: unlike
  1032.    IPv4, fragmentation in IPv6 is performed only by source nodes, not by
  1033.    routers along a packet's delivery path -- see section 5.)  The
  1034.    Fragment header is identified by a Next Header value of 44 in the
  1035.    immediately preceding header, and has the following format:
  1036.  
  1037.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1038.    |  Next Header  |   Reserved    |      Fragment Offset    |Res|M|
  1039.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1040.    |                         Identification                        |
  1041.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1042.  
  1043.    Next Header          8-bit selector.  Identifies the initial header
  1044.                         type of the Fragmentable Part of the original
  1045.                         packet (defined below).  Uses the same values
  1046.                         as the IPv4 Protocol field [RFC-1700 et seq.].
  1047.  
  1048.    Reserved             8-bit reserved field.  Initialized to zero for
  1049.                         transmission; ignored on reception.
  1050.  
  1051.    Fragment Offset      13-bit unsigned integer.  The offset, in 8-octet
  1052.                         units, of the data following this header,
  1053.                         relative to the start of the Fragmentable Part
  1054.                         of the original packet.
  1055.  
  1056.    Res                  2-bit reserved field.  Initialized to zero for
  1057.                         transmission; ignored on reception.
  1058.  
  1059.    M flag               1 = more fragments; 0 = last fragment.
  1060.  
  1061.    Identification       32 bits.  See description below.
  1062.  
  1063.    In order to send a packet that is too large to fit in the MTU of the
  1064.    path to its destination, a source node may divide the packet into
  1065.    fragments and send each fragment as a separate packet, to be
  1066.    reassembled at the receiver.
  1067.  
  1068.    For every packet that is to be fragmented, the source node generates
  1069.    an Identification value. The Identification must be different than
  1070.    that of any other fragmented packet sent recently* with the same
  1071.    Source Address and Destination Address.  If a Routing header is
  1072.    present, the Destination Address of concern is that of the final
  1073.    destination.
  1074.  
  1075.       * "recently" means within the maximum likely lifetime of a packet,
  1076.         including transit time from source to destination and time spent
  1077.  
  1078.  
  1079.  
  1080. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 19]
  1081.  
  1082. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1083.  
  1084.  
  1085.         awaiting reassembly with other fragments of the same packet.
  1086.         However, it is not required that a source node know the maximum
  1087.         packet lifetime.  Rather, it is assumed that the requirement can
  1088.         be met by maintaining the Identification value as a simple,
  1089.         32-bit, "wrap-around" counter, incremented each time a packet
  1090.         must be fragmented.  It is an implementation choice whether to
  1091.         maintain a single counter for the node or multiple counters,
  1092.         e.g., one for each of the node's possible source addresses, or
  1093.         one for each active (source address, destination address)
  1094.         combination.
  1095.  
  1096.    The initial, large, unfragmented packet is referred to as the
  1097.    "original packet", and it is considered to consist of two parts, as
  1098.    illustrated:
  1099.  
  1100.    original packet:
  1101.  
  1102.    +------------------+----------------------//-----------------------+
  1103.    |  Unfragmentable  |                 Fragmentable                  |
  1104.    |       Part       |                     Part                      |
  1105.    +------------------+----------------------//-----------------------+
  1106.  
  1107.       The Unfragmentable Part consists of the IPv6 header plus any
  1108.       extension headers that must be processed by nodes en route to the
  1109.       destination, that is, all headers up to and including the Routing
  1110.       header if present, else the Hop-by-Hop Options header if present,
  1111.       else no extension headers.
  1112.  
  1113.       The Fragmentable Part consists of the rest of the packet, that is,
  1114.       any extension headers that need be processed only by the final
  1115.       destination node(s), plus the upper-layer header and data.
  1116.  
  1117.    The Fragmentable Part of the original packet is divided into
  1118.    fragments, each, except possibly the last ("rightmost") one, being an
  1119.    integer multiple of 8 octets long.  The fragments are transmitted in
  1120.    separate "fragment packets" as illustrated:
  1121.  
  1122.    original packet:
  1123.  
  1124.    +------------------+--------------+--------------+--//--+----------+
  1125.    |  Unfragmentable  |    first     |    second    |      |   last   |
  1126.    |       Part       |   fragment   |   fragment   | .... | fragment |
  1127.    +------------------+--------------+--------------+--//--+----------+
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 20]
  1138.  
  1139. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1140.  
  1141.  
  1142.    fragment packets:
  1143.  
  1144.    +------------------+--------+--------------+
  1145.    |  Unfragmentable  |Fragment|    first     |
  1146.    |       Part       | Header |   fragment   |
  1147.    +------------------+--------+--------------+
  1148.  
  1149.    +------------------+--------+--------------+
  1150.    |  Unfragmentable  |Fragment|    second    |
  1151.    |       Part       | Header |   fragment   |
  1152.    +------------------+--------+--------------+
  1153.                          o
  1154.                          o
  1155.                          o
  1156.    +------------------+--------+----------+
  1157.    |  Unfragmentable  |Fragment|   last   |
  1158.    |       Part       | Header | fragment |
  1159.    +------------------+--------+----------+
  1160.  
  1161.    Each fragment packet is composed of:
  1162.  
  1163.       (1) The Unfragmentable Part of the original packet, with the
  1164.           Payload Length of the original IPv6 header changed to contain
  1165.           the length of this fragment packet only (excluding the length
  1166.           of the IPv6 header itself), and the Next Header field of the
  1167.           last header of the Unfragmentable Part changed to 44.
  1168.  
  1169.       (2) A Fragment header containing:
  1170.  
  1171.                The Next Header value that identifies the first header of
  1172.                the Fragmentable Part of the original packet.
  1173.  
  1174.                A Fragment Offset containing the offset of the fragment,
  1175.                in 8-octet units, relative to the start of the
  1176.                Fragmentable Part of the original packet.  The Fragment
  1177.                Offset of the first ("leftmost") fragment is 0.
  1178.  
  1179.                An M flag value of 0 if the fragment is the last
  1180.                ("rightmost") one, else an M flag value of 1.
  1181.  
  1182.                The Identification value generated for the original
  1183.                packet.
  1184.  
  1185.       (3) The fragment itself.
  1186.  
  1187.    The lengths of the fragments must be chosen such that the resulting
  1188.    fragment packets fit within the MTU of the path to the packets'
  1189.    destination(s).
  1190.  
  1191.  
  1192.  
  1193.  
  1194. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 21]
  1195.  
  1196. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1197.  
  1198.  
  1199.    At the destination, fragment packets are reassembled into their
  1200.    original, unfragmented form, as illustrated:
  1201.  
  1202.    reassembled original packet:
  1203.  
  1204.    +------------------+----------------------//------------------------+
  1205.    |  Unfragmentable  |                 Fragmentable                   |
  1206.    |       Part       |                     Part                       |
  1207.    +------------------+----------------------//------------------------+
  1208.  
  1209.    The following rules govern reassembly:
  1210.  
  1211.       An original packet is reassembled only from fragment packets that
  1212.       have the same Source Address, Destination Address, and Fragment
  1213.       Identification.
  1214.  
  1215.       The Unfragmentable Part of the reassembled packet consists of all
  1216.       headers up to, but not including, the Fragment header of the first
  1217.       fragment packet (that is, the packet whose Fragment Offset is
  1218.       zero), with the following two changes:
  1219.  
  1220.          The Next Header field of the last header of the Unfragmentable
  1221.          Part is obtained from the Next Header field of the first
  1222.          fragment's Fragment header.
  1223.  
  1224.          The Payload Length of the reassembled packet is computed from
  1225.          the length of the Unfragmentable Part and the length and offset
  1226.          of the last fragment.  For example, a formula for computing the
  1227.          Payload Length of the reassembled original packet is:
  1228.  
  1229.            PL.orig = PL.first - FL.first - 8 + (8 * FO.last) + FL.last
  1230.  
  1231.            where
  1232.            PL.orig  = Payload Length field of reassembled packet.
  1233.            PL.first = Payload Length field of first fragment packet.
  1234.            FL.first = length of fragment following Fragment header of
  1235.                       first fragment packet.
  1236.            FO.last  = Fragment Offset field of Fragment header of
  1237.                       last fragment packet.
  1238.            FL.last  = length of fragment following Fragment header of
  1239.                       last fragment packet.
  1240.  
  1241.       The Fragmentable Part of the reassembled packet is constructed
  1242.       from the fragments following the Fragment headers in each of the
  1243.       fragment packets.  The length of each fragment is computed by
  1244.       subtracting from the packet's Payload Length the length of the
  1245.       headers between the IPv6 header and fragment itself; its relative
  1246.       position in Fragmentable Part is computed from its Fragment Offset
  1247.       value.
  1248.  
  1249.  
  1250.  
  1251. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 22]
  1252.  
  1253. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1254.  
  1255.  
  1256.       The Fragment header is not present in the final, reassembled
  1257.       packet.
  1258.  
  1259.    The following error conditions may arise when reassembling fragmented
  1260.    packets:
  1261.  
  1262.       If insufficient fragments are received to complete reassembly of a
  1263.       packet within 60 seconds of the reception of the first-arriving
  1264.       fragment of that packet, reassembly of that packet must be
  1265.       abandoned and all the fragments that have been received for that
  1266.       packet must be discarded.  If the first fragment (i.e., the one
  1267.       with a Fragment Offset of zero) has been received, an ICMP Time
  1268.       Exceeded -- Fragment Reassembly Time Exceeded message should be
  1269.       sent to the source of that fragment.
  1270.  
  1271.       If the length of a fragment, as derived from the fragment packet's
  1272.       Payload Length field, is not a multiple of 8 octets and the M flag
  1273.       of that fragment is 1, then that fragment must be discarded and an
  1274.       ICMP Parameter Problem, Code 0, message should be sent to the
  1275.       source of the fragment, pointing to the Payload Length field of
  1276.       the fragment packet.
  1277.  
  1278.       If the length and offset of a fragment are such that the Payload
  1279.       Length of the packet reassembled from that fragment would exceed
  1280.       65,535 octets, then that fragment must be discarded and an ICMP
  1281.       Parameter Problem, Code 0, message should be sent to the source of
  1282.       the fragment, pointing to the Fragment Offset field of the
  1283.       fragment packet.
  1284.  
  1285.    The following conditions are not expected to occur, but are not
  1286.    considered errors if they do:
  1287.  
  1288.       The number and content of the headers preceding the Fragment
  1289.       header of different fragments of the same original packet may
  1290.       differ.  Whatever headers are present, preceding the Fragment
  1291.       header in each fragment packet, are processed when the packets
  1292.       arrive, prior to queueing the fragments for reassembly.  Only
  1293.       those headers in the Offset zero fragment packet are retained in
  1294.       the reassembled packet.
  1295.  
  1296.       The Next Header values in the Fragment headers of different
  1297.       fragments of the same original packet may differ.  Only the value
  1298.       from the Offset zero fragment packet is used for reassembly.
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 23]
  1309.  
  1310. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1311.  
  1312.  
  1313. 4.6  Destination Options Header
  1314.  
  1315.    The Destination Options header is used to carry optional information
  1316.    that need be examined only by a packet's destination node(s).  The
  1317.    Destination Options header is identified by a Next Header value of 60
  1318.    in the immediately preceding header, and has the following format:
  1319.  
  1320.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1321.    |  Next Header  |  Hdr Ext Len  |                               |
  1322.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
  1323.    |                                                               |
  1324.    .                                                               .
  1325.    .                            Options                            .
  1326.    .                                                               .
  1327.    |                                                               |
  1328.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1329.  
  1330.    Next Header          8-bit selector.  Identifies the type of header
  1331.                         immediately following the Destination Options
  1332.                         header.  Uses the same values as the IPv4
  1333.                         Protocol field [RFC-1700 et seq.].
  1334.  
  1335.    Hdr Ext Len          8-bit unsigned integer.  Length of the
  1336.                         Destination Options header in 8-octet units,
  1337.                         not including the first 8 octets.
  1338.  
  1339.    Options              Variable-length field, of length such that the
  1340.                         complete Destination Options header is an
  1341.                         integer multiple of 8 octets long.  Contains
  1342.                         one or  more TLV-encoded options, as described
  1343.                         in section 4.2.
  1344.  
  1345.  
  1346.    The only destination options defined in this document are the Pad1
  1347.    and PadN options specified in section 4.2.
  1348.  
  1349.    Note that there are two possible ways to encode optional destination
  1350.    information in an IPv6 packet: either as an option in the Destination
  1351.    Options header, or as a separate extension header.  The Fragment
  1352.    header and the Authentication header are examples of the latter
  1353.    approach.  Which approach can be used depends on what action is
  1354.    desired of a destination node that does not understand the optional
  1355.    information:
  1356.  
  1357.       o  If the desired action is for the destination node to discard
  1358.          the packet and, only if the packet's Destination Address is not
  1359.          a multicast address, send an ICMP Unrecognized Type message to
  1360.          the packet's Source Address, then the information may be
  1361.          encoded either as a separate header or as an option in the
  1362.  
  1363.  
  1364.  
  1365. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 24]
  1366.  
  1367. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1368.  
  1369.  
  1370.          Destination Options header whose Option Type has the value 11
  1371.          in its highest-order two bits.  The choice may depend on such
  1372.          factors as which takes fewer octets, or which yields better
  1373.          alignment or more efficient parsing.
  1374.  
  1375.       o  If any other action is desired, the information must be encoded
  1376.          as an option in the Destination Options header whose Option
  1377.          Type has the value 00, 01, or 10 in its highest-order two bits,
  1378.          specifying the desired action (see section 4.2).
  1379.  
  1380.  
  1381. 4.7 No Next Header
  1382.  
  1383.    The value 59 in the Next Header field of an IPv6 header or any
  1384.    extension header indicates that there is nothing following that
  1385.    header.  If the Payload Length field of the IPv6 header indicates the
  1386.    presence of octets past the end of a header whose Next Header field
  1387.    contains 59, those octets must be ignored, and passed on unchanged if
  1388.    the packet is forwarded.
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 25]
  1423.  
  1424. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1425.  
  1426.  
  1427. 5. Packet Size Issues
  1428.  
  1429.    IPv6 requires that every link in the internet have an MTU of 576
  1430.    octets or greater.  On any link that cannot convey a 576-octet packet
  1431.    in one piece, link-specific fragmentation and reassembly must be
  1432.    provided at a layer below IPv6.
  1433.  
  1434.     From each link to which a node is directly attached, the node must
  1435.    be able to accept packets as large as that link's MTU.  Links that
  1436.    have a configurable MTU (for example, PPP links [RFC-1661]) must be
  1437.    configured to have an MTU of at least 576 octets; it is recommended
  1438.    that a larger MTU be configured, to accommodate possible
  1439.    encapsulations (i.e., tunneling) without incurring fragmentation.
  1440.  
  1441.    It is strongly recommended that IPv6 nodes implement Path MTU
  1442.    Discovery [RFC-1191], in order to discover and take advantage of
  1443.    paths with MTU greater than 576 octets.  However, a minimal IPv6
  1444.    implementation (e.g., in a boot ROM) may simply restrict itself to
  1445.    sending packets no larger than 576 octets, and omit implementation of
  1446.    Path MTU Discovery.
  1447.  
  1448.    In order to send a packet larger than a path's MTU, a node may use
  1449.    the IPv6 Fragment header to fragment the packet at the source and
  1450.    have it reassembled at the destination(s).  However, the use of such
  1451.    fragmentation is discouraged in any application that is able to
  1452.    adjust its packets to fit the measured path MTU (i.e., down to 576
  1453.    octets).
  1454.  
  1455.    A node must be able to accept a fragmented packet that, after
  1456.    reassembly, is as large as 1500 octets, including the IPv6 header.  A
  1457.    node is permitted to accept fragmented packets that reassemble to
  1458.    more than 1500 octets.  However, a node must not send fragments that
  1459.    reassemble to a size greater than 1500 octets unless it has explicit
  1460.    knowledge that the destination(s) can reassemble a packet of that
  1461.    size.
  1462.  
  1463.    In response to an IPv6 packet that is sent to an IPv4 destination
  1464.    (i.e., a packet that undergoes translation from IPv6 to IPv4), the
  1465.    originating IPv6 node may receive an ICMP Packet Too Big message
  1466.    reporting a Next-Hop MTU less than 576.  In that case, the IPv6 node
  1467.    is not required to reduce the size of subsequent packets to less than
  1468.    576, but must include a Fragment header in those packets so that the
  1469.    IPv6-to-IPv4 translating router can obtain a suitable Identification
  1470.    value to use in resulting IPv4 fragments.  Note that this means the
  1471.    payload may have to be reduced to 528 octets (576 minus 40 for the
  1472.    IPv6 header and 8 for the Fragment header), and smaller still if
  1473.    additional extension headers are used.
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 26]
  1480.  
  1481. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1482.  
  1483.  
  1484.         Note: Path MTU Discovery must be performed even in cases where a
  1485.         host "thinks" a destination is attached to the same link as
  1486.         itself.
  1487.  
  1488.         Note: Unlike IPv4, it is unnecessary in IPv6 to set a "Don't
  1489.         Fragment" flag in the packet header in order to perform Path MTU
  1490.         Discovery; that is an implicit attribute of every IPv6 packet.
  1491.         Also, those parts of the RFC-1191 procedures that involve use of
  1492.         a table of MTU "plateaus" do not apply to IPv6, because the IPv6
  1493.         version of the "Datagram Too Big" message always identifies the
  1494.         exact MTU to be used.
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 27]
  1537.  
  1538. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1539.  
  1540.  
  1541. 6.  Flow Labels
  1542.  
  1543.    The 24-bit Flow Label field in the IPv6 header may be used by a
  1544.    source to label those packets for which it requests special handling
  1545.    by the IPv6 routers, such as non-default quality of service or "real-
  1546.    time" service.  This aspect of IPv6 is, at the time of writing, still
  1547.    experimental and subject to change as the requirements for flow
  1548.    support in the Internet become clearer.  Hosts or routers that do not
  1549.    support the functions of the Flow Label field are required to set the
  1550.    field to zero when originating a packet, pass the field on unchanged
  1551.    when forwarding a packet, and ignore the field when receiving a
  1552.    packet.
  1553.  
  1554.    A flow is a sequence of packets sent from a particular source to a
  1555.    particular (unicast or multicast) destination for which the source
  1556.    desires special handling by the intervening routers.  The nature of
  1557.    that special handling might be conveyed to the routers by a control
  1558.    protocol, such as a resource reservation protocol, or by information
  1559.    within the flow's packets themselves, e.g., in a hop-by-hop option.
  1560.    The details of such control protocols or options are beyond the scope
  1561.    of this document.
  1562.  
  1563.    There may be multiple active flows from a source to a destination, as
  1564.    well as traffic that is not associated with any flow.  A flow is
  1565.    uniquely identified by the combination of a source address and a non-
  1566.    zero flow label.  Packets that do not belong to a flow carry a flow
  1567.    label of zero.
  1568.  
  1569.    A flow label is assigned to a flow by the flow's source node.  New
  1570.    flow labels must be chosen (pseudo-)randomly and uniformly from the
  1571.    range 1 to FFFFFF hex.  The purpose of the random allocation is to
  1572.    make any set of bits within the Flow Label field suitable for use as
  1573.    a hash key by routers, for looking up the state associated with the
  1574.    flow.
  1575.  
  1576.    All packets belonging to the same flow must be sent with the same
  1577.    source address, destination address, and flow label.  If any of those
  1578.    packets includes a Hop-by-Hop Options header, then they all must be
  1579.    originated with the same Hop-by-Hop Options header contents
  1580.    (excluding the Next Header field of the Hop-by-Hop Options header).
  1581.    If any of those packets includes a Routing header, then they all must
  1582.    be originated with the same contents in all extension headers up to
  1583.    and including the Routing header (excluding the Next Header field in
  1584.    the Routing header).  The routers or destinations are permitted, but
  1585.    not required, to verify that these conditions are satisfied.  If a
  1586.    violation is detected, it should be reported to the source by an ICMP
  1587.    Parameter Problem message, Code 0, pointing to the high-order octet
  1588.    of the Flow Label field (i.e., offset 1 within the IPv6 packet).
  1589.  
  1590.  
  1591.  
  1592.  
  1593. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 28]
  1594.  
  1595. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1596.  
  1597.  
  1598.    Routers are free to "opportunistically" set up flow-handling state
  1599.    for any flow, even when no explicit flow establishment information
  1600.    has been provided to them via a control protocol, a hop-by-hop
  1601.    option, or other means.  For example, upon receiving a packet from a
  1602.    particular source with an unknown, non-zero flow label, a router may
  1603.    process its IPv6 header and any necessary extension headers as if the
  1604.    flow label were zero.  That processing would include determining the
  1605.    next-hop interface, and possibly other actions, such as updating a
  1606.    hop-by-hop option, advancing the pointer and addresses in a Routing
  1607.    header, or deciding on how to queue the packet based on its Class
  1608.    field.  The router may then choose to "remember" the results of those
  1609.    processing steps and cache that information, using the source address
  1610.    plus the flow label as the cache key.  Subsequent packets with the
  1611.    same source address and flow label may then be handled by referring
  1612.    to the cached information rather than examining all those fields
  1613.    that, according to the requirements of the previous paragraph, can be
  1614.    assumed unchanged from the first packet seen in the flow.
  1615.  
  1616.    Cached flow-handling state that is set up opportunistically, as
  1617.    discussed in the preceding paragraph, must be discarded no more than
  1618.    6 seconds after it is established, regardless of whether or not
  1619.    packets of the same flow continue to arrive.  If another packet with
  1620.    the same source address and flow label arrives after the cached state
  1621.    has been discarded, the packet undergoes full, normal processing (as
  1622.    if its flow label were zero), which may result in the re-creation of
  1623.    cached flow state for that flow.
  1624.  
  1625.    The lifetime of flow-handling state that is set up explicitly, for
  1626.    example by a control protocol or a hop-by-hop option, must be
  1627.    specified as part of the specification of the explicit set-up
  1628.    mechanism; it may exceed 6 seconds.
  1629.  
  1630.    A source must not re-use a flow label for a new flow within the
  1631.    lifetime of any flow-handling state that might have been established
  1632.    for the prior use of that flow label.  Since flow-handling state with
  1633.    a lifetime of 6 seconds may be established opportunistically for any
  1634.    flow, the minimum interval between the last packet of one flow and
  1635.    the first packet of a new flow using the same flow label is 6
  1636.    seconds.  Flow labels used for explicitly set-up flows with longer
  1637.    flow-state lifetimes must remain unused for those longer lifetimes
  1638.    before being re-used for new flows.
  1639.  
  1640.    When a node stops and restarts (e.g., as a result of a "crash"), it
  1641.    must be careful not to use a flow label that it might have used for
  1642.    an earlier flow whose lifetime may not have expired yet.  This may be
  1643.    accomplished by recording flow label usage on stable storage so that
  1644.    it can be remembered across crashes, or by refraining from using any
  1645.    flow labels until the maximum lifetime of any possible previously
  1646.    established flows has expired (at least 6 seconds; more if explicit
  1647.  
  1648.  
  1649.  
  1650. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 29]
  1651.  
  1652. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1653.  
  1654.  
  1655.    flow set-up mechanisms with longer lifetimes might have been used).
  1656.    If the minimum time for rebooting the node is known (often more than
  1657.    6 seconds), that time can be deducted from the necessary waiting
  1658.    period before starting to allocate flow labels.
  1659.  
  1660.    There is no requirement that all, or even most, packets belong to
  1661.    flows, i.e., carry non-zero flow labels.  This observation is placed
  1662.    here to remind protocol designers and implementors not to assume
  1663.    otherwise.  For example, it would be unwise to design a router whose
  1664.    performance would be adequate only if most packets belonged to flows,
  1665.    or to design a header compression scheme that only worked on packets
  1666.    that belonged to flows.
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 30]
  1708.  
  1709. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1710.  
  1711.  
  1712. 7.  Traffic Classes
  1713.  
  1714.    The 4-bit Class field in the IPv6 header is available for use by
  1715.    originating nodes and/or forwarding routers to identify and
  1716.    distinguish between different classes or priorities of IPv6 packets.
  1717.    At the point in time at which this specification is being written,
  1718.    there are a number of experiments underway in the use of the IPv4
  1719.    Type of Service and Precedence bits to provide various forms of
  1720.    "differentiated service" for IP packets, other than through the use
  1721.    of explicit flow set-up.  The Class field in the IPv6 header is
  1722.    intended to allow similar experiments to be conducted in IPv6.  It is
  1723.    hoped that those experiments will eventually lead to agreement on
  1724.    what sorts of traffic classifications are most useful for IP packets.
  1725.    Until that time, any usage of the Class bits must be considered
  1726.    provisional and subject to possible change in the future.
  1727.  
  1728.    The following general requirements apply to the bits of the Class
  1729.    field:
  1730.  
  1731.       o  The service interface to the IPv6 service within a node must
  1732.          provide a means for an upper-layer protocol to supply the value
  1733.          of the Class bits in packets originated by that upper-layer
  1734.          protocol.  The default value must be zero for all 4 bits.
  1735.  
  1736.       o  Routers, when forwarding a packet, are permitted to change the
  1737.          value of any of the Class bits in that packet.
  1738.  
  1739.       o  Receivers must not assume that the value of the Class bits in a
  1740.          received packet are the same as the value sent by the packet's
  1741.          source.
  1742.  
  1743.    Until otherwise specified, the Class field should be treated as being
  1744.    internally subdivided into two subfields, a 1-bit delay sensitivity
  1745.    ("D") flag and a 3-bit Priority subfield, as follows:
  1746.  
  1747.                                +-+-+-+-+
  1748.                                |D|Prio.|
  1749.                                +-+-+-+-+
  1750.  
  1751.    The D bit may set to one by packet originators to identify packets
  1752.    for which minimizing delivery delay is much more important than
  1753.    maximizing throughput.  It is intended for interpretation by routers
  1754.    that forward packets onto very low-speed links (e.g., 14.4 or 28.8
  1755.    Kb/s modem links), where queueing small, interactive packets, such as
  1756.    those carrying keystrokes, keystroke echoes, and mouse clicks, in
  1757.    front of other traffic can greatly improve end-to-end interactive
  1758.    responsiveness.  The D bit may also influence the choice of a
  1759.    packet's delivery path by routers that support multiple "type of
  1760.    service" routes, for example, for choosing between a low-speed, low-
  1761.  
  1762.  
  1763.  
  1764. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 31]
  1765.  
  1766. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1767.  
  1768.  
  1769.    delay path or a higher speed but higher delay path.
  1770.  
  1771.    It is expected that routers that give preferential queueing or
  1772.    routing to packets with the D bit set will also limit the throughput
  1773.    of such packets to some fraction of the throughput available to
  1774.    packets that do not have the D bit set, to discourage applications
  1775.    from simply turning the bit on in all packets (and thereby defeating
  1776.    the purpose of the bit).  Thus, an application that sends packets
  1777.    with the D bit set is indicating a willingness to give up throughput
  1778.    in order to achieve lower delivery delay for those packets.  Since
  1779.    the primary intended use of the D bit is for giving preferential
  1780.    treatment to packets being forwarded over very low-speed links (on
  1781.    the order of 10s of kilobits per second), and since those packets are
  1782.    likely to be limited to a small fraction of the throughput of those
  1783.    links, it is recommended that the bit be set only on packets for
  1784.    which throughput of only a few kilobits per second is acceptable.
  1785.  
  1786.    It is strongly recommended, but not required, that routers leave the
  1787.    D bit unchanged in packets that they forward.  Since the D bit may be
  1788.    used in route selection, care must be taken to prevent packet looping
  1789.    that might occur if the bit were to be alternatively set and cleared
  1790.    by different routers along a packet's delivery path.
  1791.  
  1792.    The 3-bit Priority subfield is expected to be used primarily by
  1793.    routers to indicate the relative priority of packets they originate
  1794.    and/or forward.  For example, the border routers of an Internet
  1795.    Service Provider's routing domain might be configured to set the
  1796.    Priority bits of all packets arriving from customers according to the
  1797.    service levels being offered to those customers, and the routers
  1798.    within the domain might be configured to mark all routing protocol
  1799.    packets with a priority higher than any customer packets.  There may
  1800.    also be uses of the Priority field in which originating applications
  1801.    are configured, or instructed via a protocol, to send certain packets
  1802.    with particular values in the Priority subfield, though that subfield
  1803.    may subsequently be overwritten by routers along the packets'
  1804.    delivery paths, for example, if the packets cross into different
  1805.    routing domains.
  1806.  
  1807.    By default, the Priority subfield should be treated as a 3-bit
  1808.    unsigned integer, with higher values meaning higher priority.
  1809.    However, a particular experimental use of the Priority subfield might
  1810.    entail a different interpretation of those 3 bits, for example,
  1811.    treating them as independent flag bits.
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 32]
  1822.  
  1823. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1824.  
  1825.  
  1826. 8. Upper-Layer Protocol Issues
  1827.  
  1828. 8.1 Upper-Layer Checksums
  1829.  
  1830.    Any transport or other upper-layer protocol that includes the
  1831.    addresses from the IP header in its checksum computation must be
  1832.    modified for use over IPv6, to include the 128-bit IPv6 addresses
  1833.    instead of 32-bit IPv4 addresses.  In particular, the following
  1834.    illustration shows the TCP and UDP "pseudo-header" for IPv6:
  1835.  
  1836.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1837.    |                                                               |
  1838.    +                                                               +
  1839.    |                                                               |
  1840.    +                         Source Address                        +
  1841.    |                                                               |
  1842.    +                                                               +
  1843.    |                                                               |
  1844.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1845.    |                                                               |
  1846.    +                                                               +
  1847.    |                                                               |
  1848.    +                      Destination Address                      +
  1849.    |                                                               |
  1850.    +                                                               +
  1851.    |                                                               |
  1852.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1853.    |                   Upper-Layer Packet Length                   |
  1854.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1855.    |                      zero                     |  Next Header  |
  1856.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1857.  
  1858.  
  1859.       o  If the IPv6 packet contains a Routing header, the Destination
  1860.          Address used in the pseudo-header is that of the final
  1861.          destination.  At the originating node, that address will be in
  1862.          the last element of the Routing header; at the recipient(s),
  1863.          that address will be in the Destination Address field of the
  1864.          IPv6 header.
  1865.  
  1866.       o  The Next Header value in the pseudo-header identifies the
  1867.          upper-layer protocol (e.g., 6 for TCP, or 17 for UDP).  It will
  1868.          differ from the Next Header value in the IPv6 header if there
  1869.          are extension headers between the IPv6 header and the upper-
  1870.          layer header.
  1871.  
  1872.       o  The Upper-Layer Packet Length in the pseudo-header is the
  1873.          length of the upper-layer header and data (e.g., TCP header
  1874.          plus TCP data).  Some upper-layer protocols carry their own
  1875.  
  1876.  
  1877.  
  1878. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 33]
  1879.  
  1880. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1881.  
  1882.  
  1883.          length information (e.g., the Length field in the UDP header of
  1884.          non-jumbogram UDP packets); for such protocols, that is the
  1885.          length used in the pseudo-header.  Other protocols (such as
  1886.          TCP) do not carry their own length information, in which case
  1887.          the length used in the pseudo-header is the Payload Length from
  1888.          the IPv6 header (or from the Jumbo Payload option), minus the
  1889.          length of any extension headers present between the IPv6 header
  1890.          and the upper-layer header.
  1891.  
  1892.       o  Unlike IPv4, when UDP packets are originated by an IPv6 node,
  1893.          the UDP checksum is not optional.  That is, whenever
  1894.          originating a UDP packet, an IPv6 node must compute a UDP
  1895.          checksum over the packet and the pseudo-header, and, if that
  1896.          computation yields a result of zero, it must be changed to hex
  1897.          FFFF for placement in the UDP header.  IPv6 receivers must
  1898.          discard UDP packets containing a zero checksum, and should log
  1899.          the error.
  1900.  
  1901.    The IPv6 version of ICMP [RFC-1885] includes the above pseudo-header
  1902.    in its checksum computation; this is a change from the IPv4 version
  1903.    of ICMP, which does not include a pseudo-header in its checksum.  The
  1904.    reason for the change is to protect ICMP from misdelivery or
  1905.    corruption of those fields of the IPv6 header on which it depends,
  1906.    which, unlike IPv4, are not covered by an internet-layer checksum.
  1907.    The Next Header field in the pseudo-header for ICMP contains the
  1908.    value 58, which identifies the IPv6 version of ICMP.
  1909.  
  1910.  
  1911. 8.2 Maximum Packet Lifetime
  1912.  
  1913.    Unlike IPv4, IPv6 nodes are not required to enforce maximum packet
  1914.    lifetime.  That is the reason the IPv4 "Time to Live" field was
  1915.    renamed "Hop Limit" in IPv6.  In practice, very few, if any, IPv4
  1916.    implementations conform to the requirement that they limit packet
  1917.    lifetime, so this is not a change in practice.  Any upper-layer
  1918.    protocol that relies on the internet layer (whether IPv4 or IPv6) to
  1919.    limit packet lifetime ought to be upgraded to provide its own
  1920.    mechanisms for detecting and discarding obsolete packets.
  1921.  
  1922.  
  1923. 8.3 Maximum Upper-Layer Payload Size
  1924.  
  1925.    When computing the maximum payload size available for upper-layer
  1926.    data, an upper-layer protocol must take into account the larger size
  1927.    of the IPv6 header relative to the IPv4 header.  For example, in
  1928.    IPv4, TCP's MSS option is computed as the maximum packet size (a
  1929.    default value or a value learned through Path MTU Discovery) minus 40
  1930.    octets (20 octets for the minimum-length IPv4 header and 20 octets
  1931.    for the minimum-length TCP header).  When using TCP over IPv6, the
  1932.  
  1933.  
  1934.  
  1935. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 34]
  1936.  
  1937. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1938.  
  1939.  
  1940.    MSS must be computed as the maximum packet size minus 60 octets,
  1941.    because the minimum-length IPv6 header (i.e., an IPv6 header with no
  1942.    extension headers) is 20 octets longer than a minimum-length IPv4
  1943.    header.
  1944.  
  1945.  
  1946. 8.4 Responding to Packets Carrying Routing Headers
  1947.  
  1948.    When an upper-layer protocol sends one or more packets in response to
  1949.    a received packet that included a Routing header, the response
  1950.    packet(s) must not include a Routing header that was automatically
  1951.    derived by "reversing" the received Routing header UNLESS the
  1952.    integrity and authenticity of the received Source Address and Routing
  1953.    header have been verified (e.g., via the use of an Authentication
  1954.    header in the received packet).  In other words, only the following
  1955.    kinds of packets are permitted in response to a received packet
  1956.    bearing a Routing header:
  1957.  
  1958.       o  Response packets that do not carry Routing headers.
  1959.  
  1960.       o  Response packets that carry Routing headers that were NOT
  1961.          derived by reversing the Routing header of the received packet
  1962.          (for example, a Routing header supplied by local
  1963.          configuration).
  1964.  
  1965.       o  Response packets that carry Routing headers that were derived
  1966.          by reversing the Routing header of the received packet IF AND
  1967.          ONLY IF the integrity and authenticity of the Source Address
  1968.          and Routing header from the received packet have been verified
  1969.          by the responder.
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 35]
  1993.  
  1994. INTERNET-DRAFT             IPv6 Specification                  July 1997
  1995.  
  1996.  
  1997. Appendix A. Formatting Guidelines for Options
  1998.  
  1999.    This appendix gives some advice on how to lay out the fields when
  2000.    designing new options to be used in the Hop-by-Hop Options header or
  2001.    the Destination Options header, as described in section 4.2.  These
  2002.    guidelines are based on the following assumptions:
  2003.  
  2004.       o  One desirable feature is that any multi-octet fields within the
  2005.          Option Data area of an option be aligned on their natural
  2006.          boundaries, i.e., fields of width n octets should be placed at
  2007.          an integer multiple of n octets from the start of the Hop-by-
  2008.          Hop or Destination Options header, for n = 1, 2, 4, or 8.
  2009.  
  2010.       o  Another desirable feature is that the Hop-by-Hop or Destination
  2011.          Options header take up as little space as possible, subject to
  2012.          the requirement that the header be an integer multiple of 8
  2013.          octets long.
  2014.  
  2015.       o  It may be assumed that, when either of the option-bearing
  2016.          headers are present, they carry a very small number of options,
  2017.          usually only one.
  2018.  
  2019.    These assumptions suggest the following approach to laying out the
  2020.    fields of an option: order the fields from smallest to largest, with
  2021.    no interior padding, then derive the alignment requirement for the
  2022.    entire option based on the alignment requirement of the largest field
  2023.    (up to a maximum alignment of 8 octets).  This approach is
  2024.    illustrated in the following examples:
  2025.  
  2026.  
  2027.    Example 1
  2028.  
  2029.    If an option X required two data fields, one of length 8 octets and
  2030.    one of length 4 octets, it would be laid out as follows:
  2031.  
  2032.  
  2033.                                    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2034.                                    | Option Type=X |Opt Data Len=12|
  2035.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2036.    |                         4-octet field                         |
  2037.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2038.    |                                                               |
  2039.    +                         8-octet field                         +
  2040.    |                                                               |
  2041.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2042.  
  2043.  
  2044.    Its alignment requirement is 8n+2, to ensure that the 8-octet field
  2045.    starts at a multiple-of-8 offset from the start of the enclosing
  2046.  
  2047.  
  2048.  
  2049. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 36]
  2050.  
  2051. INTERNET-DRAFT             IPv6 Specification                  July 1997
  2052.  
  2053.  
  2054.    header.  A complete Hop-by-Hop or Destination Options header
  2055.    containing this one option would look as follows:
  2056.  
  2057.  
  2058.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2059.    |  Next Header  | Hdr Ext Len=1 | Option Type=X |Opt Data Len=12|
  2060.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2061.    |                         4-octet field                         |
  2062.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2063.    |                                                               |
  2064.    +                         8-octet field                         +
  2065.    |                                                               |
  2066.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2067.  
  2068.  
  2069.  
  2070.    Example 2
  2071.  
  2072.    If an option Y required three data fields, one of length 4 octets,
  2073.    one of length 2 octets, and one of length 1 octet, it would be laid
  2074.    out as follows:
  2075.  
  2076.  
  2077.                                                    +-+-+-+-+-+-+-+-+
  2078.                                                    | Option Type=Y |
  2079.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2080.    |Opt Data Len=7 | 1-octet field |         2-octet field         |
  2081.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2082.    |                         4-octet field                         |
  2083.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2084.  
  2085.  
  2086.    Its alignment requirement is 4n+3, to ensure that the 4-octet field
  2087.    starts at a multiple-of-4 offset from the start of the enclosing
  2088.    header.  A complete Hop-by-Hop or Destination Options header
  2089.    containing this one option would look as follows:
  2090.  
  2091.  
  2092.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2093.    |  Next Header  | Hdr Ext Len=1 | Pad1 Option=0 | Option Type=Y |
  2094.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2095.    |Opt Data Len=7 | 1-octet field |         2-octet field         |
  2096.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2097.    |                         4-octet field                         |
  2098.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2099.    | PadN Option=1 |Opt Data Len=2 |       0       |       0       |
  2100.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 37]
  2107.  
  2108. INTERNET-DRAFT             IPv6 Specification                  July 1997
  2109.  
  2110.  
  2111.    Example 3
  2112.  
  2113.    A Hop-by-Hop or Destination Options header containing both options X
  2114.    and Y from Examples 1 and 2 would have one of the two following
  2115.    formats, depending on which option appeared first:
  2116.  
  2117.  
  2118.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2119.    |  Next Header  | Hdr Ext Len=3 | Option Type=X |Opt Data Len=12|
  2120.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2121.    |                         4-octet field                         |
  2122.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2123.    |                                                               |
  2124.    +                         8-octet field                         +
  2125.    |                                                               |
  2126.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2127.    | PadN Option=1 |Opt Data Len=1 |       0       | Option Type=Y |
  2128.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2129.    |Opt Data Len=7 | 1-octet field |         2-octet field         |
  2130.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2131.    |                         4-octet field                         |
  2132.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2133.    | PadN Option=1 |Opt Data Len=2 |       0       |       0       |
  2134.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2135.  
  2136.  
  2137.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2138.    |  Next Header  | Hdr Ext Len=3 | Pad1 Option=0 | Option Type=Y |
  2139.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2140.    |Opt Data Len=7 | 1-octet field |         2-octet field         |
  2141.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2142.    |                         4-octet field                         |
  2143.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2144.    | PadN Option=1 |Opt Data Len=4 |       0       |       0       |
  2145.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2146.    |       0       |       0       | Option Type=X |Opt Data Len=12|
  2147.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2148.    |                         4-octet field                         |
  2149.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2150.    |                                                               |
  2151.    +                         8-octet field                         +
  2152.    |                                                               |
  2153.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 38]
  2164.  
  2165. INTERNET-DRAFT             IPv6 Specification                  July 1997
  2166.  
  2167.  
  2168. Security Considerations
  2169.  
  2170.    This document specifies that the IP Authentication Header [RFC-1826]
  2171.    and the IP Encapsulating Security Payload [RFC-1827] be used with
  2172.    IPv6, in conformance with the Security Architecture for the Internet
  2173.    Protocol [RFC-1825].
  2174.  
  2175. Acknowledgments
  2176.  
  2177.    The authors gratefully acknowledge the many helpful suggestions of
  2178.    the members of the IPng working group, the End-to-End Protocols
  2179.    research group, and the Internet Community At Large.
  2180.  
  2181. Authors' Addresses
  2182.  
  2183.    Stephen E. Deering                   Robert M. Hinden
  2184.    Cisco Systems, Inc.                  Ipsilon Networks, Inc.
  2185.    170 West Tasman Drive                232 Java Drive
  2186.    San Jose, CA 95134-1706              Sunnyvale, CA 94089
  2187.    USA                                  USA
  2188.  
  2189.    phone: +1 408 527 8213               phone: +1 408 990-2004
  2190.    fax:   +1 408 527 8254               fax:   +1 408 743-5677
  2191.    email: deering@cisco.com             email: hinden@ipsilon.com
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 39]
  2221.  
  2222. INTERNET-DRAFT             IPv6 Specification                  July 1997
  2223.  
  2224.  
  2225. References
  2226.  
  2227.    [RFC-1825]   Atkinson, R., Security Architecture for the Internet
  2228.                 Protocol, RFC-1825, August 1995.
  2229.  
  2230.    [RFC-1826]   Atkinson, R., IP Authentication Header, RFC-1826, August
  2231.                 1995.
  2232.  
  2233.    [RFC-1827]   Atkinson, R., IP Encapsulating Security Protocol (ESP),
  2234.                 RFC-1827, August 1995.
  2235.  
  2236.    [RFC-1885]   Conta, A. and S. Deering, ICMP for the Internet Protocol
  2237.                 Version 6 (IPv6), RFC-1885, December 1995.
  2238.  
  2239.    [ADDRARCH]   Hinden, R., and S. Deering, IP Version 6 Addressing
  2240.                 Architecture, Internet Draft, <draft-ietf-ipngwg-addr-
  2241.                 arch-v2-02.txt> , July 1997.
  2242.  
  2243.    [RFC-1191]   Mogul, J., and S. Deering, Path MTU Discovery, RFC-1191,
  2244.                 November 1990.
  2245.  
  2246.    [RFC-791]    Postel, J., Internet Protocol, RFC-791, September 1981.
  2247.  
  2248.    [RFC-1700]   Reynolds, J., and J. Postel, Assigned Numbers, RFC-1700,
  2249.                 October 1994.
  2250.  
  2251.    [RFC-1661]   Simpson, W., The Point-to-Point Protocol (PPP),
  2252.                 RFC-1548, April 1994.
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 40]
  2278.  
  2279. INTERNET-DRAFT             IPv6 Specification                  July 1997
  2280.  
  2281.  
  2282. CHANGES SINCE RFC-1883
  2283.  
  2284.  
  2285.    This draft has the following changes from RFC-1883.  Number indicates
  2286.    which version of internet draft the change was made.
  2287.  
  2288.  
  2289.     00) In section 4, corrected the Code value to indicate "unrecognized
  2290.         Next Header type encountered" in an ICMP Parameter Problem
  2291.         message (changed from 2 to 1).
  2292.  
  2293.     00) In the description of the Payload Length field in section 3, and
  2294.         of the Jumbo Payload Length field in section 4.3, made it
  2295.         clearer that extensions headers are included in the payload
  2296.         length count.
  2297.  
  2298.     00) In section 4.2, made it clearer that options are identified by
  2299.         the full 8-bit Option Type, not by the low-order 5 bits of an
  2300.         Option Type.  Also specified that the same Option Type numbering
  2301.         space is used for both Hop-by-Hop Options and Destination
  2302.         Options headers.
  2303.  
  2304.     00) In section 4.4, added a sentence requiring that nodes processing
  2305.         a Routing header must send an ICMP Packet Too Big message in
  2306.         response to a packet that is too big to fit in the next hop link
  2307.         (rather than, say, performing fragmentation).
  2308.  
  2309.     00) Changed the name of the IPv6 Priority field to "Class", and
  2310.         replaced the previous description of Priority in section 7 with
  2311.         a description of the Class field.
  2312.  
  2313.     00) In the pseudo-header in section 8.1, changed the name of the
  2314.         "Payload Length" field to "Upper-Layer Packet Length".  Also
  2315.         clarified that, in the case of protocols that carry their own
  2316.         length info (like non-jumbogram UDP), it is the upper-length-
  2317.         derived length, not the IP-layer-derived length, that is used in
  2318.         the pseudo-header.
  2319.  
  2320.     00) Added section 8.4, specifying that upper-layer protocols, when
  2321.         responding to a received packet that carried a Routing header,
  2322.         must not include the reverse of the Routing header in the
  2323.         response packet(s) unless the received Routing header was
  2324.         authenticated.
  2325.  
  2326.     00) Fixed some typos and grammatical errors.
  2327.  
  2328.     00) Authors' contact info updated.
  2329.  
  2330.  
  2331.  
  2332.  
  2333.  
  2334. Deering & Hinden  draft-ietf-ipngwg-ipv6-spec-v2-00.txt        [Page 41]
  2335.