home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_j_p / draft-ietf-pppext-ipcp-mip-02.txt < prev    next >
Text File  |  1997-07-02  |  38KB  |  1,006 lines

  1.  
  2. PPP Extensions Working Group                        J. Solomon, Motorola
  3. Internet Draft                                    S. Glass, FTP Software
  4. expires January 2, 1998                                     July 2, 1997
  5.  
  6.  
  7.              Mobile-IPv4 Configuration Option for PPP IPCP
  8.                   <draft-ietf-pppext-ipcp-mip-02.txt>
  9.  
  10. Status of this Memo
  11.  
  12.    This document is a submission to the PPPEXT working group of the
  13.    IETF.  Questions and comments should be sent to the mailing list:
  14.    ietf-ppp@merit.edu.
  15.  
  16.    This document is an Internet-Draft.  Internet-Drafts are working
  17.    documents of the Internet Engineering Task Force (IETF), its areas,
  18.    and its working groups.  Note that other groups may also distribute
  19.    working documents as Internet-Drafts.
  20.  
  21.    Internet-Drafts are draft documents valid for a maximum of six months
  22.    and may be updated, replaced, or obsoleted by other documents at any
  23.    time.  It is inappropriate to use Internet-Drafts as reference
  24.    material or to cite them other than as ``work in progress.''
  25.  
  26.    To learn the current status of any Internet-Draft, please check the
  27.    ``1id-abstracts.txt'' listing contained in the Internet-Drafts Shadow
  28.    Directories on ftp.is.co.za (Africa), nic.nordu.net (Europe),
  29.    munnari.oz.au (Pacific Rim), ds.internic.net (US East Coast), or
  30.    ftp.isi.edu (US West Coast).
  31.  
  32.    Distribution of this memo is unlimited.
  33.  
  34. Abstract
  35.  
  36.    Mobile IP [RFC 2002] defines media-independent procedures by which a
  37.    Mobile Node can maintain existing transport and application-layer
  38.    connections despite changing its point-of-attachment to the Internet
  39.    and without changing its IP address.  PPP [RFC 1661] provides a
  40.    standard method for transporting multi-protocol packets over point-
  41.    to-point links.  As currently specified, Mobile IP Foreign Agents
  42.    which support Mobile Node connections via PPP can do so only by first
  43.    assigning unique addresses to those Mobile Nodes, defeating one of
  44.    the primary advantages of Foreign Agents.  This documents corrects
  45.    this problem by defining the Mobile-IPv4 Configuration Option to the
  46.    Internet Protocol Control Protocol (IPCP) [RFC 1332].  Using this
  47.    option, two peers can communicate their support for Mobile IP during
  48.    the IPCP phase of PPP.  Familiarity with Mobile IP [RFC 2002], IPCP
  49.    [RFC 1332], and PPP [RFC 1661] is assumed.
  50.  
  51.  
  52.  
  53. Solomon & Glass         expires January 2, 1998                 [Page 1]
  54.  
  55. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  56.  
  57.  
  58.                                  Contents
  59.  
  60.    1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . .   2
  61.        1.1. Terminology  . . . . . . . . . . . . . . . . . . . . . .   3
  62.        1.2. Problem Statement  . . . . . . . . . . . . . . . . . . .   4
  63.        1.3. Requirements . . . . . . . . . . . . . . . . . . . . . .   6
  64.        1.4. Specification Language . . . . . . . . . . . . . . . . .   6
  65.    2. Mobile-IPv4 Configuration Option . . . . . . . . . . . . . . .   7
  66.        2.1. Option Format  . . . . . . . . . . . . . . . . . . . . .   7
  67.        2.2. Overview . . . . . . . . . . . . . . . . . . . . . . . .   8
  68.        2.3. High-Level Requirements for Non-Mobile-Nodes . . . . . .   8
  69.        2.4. High-Level Requirements for Mobile Nodes . . . . . . . .   9
  70.        2.5. Detailed Description . . . . . . . . . . . . . . . . . .  10
  71.        2.6. Example Scenarios  . . . . . . . . . . . . . . . . . . .  14
  72.    3. Additional Requirements  . . . . . . . . . . . . . . . . . . .  15
  73.        3.1. Other IPCP Options . . . . . . . . . . . . . . . . . . .  15
  74.        3.2. Move Detection . . . . . . . . . . . . . . . . . . . . .  16
  75.    4. Security Considerations  . . . . . . . . . . . . . . . . . . .  17
  76.    5. References . . . . . . . . . . . . . . . . . . . . . . . . . .  17
  77.    6. Acknowledgments  . . . . . . . . . . . . . . . . . . . . . . .  17
  78.    7. Authors' Addresses . . . . . . . . . . . . . . . . . . . . . .  18
  79.  
  80. 1. Introduction
  81.  
  82.    Mobile IP [RFC 2002] defines protocols and procedures by which
  83.    packets can be routed to a mobile node, regardless of its current
  84.    point-of-attachment to the Internet, and without changing its IP
  85.    address.  Mobile IP is designed to run over any type of media and any
  86.    type of data link-layer.  However, the interaction between Mobile IP
  87.    and PPP is currently underspecified and generally results in an
  88.    inappropriate application of Mobile IP when mobile nodes connect to
  89.    the Internet via PPP.
  90.  
  91.    This document defines proper interaction between a mobile node [RFC
  92.    2002] and a peer through which the mobile node connects to the
  93.    Internet using PPP.  This requires the definition of a new option for
  94.    IPCP [RFC 1332], named the "Mobile-IPv4" Configuration Option, which
  95.    is defined in this document.  The mobile node and the peer use this
  96.    option to negotiate the appropriate use of Mobile IP over the PPP
  97.    link.
  98.  
  99.    The Mobile-IPv4 option defined in this document is intended to work
  100.    in conjunction with the existing IP-Address option [RFC 1332].  This
  101.    is in contrast to previous versions of this document which defined a
  102.    replacement for the IP-Address option.
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109. Solomon & Glass         expires January 2, 1998                 [Page 2]
  110.  
  111. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  112.  
  113.  
  114. 1.1. Terminology
  115.  
  116.    This document uses the following terms as defined in [RFC 2002]:
  117.  
  118.    Mobile Node
  119.  
  120.       A host or router that changes its point-of-attachment from one
  121.       link to another.  A mobile node may change its location without
  122.       changing its IP address; it may continue to communicate with other
  123.       Internet nodes at any location using its (permanent) home, IP
  124.       address, assuming link-layer connectivity is available at its
  125.       current location.
  126.  
  127.    Home Agent
  128.  
  129.       A router with at least one interface on a mobile node's home link.
  130.       A home agent intercepts packets destined to a mobile node's home
  131.       address and tunnels them to the mobile node's care-of address when
  132.       the mobile node is connected to a foreign link.  A mobile node
  133.       informs its home agent of its current care-of address through an
  134.       authenticated registration protocol defined by Mobile IP.
  135.  
  136.    Foreign Agent
  137.  
  138.       A router with at least one interface on a mobile node's (current)
  139.       foreign link.  When a mobile node uses a foreign agent's care-of
  140.       address, the foreign agent detunnels and delivers packets to the
  141.       mobile node that were tunneled by the mobile node's home agent.  A
  142.       foreign agent might also serve as a default router for packets
  143.       sent by a registered mobile node.
  144.  
  145.    Peer
  146.  
  147.       The PPP peer of a mobile node.  The mobile node's peer might
  148.       support home agent functionality, foreign agent functionality,
  149.       both, or neither.
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165. Solomon & Glass         expires January 2, 1998                 [Page 3]
  166.  
  167. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  168.  
  169.  
  170. 1.2. Problem Statement
  171.  
  172.    In Mobile IP, packets sent to a mobile node's home address are routed
  173.    first to the mobile node's home agent, a router on the mobile node's
  174.    home link which intercepts packets sent to the home address.  The
  175.    home agent then tunnels such packets to the mobile node's care-of
  176.    address, where the packets are extracted from the tunnel and
  177.    delivered to the mobile node.  There are two types of care-of
  178.    addresses:
  179.  
  180.    Co-located Care-of Address
  181.  
  182.       An address temporarily assigned to a mobile node itself.  In this
  183.       case, the mobile node is the exit-point of the tunnel and
  184.       decapsulates packets encapsulated for delivery by its home agent.
  185.       A Co-located Care-of Address may be used by exactly one mobile
  186.       node at any point in time.
  187.  
  188.    Foreign Agent Care-of Address
  189.  
  190.       An address of a foreign agent that has at least one interface on a
  191.       mobile node's visited, foreign link.  In this case, the foreign
  192.       agent decapsulates packets that have been tunneled by the home
  193.       agent and delivers them to the mobile node over the visited link.
  194.       A Foreign Agent Care-of Address may be used simultaneously by many
  195.       mobile nodes at any point in time.
  196.  
  197.    In Appendix B, Mobile IP [RFC 2002] currently specifies only the
  198.    following with respect to PPP:
  199.  
  200.       "The Point-to-Point-Protocol (PPP) [RFC 1661] and its Internet
  201.       Protocol Control Protocol (IPCP) [RFC 1332], negotiates [sic] the
  202.       use of IP addresses.
  203.  
  204.       "The mobile node SHOULD first attempt to specify its home address,
  205.       so that if the mobile node is attaching to its home [link], the
  206.       unrouted link will function correctly.  When the home address is
  207.       not accepted by the peer, but a transient IP address is
  208.       dynamically assigned to the mobile node, and the mobile node is
  209.       capable of supporting a co-located care-of address, the mobile
  210.       node MAY register that address as a co-located care-of address.
  211.       When the peer specifies its own IP address, that address MUST NOT
  212.       be assumed to be a foreign agent care-of address or the IP address
  213.       of a home agent."
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221. Solomon & Glass         expires January 2, 1998                 [Page 4]
  222.  
  223. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  224.  
  225.  
  226.    Inspection of this text reveals that there is currently no way for
  227.    the mobile node to use a foreign agent care-of address, without first
  228.    being assigned a unique IP address, even if the peer also supports
  229.    foreign agent functionality.  The reason for this can be seen by
  230.    walking through the IPCP negotiation:
  231.  
  232.     1. A mobile node connects to a peer via PPP and proposes its home
  233.        address in an IPCP Configure-Request containing the IP-Address
  234.        option.  In this scenario, we assume that the mobile node is
  235.        connecting to some foreign link.
  236.  
  237.     2. The peer has no way of knowing whether this Configure-Request was
  238.        received from: (a) a mobile node proposing its home address; or
  239.        (b) a conventional node proposing some topologically non-routable
  240.        address.  In this case, the peer must (conservatively) send a
  241.        Configure-Nak of the IP-Address option supplying a topologically
  242.        appropriate address for use by the node at the other end of the
  243.        PPP link.
  244.  
  245.     3. The mobile node, in turn, has no way of knowing whether this
  246.        Configure-Nak was received because the peer is a foreign agent
  247.        being conservative, or because the peer does not implement Mobile
  248.        IP at all.  Therefore, the mobile node must (conservatively)
  249.        assume that the peer does not implement Mobile IP and continue
  250.        the negotiation of an IP address in IPCP, after which point the
  251.        mobile node can use the assigned address as a co-located care-of
  252.        address.
  253.  
  254.    Here we observe that, even if the mobile node's peer is a foreign
  255.    agent and sends an Agent Advertisement to the mobile node after IPCP
  256.    reaches the Opened state, the mobile node will still have negotiated
  257.    a routable address in step 3, which it is likely already using as a
  258.    co-located care-of address.  This defeats the purpose of foreign
  259.    agent care-of addresses, which are designed to be shared by multiple
  260.    mobile nodes and to eliminate the need to assign a unique address to
  261.    each mobile node.
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277. Solomon & Glass         expires January 2, 1998                 [Page 5]
  278.  
  279. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  280.  
  281.  
  282. 1.3. Requirements
  283.  
  284.    The purpose of this document is to specify the behavior of both ends
  285.    of the PPP link when one or more of the PPP peers supports Mobile IP.
  286.    Specifically, the design of the option and protocol defined in this
  287.    document is based upon the following requirements:
  288.  
  289.     1. The option and protocol described in this document must be
  290.        backwards compatible with conventional nodes and their potential
  291.        peers which do not implement this option nor any Mobile IP
  292.        functionality.
  293.  
  294.     2. The option and protocol described in this document must
  295.        accommodate a variety of scenarios, minimally those provided in
  296.        the examples of Section 2.6.
  297.  
  298.     3. The option and protocol described in this document must not
  299.        duplicate any functionality already defined in other IPCP
  300.        options; specifically, the IP-Address option.
  301.  
  302.     4. A unique address must not be assigned to a mobile node unless
  303.        absolutely necessary.  Specifically, no such address is assigned
  304.        to a mobile node that connects via PPP to its home link or a
  305.        mobile node that connects via PPP to a foreign agent (and uses
  306.        that foreign agent's care-of address).
  307.  
  308. 1.4. Specification Language
  309.  
  310.    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
  311.    "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
  312.    document are to be interpreted as described in RFC 2119.
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333. Solomon & Glass         expires January 2, 1998                 [Page 6]
  334.  
  335. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  336.  
  337.  
  338. 2. Mobile-IPv4 Configuration Option
  339.  
  340.    This section defines the Mobile-IPv4 Configuration Option and
  341.    provides several examples of its use.
  342.  
  343. 2.1. Option Format
  344.  
  345.    The Mobile-IPv4 Configuration Option for IPCP is defined as follows:
  346.  
  347.     0                   1                   2                   3
  348.     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
  349.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  350.    |     Type      |    Length     |         Mobile Node's ...
  351.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  352.          ...  Home Address         |
  353.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  354.  
  355.  
  356.    Type
  357.  
  358.       4 (Mobile-IPv4)
  359.  
  360.    Length
  361.  
  362.       6 (The length of this entire extension in bytes)
  363.  
  364.    Mobile Node's Home Address
  365.  
  366.       In a Configure-Request, the IP home address of the mobile node
  367.       sending this Configuration Option; otherwise, the (unmodified) IP
  368.       home address of the peer when sent in a Configure-Ack or
  369.       Configure-Reject.  Configure-Nak'ing this option is undefined and
  370.       MUST NOT be sent by implementations complying with this version of
  371.       the specification.  This field MUST NOT be zero.
  372.  
  373.    Default Value
  374.  
  375.       The Mobile-IPv4 Configuration Option defaults to the sending
  376.       mobile node's home address.
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389. Solomon & Glass         expires January 2, 1998                 [Page 7]
  390.  
  391. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  392.  
  393.  
  394.    In describing the operation of the Mobile-IPv4 Configuration Option
  395.    (in conjunction with the IP-Address Configuration Option), we use the
  396.    following abbreviations:
  397.  
  398.       PPP Message Types:
  399.           Request = Configure-Request
  400.            Reject = Configure-Reject
  401.               Ack = Configure-Ack
  402.               Nak = Configure-Nak
  403.  
  404.       IPCP Configuration Options:
  405.             MIPv4 = Mobile-IPv4
  406.                IP = IP-Address
  407.  
  408.       IP addresses:
  409.           a.b.c.d = some non-zero IP address
  410.           w.x.y.z = some non-zero IP address other than a.b.c.d
  411.              home = a mobile node's IP Home address
  412.               coa = an IP Care-Of Address
  413.                 0 = the all-zeroes IP address (0.0.0.0)
  414.  
  415. 2.2. Overview
  416.  
  417.    The Mobile-IPv4 Configuration Option is designed to be used in
  418.    conjunction with the IP-Address Configuration Option.  For the
  419.    convenience of implementors, the detailed description in section 2.5
  420.    includes all possible combinations of these two options that might be
  421.    sent by a PPP peer during IPCP.  Along with each possibility is a
  422.    description of how the receiver should interpret the contents as well
  423.    as a suggested course of action.
  424.  
  425. 2.3. High-Level Requirements for Non-Mobile-Nodes
  426.  
  427.    A node that is not performing mobile node functionality (such as
  428.    non-Mobile-IP-aware nodes as well as nodes performing only home agent
  429.    functionality, foreign agent functionality, or both) MUST NOT include
  430.    a Mobile-IPv4 Configuration Option within any Configure-Request
  431.    message.  As per [RFC 1332], such a node SHOULD send a Configure-
  432.    Request containing an IP-Address Configuration Option in which the
  433.    IP-Address field is set to a non-zero IP address that the node has
  434.    assigned to one of its interfaces.  If an explicit IP address has
  435.    been assigned to the node's PPP interface then this address SHOULD be
  436.    sent in preference to any of the node's other addresses.
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445. Solomon & Glass         expires January 2, 1998                 [Page 8]
  446.  
  447. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  448.  
  449.  
  450.    A node MUST NOT send a Configure-Nak containing a Mobile-IPv4
  451.    Configuration Option.  Doing so is currently "undefined" and might
  452.    cause interoperability problems when a useful meaning for Configure-
  453.    Nak is ultimately defined for the Mobile-IPv4 Configuration Option.
  454.    A node that sends a Configure-Ack containing a Mobile-IPv4
  455.    Configuration Option SHOULD send an Agent Advertisement [RFC 2002]
  456.    immediately upon IPCP for that link entering the Opened state.
  457.  
  458. 2.4. High-Level Requirements for Mobile Nodes
  459.  
  460.    A mobile node SHOULD begin its IPCP negotiation by sending the
  461.    Configure-Request described in either item #1 or item #4 in Section
  462.    2.5.  The mobile node MAY begin its negotiation with one of the other
  463.    numbered items in Section 2.5 under extenuating circumstances.
  464.  
  465.    A mobile node that receives a Configure-Ack containing a Mobile-IPv4
  466.    Configuration Option MUST receive an Agent Advertisement, possibly in
  467.    response to an Agent Solicitation, before sending a Registration
  468.    Request [RFC 2002] if that mobile node is connecting to a foreign
  469.    link.  This is because the peer might be a foreign agent that
  470.    enforces a policy which requires a mobile node to register with that
  471.    foreign agent even if the mobile node is using a co-located care-of
  472.    address.  A mobile node need not wait for such an advertisement if it
  473.    connects to its home link.  See item 7a in section 2.5 for one way in
  474.    which a mobile node can determine if it has connected to its home
  475.    link.  Another way is by receiving an explicit notification of this
  476.    fact from its peer, such as receipt of the messages in items 1b, 2c,
  477.    and 3a in section 2.5.
  478.  
  479.    A mobile node that receives a Configure-Reject containing a Mobile-
  480.    IPv4 Configuration Option SHOULD fall back to IPCP negotiation using
  481.    the IP-Address option [RFC 1332].  A mobile node SHOULD begin this
  482.    negotiation with Request(IP=home) or Request(IP=0), depending on
  483.    whether or not the mobile node is connecting to its home link,
  484.    respectively.  A mobile node MAY make this determination by
  485.    inspection of an IP-Address option contained within a Configure-
  486.    Request sent by its peer.  If the prefix of the peer's stated IP-
  487.    address is equal to the prefix of the mobile node's home address,
  488.    then the mobile node MAY conclude that it is connecting to its home
  489.    link.  Otherwise, if the mobile node is connecting to a foreign link,
  490.    then the mobile node SHOULD send Request(IP=0) since its peer might
  491.    have no means for assigning addresses other than IPCP.  This
  492.    specification therefore differs slightly from [RFC 2002], the latter
  493.    of which recommends that a mobile node begin IP-Address negotiation
  494.    with Request(IP=Home) under all circumstances.
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501. Solomon & Glass         expires January 2, 1998                 [Page 9]
  502.  
  503. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  504.  
  505.  
  506.    A peer that is performing neither home agent nor foreign agent
  507.    functionality SHOULD send a Reject in response to any Request
  508.    received from its peer that contains a Mobile-IPv4 Configuration
  509.    Option.
  510.  
  511. 2.5. Detailed Description
  512.  
  513.    The numbered items below show all possible combinations of Mobile-
  514.    IPv4 and IP-Address Configuration Options that a mobile node (or a
  515.    conventional node) might send to its peer.  Mobile nodes SHOULD begin
  516.    their IPCP negotiation with item #1 or item #4 depending on whether
  517.    they prefer a co-located or a foreign agent care-of address
  518.    respectively.  The lettered items list the possible legal responses
  519.    that a peer might send to the mobile node (or conventional node) in
  520.    response to the numbered Request.
  521.  
  522.    In each case, an interpretation is defined and a suggested course of
  523.    action is provided.  Finally, it is believed that the presentation
  524.    below has the advantages of conciseness and precision in comparison
  525.    to an equivalent presentation in "prose form."
  526.  
  527.     1. Request(IP=0,MIPv4=home) means "I prefer a co-located care-of
  528.        address to a foreign agent care-of address."  Peer MUST respond
  529.        with one of the following:
  530.  
  531.         a. Nak(IP=coa) means "use coa as your co-located care-of
  532.            address".  Goto 2.
  533.         b. Nak(IP=home) means "you're at home and don't need a care-of
  534.            address".  Goto 3.
  535.         c. Reject(IP=0) means "I cannot assign a co-located care-of
  536.            address but you're welcome to use me as a foreign agent".
  537.            Goto 4.
  538.         d. Reject(MIPv4=home) means "I do not implement the Mobile-IPv4
  539.            option".  If the peer also sent Request(IP=address) and the
  540.            prefix of the peer's address is equal to that of the mobile
  541.            node's home address, then goto 6 with a.b.c.d=home;
  542.            otherwise, goto 5.
  543.         e. Reject(IP=0,MIPv4=home) means "use the default".  Goto 7.
  544.  
  545.         => Ack(IP=0, ...), Nak(MIPv4=any, ...) MUST NOT be sent.
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557. Solomon & Glass         expires January 2, 1998                [Page 10]
  558.  
  559. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  560.  
  561.  
  562.     2. Request(IP=coa,MIPv4=home) means "I want to use coa as my co-
  563.        located care-of address."  Peer MUST respond with one of the
  564.        following:
  565.  
  566.         a. Ack(IP=coa,MIPv4=home) means "ok, use coa as your co-located
  567.            care-of address; be sure to wait for an advertisement."
  568.            Opened.
  569.         b. Nak(IP=alternate-coa) means "no, use alternate-coa as your
  570.            co-located care-of address".  Goto 2.
  571.         c. Nak(IP=home) means "you're at home and don't need a co-
  572.            located care-of address".  Goto 3.
  573.         d. Reject(IP=coa) means "coa is not a useful value for a co-
  574.            located care-of address on this link and I cannot assign a
  575.            useful one (or I will not negotiate the IP-Address option) --
  576.            you may use me as a foreign agent".  Goto 4.
  577.         e. Reject(MIPv4=home) means "I do not implement the Mobile-IPv4
  578.            option".  If the peer also sent Request(IP=address) and the
  579.            prefix of the peer's address is equal to that of the mobile
  580.            node's home address, then goto 6 with a.b.c.d=home;
  581.            otherwise, goto 5.
  582.         f. Reject(IP=coa,MIPv4=home) means "use the default".  Goto 7.
  583.  
  584.         => Nak(MIPv4=any, ...) MUST NOT be sent.
  585.  
  586.     3. Request(IP=home,MIPv4=home) means "I think I'm at home but if I'm
  587.        wrong then I prefer a co-located care-of address to a foreign
  588.        agent care-of address."  Peer MUST respond with one of the
  589.        following:
  590.  
  591.         a. Ack(IP=home,MIPv4=home) means "yes, you're at home".  Opened.
  592.         b. Nak(IP=coa) means "you're not at home, use coa as your co-
  593.            located care-of address".  Goto 2.
  594.         c. Reject(IP=home) means "you're not at home and I cannot assign
  595.            a co-located care-of address (or I will not negotiate the
  596.            IP-Address option) -- you may use me as a foreign agent".
  597.            Goto 4.
  598.         d. Reject(MIPv4=home) means "I do not implement the Mobile-IPv4
  599.            option".  If the peer also sent Request(IP=address) and the
  600.            prefix of the peer's address is equal to that of the mobile
  601.            node's home address, then goto 6 with a.b.c.d=home;
  602.            otherwise, goto 5.
  603.         e. Reject(IP=home,MIPv4=home) means "use the default".  Goto 7.
  604.  
  605.         => Nak(MIPv4=any, ...) MUST NOT be sent.
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613. Solomon & Glass         expires January 2, 1998                [Page 11]
  614.  
  615. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  616.  
  617.  
  618.     4. Request(MIPv4=home) means "I want to run Mobile IP over this link
  619.        and I don't want a co-located care-of address." Peer MUST respond
  620.        with one of the following:
  621.  
  622.         a. Ack(MIPv4=home) means "ok, wait for an advertisement to
  623.            figure out where you are."  Opened.
  624.         b. Reject(MIPv4=home) means "I do not implement the Mobile-IPv4
  625.            option".  If the peer also sent Request(IP=address) and the
  626.            prefix of the peer's address is equal to that of the mobile
  627.            node's home address, then goto 6 with a.b.c.d=home;
  628.            otherwise, goto 5.
  629.  
  630.         => Nak(MIPv4=any, ...) MUST NOT be sent.
  631.  
  632.     5. Request(IP=0) means "Please assign an address/co-located-care-
  633.        of-address".  Peer MUST respond with one of the following:
  634.  
  635.         a. Nak(IP=a.b.c.d) means "use a.b.c.d as your address/co-
  636.            located-care-of-address".  Goto 6.
  637.         b. Reject(IP=0) means "I cannot assign the requested
  638.            address/co-located-care-of-address; or, I do not implement
  639.            the IP-Address option".  Goto 7.
  640.  
  641.         => Ack(IP=0) MUST NOT be sent and historically means "I don't
  642.            know your address either".  Opened.  An implementation MUST
  643.            NOT use 0 as its IP address upon receiving Ack(IP=0) but MAY
  644.            use some other, non-zero, interface address for packets sent
  645.            on its PPP interface.
  646.  
  647.     6. Request(IP=a.b.c.d) means "I want to use a.b.c.d as my
  648.        address/home-address/co-located-care-of-address".  Peer MUST
  649.        respond with one of the following:
  650.  
  651.         a. Ack(IP=a.b.c.d) means "ok, a.b.c.d is your address/home-
  652.            address/co-located-care-of-address".  Opened.
  653.         b. Nak(IP=w.x.y.z) means "no, use w.x.y.z as your address/home-
  654.            address/co-located-care-of-address".  Goto 6.
  655.         c. Reject(IP=a.b.c.d) means "a.b.c.d is a bad address to use,
  656.            but I cannot give you a good one" or "I do not implement the
  657.            IP-Address option".  Goto 7.
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669. Solomon & Glass         expires January 2, 1998                [Page 12]
  670.  
  671. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  672.  
  673.  
  674.     7. Request() means "I want to use the default".  Peer MUST respond
  675.        with one of the following:
  676.  
  677.         a. Ack() means "ok, use the default".  Opened.
  678.  
  679.            In this case the mobile node will use the "default" values of
  680.            the IP-Address option (no address configured by IPCP) and the
  681.            Mobile-IPv4 option (the mobile node's IP home address).  The
  682.            mobile node SHOULD send Agent Solicitations to see if there
  683.            are any agents present on the current link. (Note that the
  684.            current "link" might also include a shared medium if the
  685.            mobile node's PPP peer is a bridge.)  If an agent is present
  686.            and the mobile node receives an Agent Advertisement, then the
  687.            mobile node employs its move-detection algorithm(s) and
  688.            registers accordingly.
  689.  
  690.            In any case, if the mobile node's peer supplied an IP-Address
  691.            option containing a non-zero value within an IPCP Configure-
  692.            Request, the mobile node MAY use this address to determine
  693.            whether or not it is connected to its home link.  This can be
  694.            accomplished by comparing the stated IP address with the
  695.            mobile node's home address under the prefix-length associated
  696.            with the home link.  If the mobile node is connected to its
  697.            home link then it SHOULD de-register with its home agent.
  698.            Otherwise, the mobile node MAY attempt to obtain a
  699.            topologically routable address through any of its supported
  700.            means (e.g., DHCP, manual configuration, etc.)  for use as a
  701.            co-located care-of address.  If the mobile node is successful
  702.            in obtaining such an address then it SHOULD register this
  703.            address with its home agent.
  704.  
  705.         => Nak(IP=0) MUST NOT be sent.  Goto 6.
  706.  
  707.         => Nak() MUST NOT be sent.
  708.  
  709.         => Reject() MUST NOT be sent.
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725. Solomon & Glass         expires January 2, 1998                [Page 13]
  726.  
  727. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  728.  
  729.  
  730. 2.6. Example Scenarios
  731.  
  732.    This section illustrates the use of the option and protocol as
  733.    defined in the previous sections.  In the examples which follow, a
  734.    Configure-Request sent by a mobile node and the response generated by
  735.    the peer are shown on the same line.  The number and letter to the
  736.    left of each request/response refer to the numbered and lettered
  737.    items in Section 2.5.
  738.  
  739.     A. A mobile node prefers a co-located care-of address and the peer
  740.        is a foreign agent that is capable of assigning such an address:
  741.  
  742.        (1)(a) Request(IP=0,MIPv4=Home) / Nak(IP=coa)
  743.        (2)(a) Request(IP=coa,MIPv4=Home) / Ack(IP=coa,MIPv4=Home)
  744.  
  745.          - Mobile node waits to receive an Agent Advertisement.
  746.          - If (Advertisement has R-bit set) then
  747.              Mobile node registers using co-located care-of address via
  748.              the foreign agent;
  749.            else
  750.              Mobile node registers using co-located care-of address
  751.              directly with its home agent.
  752.  
  753.     B. A mobile node prefers a co-located care-of address and the peer
  754.        is a foreign agent that cannot assign a co-located care-of
  755.        address (e.g., it has no pool of addresses from which to allocate
  756.        for the purpose of assignment):
  757.  
  758.        (1)(c) Request(IP=0,MIPv4=Home) / Reject(IP=0)
  759.        (4)(a) Request(MIPv4=Home) / Ack(MIPv4=Home)
  760.  
  761.          - IPCP completes.
  762.          - Mobile node waits to receive an Agent Advertisement.
  763.          - Mobile node registers using the peer's foreign agent care-of
  764.            address with its home agent.
  765.  
  766.     C. A mobile node prefers a co-located care-of address and the peer
  767.        determines that the mobile node's home address is such that the
  768.        mobile node is connecting to its home link:
  769.  
  770.        (1)(b) Request(IP=0,MIPv4=Home) / Nak(IP=Home)
  771.        (3)(a) Request(IP=Home,MIPv4=Home) / Ack(IP=Home,MIPv4=Home)
  772.  
  773.          - IPCP completes.
  774.          - Mobile node de-registers with its home agent.
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781. Solomon & Glass         expires January 2, 1998                [Page 14]
  782.  
  783. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  784.  
  785.  
  786.     D. A mobile node prefers a foreign agent care-of address and the
  787.        peer is a foreign agent which finds this state of affairs
  788.        satisfactory:
  789.  
  790.        (4)(a) Request(MIPv4=Home) / Ack(MIPv4=Home)
  791.  
  792.          - IPCP completes.
  793.          - Mobile node waits to receive an Agent Advertisement.
  794.          - Mobile node registers using the peer's foreign agent care-of
  795.            or de-registers at home, depending on the values in the Agent
  796.            Advertisement.
  797.  
  798.     E. A mobile node prefers a co-located care-of address and the peer
  799.        does not implement the Mobile-IPv4 Configuration Option.  The
  800.        peer is, however, capable of assigning dynamic addresses:
  801.  
  802.        (1)(d) Request(IP=0,MIPv4=Home) / Reject(MIPv4=Home)
  803.        (5)(a) Request(IP=0) / Nak(IP=a.b.c.d)
  804.        (6)(a) Request(IP=a.b.c.d) / Ack(IP=a.b.c.d)
  805.  
  806.          - IPCP completes.
  807.          - Mobile node registers using a.b.c.d as a co-located care-of
  808.            address with its home agent.
  809.  
  810.     F. A mobile node prefers a co-located care-of address and the peer
  811.        does not implement the Mobile-IPv4 Configuration Option. The peer
  812.        is not capable of assigning dynamic addresses:
  813.  
  814.        (1)(e) Request(IP=0,MIPv4=Home) / Reject(IP=0,MIPv4=Home)
  815.        (7)(a) Request() / Ack()
  816.  
  817.          - IPCP completes.
  818.          - Mobile node sends an Agent Solicitation and/or attempts to
  819.            obtain a co-located care-of address via means outside IPCP
  820.            (e.g., DHCP or manual configuration), or it gives up.
  821.  
  822. 3. Additional Requirements
  823.  
  824. 3.1. Other IPCP Options
  825.  
  826.    A mobile node MUST NOT include the deprecated IP-Addresses option in
  827.    any Configure-Request that contains a Mobile-IPv4 option, an IP-
  828.    Address option, or both.  Conversely, the mobile node MAY include an
  829.    IP-Compression-Protocol option and any other options that do not
  830.    involve the negotiation of IP addresses.  If a mobile node and a
  831.    foreign agent or home agent agree in IPCP to use Van Jacobson Header
  832.    Compression [RFC 1144], then the mobile node MUST NOT set the 'V' bit
  833.    in its ensuing, Mobile IP Registration Request [RFC 2002].
  834.  
  835.  
  836.  
  837. Solomon & Glass         expires January 2, 1998                [Page 15]
  838.  
  839. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  840.  
  841.  
  842. 3.2. Move Detection
  843.  
  844.    Mobile nodes that connect via PPP MUST correctly implement PPP's
  845.    IPCP, since movement by the mobile node will likely change its PPP
  846.    peer.  Specifically, mobile nodes MUST be prepared to renegotiate
  847.    IPCP at any time, including, the renegotiation of the IP-Address
  848.    Configuration Option and the Mobile-IPv4 Configuration Option
  849.    described in this document.  As per [RFC 1661], a mobile node in the
  850.    Opened state MUST renegotiate IPCP upon receiving an IPCP Configure-
  851.    Request from its peer.
  852.  
  853.    Also note that certain wireless links can employ handoff and proxying
  854.    mechanisms that would not necessarily require bringing down a PPP
  855.    link but would indeed require a mobile node to register with a new
  856.    foreign agent.  Therefore, mobile nodes which connect to an agent via
  857.    PPP MUST employ their move detection algorithms (see section 2.4.2 in
  858.    [RFC 2002]) and register whenever they detect a change in
  859.    connectivity.
  860.  
  861.    Specifically, a mobile node that fails to receive an Agent
  862.    Advertisement within the Lifetime advertised by its current foreign
  863.    agent, MUST assume that it has lost contact with that foreign agent
  864.    (see Section 2.4.2.1, [RFC 2002]).  If, in the mean time, the mobile
  865.    node has received Agent Advertisements from another foreign agent,
  866.    the mobile node SHOULD immediately register with that foreign agent
  867.    upon timing out with its current foreign agent.
  868.  
  869.    Likewise, a mobile node that implements move detection based upon the
  870.    Prefix-Length Extension MUST compare the prefix of any advertising
  871.    agents with that of its current foreign agent (see Section 2.4.2.2,
  872.    [RFC 2002]).  If such a mobile node receives an Agent Advertisement
  873.    from a foreign agent specifying a different prefix than that of its
  874.    current foreign agent, then the mobile node that employs this method
  875.    of move detection MUST register with that new foreign agent.
  876.  
  877.    A mobile node MAY treat PPP link-establishment as a sufficient reason
  878.    to proceed with a new Mobile IP registration.  Section 2 defines the
  879.    circumstances under which mobile nodes MUST wait for an Agent
  880.    Advertisement before registering.  Accordingly, foreign agents and
  881.    home agents SHOULD send an Agent Advertisement over a PPP link
  882.    immediately after IPCP for that link enters the Opened state.
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893. Solomon & Glass         expires January 2, 1998                [Page 16]
  894.  
  895. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  896.  
  897.  
  898. 4. Security Considerations
  899.  
  900.    This document introduces no known security threats over and above
  901.    those facing any node on the Internet that either connects via PPP or
  902.    implements Mobile IP or both.  Specifically, service providers should
  903.    use cryptographically strong authentication (e.g., CHAP [RFC 1994])
  904.    to prevent theft-of-service.  Additionally, users requiring
  905.    confidentiality should use PPP link encryption [RFC 1968], IP-layer
  906.    encryption [RFC 1827], or application-layer encryption, depending
  907.    upon their individual requirements.  Finally, Mobile IP
  908.    authentication [RFC 2002] protects against trivial denial-of-service
  909.    attacks that could otherwise be waged against a mobile node and its
  910.    home agent.
  911.  
  912. 5. References
  913.  
  914.    [RFC 1144] Jacobson, V., "Compressing TCP/IP Headers for Low-Speed
  915.       Serial Links", RFC 1144, January 1990.
  916.  
  917.    [RFC 1332] McGregor, G., "The PPP Internet Protocol Control Protocol
  918.       (IPCP)," RFC 1332, May 1992.
  919.  
  920.    [RFC 1661] Simpson, W., Editor, "The Point-to-Point Protocol (PPP)
  921.       for the Transmission of Multi-protocol Datagrams over Point-to-
  922.       Point Links," RFC 1661, July 1994.
  923.  
  924.    [RFC 1827] Atkinson, R., "IP Encapsulating Security Payload (ESP)",
  925.       RFC 1827, August 1995.
  926.  
  927.    [RFC 1994] Simpson, W., "PPP Challenge Handshake Authentication
  928.       Protocol (CHAP)", RFC 1994, August 1996.
  929.  
  930.    [RFC 1968] Meyer, G., "The PPP Encryption Control Protocol (ECP)",
  931.       RFC 1968, June 1996.
  932.  
  933.    [RFC 2002] Perkins, C., Editor, "IP Mobility Support", RFC 2002,
  934.       October 1996.
  935.  
  936. 6. Acknowledgments
  937.  
  938.    The design of this protocol and option were inspired by an earlier
  939.    submission by B. Patel and C. Perkins, then of IBM, in draft-patel-
  940.    mobileip-pppext-00.txt, which has since expired.  Also, some of
  941.    William Simpson's text was copied verbatim from [RFC 1661] in order
  942.    to ensure consistency of terminology and specification.  The same
  943.    goes for some of Charlie Perkins' text, including definitions, from
  944.    [RFC 2002].
  945.  
  946.  
  947.  
  948.  
  949. Solomon & Glass         expires January 2, 1998                [Page 17]
  950.  
  951. Internet Draft          Mobile IP Option for PPP            July 2, 1997
  952.  
  953.  
  954.    Tim Wilson and Chris Stanaway (Motorola) contributed significantly to
  955.    the design of this Configuration Option and protocol specification.
  956.    Special thanks to Vernon Schryver (SGI), Craig Fox (Cisco), Karl Fox
  957.    (Ascend), and John Bray (FTP) for their helpful suggestions,
  958.    comments, and patience.
  959.  
  960. 7. Authors' Addresses
  961.  
  962.    Questions about this memo can be directed to:
  963.  
  964.    Jim Solomon
  965.    Motorola, Inc.
  966.    1301 E. Algonquin Rd. - Rm 2240
  967.    Schaumburg, IL  60196
  968.  
  969.    Voice:  +1-847-576-2753
  970.    Fax:    +1-847-576-3240
  971.    E-Mail: solomon@comm.mot.com
  972.  
  973.  
  974.    Steven Glass
  975.    FTP Software, Inc.
  976.    2 High Street
  977.    North Andover, MA  01845
  978.  
  979.    Voice:  +1-508-685-4000
  980.    Fax:    +1-508-684-6105
  981.    E-mail: glass@ftp.com
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005. Solomon & Glass         expires January 2, 1998                [Page 18]
  1006.