home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / rfc / rfc2023 < prev    next >
Text File  |  1996-10-22  |  20KB  |  564 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                         D. Haskin
  8. Request for Comments: 2023                                     E. Allen
  9. Category: Standards Track                            Bay Networks, Inc.
  10.                                                            October 1996
  11.  
  12.                          IP Version 6 over PPP
  13.  
  14. Status of this Memo
  15.  
  16.    This document specifies an Internet standards track protocol for the
  17.    Internet community, and requests discussion and suggestions for
  18.    improvements.  Please refer to the current edition of the "Internet
  19.    Official Protocol Standards" (STD 1) for the standardization state
  20.    and status of this protocol.  Distribution of this memo is unlimited.
  21.  
  22. Abstract
  23.  
  24.    The Point-to-Point Protocol (PPP) [1] provides a standard method of
  25.    encapsulating Network Layer protocol information over point-to-point
  26.    links.  PPP also defines an extensible Link Control Protocol, and
  27.    proposes a family of Network Control Protocols (NCPs) for
  28.    establishing and configuring different network-layer protocols.
  29.  
  30.    This document defines the method for transmission of IP Version 6 [2]
  31.    packets over PPP links as well as the Network Control Protocol (NCP)
  32.    for establishing and configuring the IPv6 over PPP. It also specifies
  33.    the method of forming IPv6 link-local addresses on PPP links.
  34.  
  35. Table of Contents
  36.  
  37.    1.     Introduction ..........................................    2
  38.         1.1.  Specification of Requirements ......................   2
  39.    2.     Sending IPv6 Datagrams ................................    3
  40.    3.     A PPP Network Control Protocol for IPv6 ...............    3
  41.    4.     IPV6CP Configuration Options ..........................    4
  42.         4.1.  Interface-Token ...................................    4
  43.         4.2.  IPv6-Compression-Protocol..........................    7
  44.    5.     Stateless Autoconfiguration and Link-Local Addresses ..    9
  45.    A.     IPV6CP Recommended Options .............................   9
  46.    Security Considerations .......................................  10
  47.    References ....................................................  10
  48.    Acknowledgments ...............................................  10
  49.    Authors' Addresses ............................................  10
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58. Haskin & Allen              Standards Track                     [Page 1]
  59.  
  60. RFC 2023                 IP Version 6 over PPP              October 1996
  61.  
  62.  
  63. 1.  Introduction
  64.  
  65.    PPP has three main components:
  66.  
  67.       1. A method for encapsulating datagrams over serial links.
  68.  
  69.       2. A Link Control Protocol (LCP) for establishing, configuring,
  70.          and testing the data-link connection.
  71.  
  72.       3. A family of Network Control Protocols (NCPs) for establishing
  73.          and configuring different network-layer protocols.
  74.  
  75.    In order to establish communications over a point-to-point link, each
  76.    end of the PPP link must first send LCP packets to configure and test
  77.    the data link.  After the link has been established and optional
  78.    facilities have been negotiated as needed by the LCP, PPP must send
  79.    NCP packets to choose and configure one or more network-layer
  80.    protocols.  Once each of the chosen network-layer protocols has been
  81.    configured,  datagrams from each network-layer protocol can be sent
  82.    over the link.
  83.  
  84.    In this document, the NCP for establishing and configuring the IPv6
  85.    over PPP is referred as the IPv6 Control Protocol (IPV6CP).
  86.  
  87.    The link will remain configured for communications until explicit LCP
  88.    or NCP packets close the link down,  or until some external event
  89.    occurs (power failure at the other end, carrier drop, etc.).
  90.  
  91. 1.1.  Specification of Requirements
  92.  
  93.    In this document, several words are used to signify the requirements
  94.    of the specification.  These words are often capitalized.
  95.  
  96.    MUST      This word, or the adjective "required", means that the
  97.              definition is an absolute requirement of the specification.
  98.  
  99.    MUST NOT  This phrase means that the definition is an absolute
  100.              prohibition of the specification.
  101.  
  102.    SHOULD    This word, or the adjective "recommended", means that there
  103.              may exist valid reasons in particular circumstances to
  104.              ignore this item, but the full implications must be
  105.              understood and carefully weighed before choosing a
  106.              different course.
  107.  
  108.    MAY       This word, or the adjective "optional", means that this
  109.              item is one of an allowed set of alternatives.  An
  110.              implementation which does not include this option MUST be
  111.  
  112.  
  113.  
  114. Haskin & Allen              Standards Track                     [Page 2]
  115.  
  116. RFC 2023                 IP Version 6 over PPP              October 1996
  117.  
  118.  
  119.              prepared to inter-operate with another implementation which
  120.              does include the option.
  121.  
  122. 2. Sending IPv6 Datagrams
  123.  
  124.    Before any IPv6 packets may be communicated, PPP must reach the
  125.    Network-Layer Protocol phase, and the IPv6 Control Protocol must
  126.    reach the Opened state.
  127.  
  128.    Exactly one IPv6 packet is encapsulated in the Information field of
  129.    PPP Data Link Layer frames where the Protocol field indicates type
  130.    hex 0057 (Internet Protocol Version 6).
  131.  
  132.    The maximum length of an IPv6 packet transmitted over a PPP link is
  133.    the same as the maximum length of the Information field of a PPP data
  134.    link layer frame.  PPP links supporting IPv6 must allow at least 576
  135.    octets in the information field of a data link layer frame.
  136.  
  137. 3. A PPP Network Control Protocol for IPv6
  138.  
  139.    The IPv6 Control Protocol (IPV6CP) is responsible for configuring,
  140.    enabling, and disabling the IPv6 protocol modules on both ends of the
  141.    point-to-point link.  IPV6CP uses the same packet exchange mechanism
  142.    as the Link Control Protocol (LCP).  IPV6CP packets may not be
  143.    exchanged until PPP has reached the Network-Layer Protocol phase.
  144.    IPV6CP packets received before this phase is reached should be
  145.    silently discarded.
  146.  
  147.    The IPv6 Control Protocol is exactly the same as the Link Control
  148.    Protocol [1] with the following exceptions:
  149.  
  150.    Data Link Layer Protocol Field
  151.  
  152.      Exactly one IPV6CP packet is encapsulated in the Information field
  153.      of PPP Data Link Layer frames where the Protocol field indicates
  154.      type hex 8057 (IPv6 Control Protocol).
  155.  
  156.    Code field
  157.  
  158.      Only Codes 1 through 7 (Configure-Request, Configure-Ack,
  159.      Configure-Nak, Configure-Reject, Terminate-Request, Terminate-Ack
  160.      and Code-Reject) are used.  Other Codes should be treated as
  161.      unrecognized and should result in Code-Rejects.
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170. Haskin & Allen              Standards Track                     [Page 3]
  171.  
  172. RFC 2023                 IP Version 6 over PPP              October 1996
  173.  
  174.  
  175.    Timeouts
  176.  
  177.    IPV6CP packets may not be exchanged until PPP has reached the
  178.    Network-Layer Protocol phase.  An implementation should be prepared
  179.    to wait for Authentication and Link Quality Determination to finish
  180.    before timing out waiting for a Configure-Ack or other response.  It
  181.    is suggested that an implementation give up only after user
  182.    intervention or a configurable amount of time.
  183.  
  184.    Configuration Option Types
  185.  
  186.      IPV6CP has a distinct set of Configuration Options, which are
  187.      defined below.
  188.  
  189. 4.  IPV6CP Configuration Options
  190.  
  191.    IPV6CP Configuration Options allow negotiation of desirable IPv6
  192.    parameters.  IPV6CP uses the same Configuration Option format defined
  193.    for LCP [1], with a separate set of Options.  If a Configuration
  194.    Option is not included in a Configure-Request packet,  the default
  195.    value for that Configuration Option is assumed.
  196.  
  197.    Up-to-date values of the IPV6CP Option Type field are specified in
  198.    the most recent "Assigned Numbers" RFC [5].  Current values are
  199.    assigned as follows:
  200.  
  201.     1       Interface-Token
  202.     2       IPv6-Compression-Protocol
  203.  
  204.  
  205. 4.1.  Interface-Token
  206.  
  207.    Description
  208.  
  209.       This Configuration Option provides a way to negotiate a unique
  210.       32-bit interface token to be used for the address
  211.       autoconfiguration [3] at the local end of the link (see section
  212.       5).  The interface token MUST be unique within the PPP link; i.e.
  213.       upon completion of the negotiation different Interface-Token
  214.       values are to be selected for the ends of the PPP link.
  215.  
  216.       Before this Configuration Option is requested, an implementation
  217.       must choose its tentative Interface-Token.  It is recommended that
  218.       a non-zero value be chosen in the most random manner possible in
  219.       order to guarantee with very high probability that an
  220.       implementation will arrive at a unique token value.  A good way to
  221.       choose a unique random number is to start with a unique seed.
  222.       Suggested sources of uniqueness include machine serial numbers,
  223.  
  224.  
  225.  
  226. Haskin & Allen              Standards Track                     [Page 4]
  227.  
  228. RFC 2023                 IP Version 6 over PPP              October 1996
  229.  
  230.  
  231.       other network hardware addresses, system clocks, etc. Note that it
  232.       may not be sufficient to use a link-layer address alone as the
  233.       seed, since it will not always be unique.  Thus it is suggested
  234.       that the seed should be calculated from a variety of sources that
  235.       are likely to be different even on identical systems and as many
  236.       sources as possible be used simultaneously.  Good sources of
  237.       uniqueness or randomness are required for the Interface-Token
  238.       negotiation to succeed.  If a good source of randomness cannot be
  239.       found,  it is recommended that a zero value be used for the
  240.       Interface-Token transmitted in the Configure-Request.  In this
  241.       case the PPP peer may provide a valid non-zero Interface-Token in
  242.       its response as described below.  Note that if at least one of the
  243.       PPP peers is able to generate a unique random number, the token
  244.       negotiation will succeed.
  245.  
  246.       When a Configure-Request is received with the Interface-Token
  247.       Configuration Option and the receiving peer implements this
  248.       option, the received Interface-Token is compared with the
  249.       Interface-Token of the last Configure-Request sent to the peer.
  250.       Depending on the result of the comparison an implementation MUST
  251.       respond in one of the following ways:
  252.  
  253.       If the two Interface-Tokens are different but the received
  254.       Interface-Token is zero, a Configure-Ack is sent with a non-zero
  255.       Interface-Token value suggested for use by the remote peer.  Such
  256.       a suggested Interface-Token MUST be different from the Interface-
  257.       Token of the last Configure-Request sent to the peer.
  258.  
  259.       If the two Interface-Tokens are different and the received
  260.       Interface-Token is not zero, the Interface-Token MUST be
  261.       acknowledged, i.e. a Configure-Ack is sent with the requested
  262.       Interface-Token, meaning that the responding peer agrees with the
  263.       Interface-Token requested.
  264.  
  265.       If the two Interface-Tokens are equal and are not zero, a
  266.       Configure-Nak MUST be sent specifying a different non-zero
  267.       Interface-Token value suggested for use by the remote peer.
  268.  
  269.       If the two Interface-Tokens are equal to zero,  the Interface-
  270.       Tokens negotiation MUST be terminated by transmitting the
  271.       Configure-Reject with the Interface-Token value set to zero. In
  272.       this case a unique Interface-Token can not be negotiated.
  273.  
  274.       If a Configure-Request is received with the Interface-Token
  275.       Configuration Option and the receiving peer does not implement
  276.       this option, Configure-Rej is sent.
  277.  
  278.  
  279.  
  280.  
  281.  
  282. Haskin & Allen              Standards Track                     [Page 5]
  283.  
  284. RFC 2023                 IP Version 6 over PPP              October 1996
  285.  
  286.  
  287.       A new Configure-Request SHOULD NOT be sent to the peer until
  288.       normal processing would cause it to be sent (that is, until a
  289.       Configure-Nak is received or the Restart timer runs out).
  290.  
  291.       A new Configure-Request MUST NOT contain the Interface-Token
  292.       option if a valid Interface-Token Configure-Reject is received.
  293.  
  294.       Reception of a Configure-Nak with a suggested Interface-Token
  295.       different from that of the last Configure-Nak sent to the peer
  296.       indicates a unique Interface-Token.  In this case a new
  297.       Configure-Request MUST be sent with the token value suggested in
  298.       the last Configure-Nak from the peer.  But if the received
  299.       Interface-Token is equal to the one sent in the last Configure-
  300.       Nak, a new Interface-Token MUST be chosen.  In this case, a new
  301.       Configure-Request SHOULD be sent with the new tentative
  302.       Interface-Token.  This sequence (transmit Configure-Request,
  303.       receive Configure-Request, transmit Configure-Nak, receive
  304.       Configure-Nak) might occur a few times, but it is extremely
  305.       unlikely to occur repeatedly.  More likely, the Interface-Tokens
  306.       chosen at either end will quickly diverge, terminating the
  307.       sequence.
  308.  
  309.       If negotiation about the Interface-Token is required, and the peer
  310.       did not provide the option in its Configure-Request, the option
  311.       SHOULD be appended to a Configure-Nak.  The tentative value of the
  312.       Interface-Token given must be acceptable as the remote Interface-
  313.       Token; i.e. should be different from the token value selected for
  314.       the local end of the PPP link.  The next Configure-Request from
  315.       the peer may include this option.  If the next Configure-Request
  316.       does not include this option the peer MUST NOT send another
  317.       Configure-Nak with this option included. It should assume that the
  318.       peer's implementation does not support this option.
  319.  
  320.       By default, an implementation SHOULD attempt to negotiate the
  321.       Interface-Token for its end of the PPP connection.
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338. Haskin & Allen              Standards Track                     [Page 6]
  339.  
  340. RFC 2023                 IP Version 6 over PPP              October 1996
  341.  
  342.  
  343.    A summary of the Interface-Token Configuration Option format is
  344.    shown below.  The fields are transmitted from left to right.
  345.  
  346.     0                   1                   2                   3
  347.     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  348.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  349.    |     Type      |    Length     |        Interface-Token
  350.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  351.          Interface-Token (cont)    |
  352.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  353.  
  354.    Type
  355.  
  356.       1
  357.  
  358.    Length
  359.  
  360.       6
  361.  
  362.    Interface-Token
  363.  
  364.       The 32-bit Interface-Token which is very likely to  be unique on
  365.       the link or zero if a good source of uniqueness can not be found.
  366.  
  367.    Default Token Value
  368.  
  369.       If no valid interface token can be successfully negotiated, no
  370.       default Interface-Token value should be assumed. The procedures
  371.       for recovering from such a case are unspecified. One approach is
  372.       to manually configure the interface token of the interface.
  373.  
  374. 4.2.  IPv6-Compression-Protocol
  375.  
  376.    Description
  377.  
  378.       This Configuration Option provides a way to negotiate the use of a
  379.       specific IPv6 packet compression protocol.  The IPv6-Compression-
  380.       Protocol Configuration Option is used to indicate the ability to
  381.       receive compressed packets.  Each end of the link must separately
  382.       request this option if bi-directional compression is desired.  By
  383.       default, compression is not enabled.
  384.  
  385.       IPv6 compression negotiated with this option is specific to IPv6
  386.       datagrams and is not to be confused with compression resulting
  387.       from negotiations via Compression Control Protocol (CCP), which
  388.       potentially effect all datagrams.
  389.  
  390.  
  391.  
  392.  
  393.  
  394. Haskin & Allen              Standards Track                     [Page 7]
  395.  
  396. RFC 2023                 IP Version 6 over PPP              October 1996
  397.  
  398.  
  399.    A summary of the IPv6-Compression-Protocol Configuration Option
  400.    format is shown below.  The fields are transmitted from left to
  401.    right.
  402.  
  403.     0                   1                   2                   3
  404.     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  405.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  406.    |     Type      |    Length     |   IPv6-Compression-Protocol   |
  407.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  408.    |    Data ...
  409.    +-+-+-+-+
  410.  
  411.    Type
  412.  
  413.       2
  414.  
  415.    Length
  416.  
  417.       >= 4
  418.  
  419.    IPv6-Compression-Protocol
  420.  
  421.       The IPv6-Compression-Protocol field is two octets and indicates
  422.       the compression protocol desired.  Values for this field are
  423.       always the same as the PPP Data Link Layer Protocol field values
  424.       for that same compression protocol.
  425.  
  426.       Up-to-date values of the IPv6-Compression-Protocol field are
  427.       specified in the most recent "Assigned Numbers" RFC [5].
  428.  
  429.       Current values are assigned as follows:
  430.  
  431.       Value (in hex)          Protocol
  432.  
  433.       004f                    IPv6 Header Compression
  434.  
  435.    Data
  436.  
  437.       The Data field is zero or more octets and contains additional data
  438.       as determined by the particular compression protocol.
  439.  
  440.    Default
  441.  
  442.       No IPv6 compression protocol enabled.
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450. Haskin & Allen              Standards Track                     [Page 8]
  451.  
  452. RFC 2023                 IP Version 6 over PPP              October 1996
  453.  
  454.  
  455. 5.  Stateless Autoconfiguration and Link-Local Addresses
  456.  
  457.    The interface token, which is used for forming IPv6 addresses of a
  458.    PPP interface, SHOULD be negotiated in the IPV6CP phase of the PPP
  459.    connection setup (see section 4.1). If no valid interface token has
  460.    been successfully negotiated, procedures for recovering from such a
  461.    case are unspecified.  One approach is to manually configure the
  462.    interface token of the interface.
  463.  
  464.    As long as the interface token is negotiated in the IPV6CP phase of
  465.    the PPP connection setup,  it is redundant to perform duplicate
  466.    address detection as a part of the IPv6 Stateless Autoconfiguration
  467.    protocol [3].  Therefore it is recommended that for PPP links with
  468.    the IPV6CP Interface-Token option enabled the default value of the
  469.    DupAddrDetectTransmits autoconfiguration variable [3] be zero.
  470.  
  471.    Link-local addresses of PPP interfaces have the following format:
  472.  
  473.    | 10 bits  |              86 bits               |     32 bits     |
  474.    +----------+--------------+---------------------+-----------------+
  475.    |1111111010|              0                     | Interface Token |
  476.    +----------+--------------+---------------------+-----------------+
  477.  
  478.    The most significant 10 bits of the address is the Link-Local prefix
  479.    FE80::.  86 zero bits pad out the address between the Link-Local
  480.    prefix and the Interface Token fields.
  481.  
  482. A.  IPV6CP Recommended Options
  483.  
  484.    The following Configurations Options are recommended:
  485.  
  486.       Interface-Token
  487.  
  488.       IPv6-Compression-Protocol
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506. Haskin & Allen              Standards Track                     [Page 9]
  507.  
  508. RFC 2023                 IP Version 6 over PPP              October 1996
  509.  
  510.  
  511. Security Considerations
  512.  
  513.    Security issues are not discussed in this memo.
  514.  
  515. References
  516.  
  517.  
  518.    [1] Simpson, W., "The Point-to-Point Protocol", STD 51, RFC 1661,
  519.        July 1994.
  520.  
  521.    [2] Deering, S., and R. Hinden, Editors, "Internet Protocol,
  522.        Version 6 (IPv6) Specification", RFC 1883, December 1995.
  523.  
  524.    [2] Hinden, R., and  S. Deering, "IP Version 6 Addressing
  525.        Architecture", RFC 1884, December 1995.
  526.  
  527.    [3] Thomson, S., and T. Narten, "IPv6 Stateless Address
  528.         Autoconfiguration", RFC 1971, August 1996.
  529.  
  530.    [4] Narten, T., Nordmark, E., and W. Simpson, "Neighbor Discovery
  531.        for IP Version 6 (IPv6)", RFC 1970, August 1996.
  532.  
  533.    [5] Reynolds, J., and J. Postel, "Assigned Numbers", STD 2, RFC
  534.        1700, October 1994.
  535.  
  536. Acknowledgments
  537.  
  538.    This document borrows from the Magic-Number LCP option and as such is
  539.    partially based on previous work done by the PPP working group.
  540.  
  541. Authors' Addresses
  542.  
  543.    Dimitry Haskin
  544.    Bay Networks, Inc.
  545.    2 Federal Street
  546.    Billerica, MA 01821
  547.    email: dhaskin@baynetworks.com
  548.  
  549.    Ed Allen
  550.    Bay Networks, Inc.
  551.    2 Federal Street
  552.    Billerica, MA 01821
  553.    email: eallen@baynetworks.com
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562. Haskin & Allen              Standards Track                    [Page 10]
  563.  
  564.