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-ion-scsp-nhrp-00.txt < prev    next >
Text File  |  1997-04-16  |  12KB  |  336 lines

  1.  
  2. Internetworking Over NBMA                               James V. Luciani
  3. INTERNET-DRAFT                                            (Bay Networks)
  4. <draft-ietf-ion-scsp-nhrp-00.txt>                 Expires September 1997
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                  A Distributed NHRP Service Using SCSP
  11.  
  12.  
  13. Status of this Memo
  14.  
  15.    This document is an Internet-Draft.  Internet-Drafts are working
  16.    documents of the Internet Engineering Task Force (IETF), its areas,
  17.    and its working groups.  Note that other groups may also distribute
  18.    working documents as Internet-Drafts.
  19.  
  20.    Internet-Drafts are draft documents valid for a maximum of six months
  21.    and may be updated, replaced, or obsoleted by other documents at any
  22.    time.  It is inappropriate to use Internet-Drafts as reference
  23.    material or to cite them other than as ``work in progress.''
  24.  
  25.    To learn the current status of any Internet-Draft, please check the
  26.    ``1id-abstracts.txt'' listing contained in the Internet-Drafts Shadow
  27.    Directories on ds.internic.net (US East Coast), nic.nordu.net
  28.    (Europe), ftp.isi.edu (US West Coast), or munnari.oz.au (Pacific
  29.    Rim).
  30.  
  31. Abstract
  32.  
  33.    This document describes a method for distributing an NHRP service
  34.    within a LIS[1].  This method uses the Server Cache Synchronization
  35.    Protocol (SCSP)[2] to synchronize the client information databases
  36.    held by NHRP Servers (NHSs) within a LIS.
  37.  
  38.  
  39. 1. Introduction
  40.  
  41.    NHRP Clients (NHCs) register their existence and reachability
  42.    information with NHRP Servers (NHSs).  There may be multiple NHSs in
  43.    a given Logical IP Subnet (LIS).  NHCs do not necessarily register
  44.    with all NHSs in a LIS; however, all NHCs need to be able to query at
  45.    least one NHS about any NHC within the LIS.  Thus, the contents of
  46.    the NHS databases in a LIS need to be synchronized across the LIS.
  47.    The Server Cache Synchronization Protocol (SCSP) solves the
  48.    generalized server synchronization/cache-replication problem for
  49.    distributed databases and thus SCSP may be applied to the NHS
  50.  
  51.  
  52.  
  53. Luciani, et al.                                                 [Page 1]
  54.  
  55. INTERNET-DRAFT                    SCSP            Expires September 1997
  56.  
  57.  
  58.    database synchronization problem within the LIS.
  59.  
  60.    SCSP is defined in two parts: the protocol independent part and the
  61.    client/server protocol specific part.  The protocol independent part
  62.    is defined in [2] whereas this document will specify the
  63.    client/server protocol specific part where NHRP is the client/server
  64.    protocol.
  65.  
  66.    This document is separate from [2] because it was felt that it was
  67.    desirable to allow the client/server protocol specific part
  68.    specification for NHRP to progress independently from the protocol
  69.    independent specification.
  70.  
  71.  
  72. 2. Overview
  73.  
  74.    All NHSs belonging to a Logical IP Subnet (LIS)[1] are said to belong
  75.    to a Server Group (SG).  An SG is identified by, not surprisingly,
  76.    its SGID which is contained in a field in all SCSP packets.  All SCSP
  77.    packets contain a Protocol ID (PID) field as well.  This PID field is
  78.    set to 0x0002 to signify that SCSP synchronizing NHS databases as
  79.    opposed to synchronizing some other protocol's databases (see Section
  80.    B.2.0.1 of [2] for more details).  In general, PIDs for SCSP will be
  81.    assigned by IANA upon request given that a client/server protocol
  82.    specific specification has been written.  In the case of NHRP, the
  83.    client/server protocol specific specification was initially written
  84.    at the same time as SCSP, and thus a PID=0x0002 was assigned by the
  85.    author.
  86.  
  87.    SCSP places no topological requirements upon an NHRP SG.  Obviously,
  88.    however, the resultant graph of NHSs must span the set of NHSs to be
  89.    synchronized.  For more information about the client/server protocol
  90.    independent part of SCSP, the reader is encouraged to see [2].
  91.  
  92.    When a SG is using SCSP to synchronization, an NHC will register with
  93.    only one NHS, but the NHC MAY use any NHS in the SG.  When an NHC
  94.    wishes to leave a SG, the NHC MUST do one of the following: 1) the
  95.    NHC MUST send an NHRP Purge Request for itself requesting a reply and
  96.    it MUST wait for an NHRP Purge Reply, 2) the NHC MUST keep the
  97.    Request ID it used when registering itself in non-volatile RAM and
  98.    use a Request ID larger than the one saved when re-registering, or 3)
  99.    the NHC MUST not re-register for a time equal to the Holding Time
  100.    specified in the previous registration.  It is necessary to do one of
  101.    the previous in order to prevent the unlikely case of race conditions
  102.    from occurring during updated.  In the case where method 2 is used,
  103.    the NHS uses its ID as the OID and the Request ID as the CSA Sequence
  104.    Number.
  105.  
  106.  
  107.  
  108.  
  109. Luciani, et al.                                                 [Page 2]
  110.  
  111. INTERNET-DRAFT                    SCSP            Expires September 1997
  112.  
  113.  
  114. 3.  Format of the CSA Record NHRP Specific Part
  115.  
  116. CSA Records in SCSP contain a "Client/Server Protocol Specific Part"
  117. which contains the non-protocol independent information for a given
  118. server's cache entry.
  119.  
  120.       0                   1                   2                   3
  121.       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
  122.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  123.      |     Address Family Number     |     NHRP Protocol Type        |
  124.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  125.      |                             Snap                              |
  126.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  127.      |     Snap      | NHRP Vers Num |            Flags              |
  128.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  129.      |                         Request ID                            |
  130.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  131.      |    State      | Prefix Length |            unused             |
  132.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  133.      |  Maximum Transmission Unit    |        Holding Time           |
  134.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  135.      |  Cli Addr T/L | Cli SAddr T/L | Cli Proto Len |  Preference   |
  136.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  137.      |          Client Subnetwork Address (variable length)          |
  138.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  139.      |         Client Subnetwork Subaddress (variable length)        |
  140.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  141.      |          Client Protocol Address (variable length)            |
  142.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  143.  
  144.    The following six fields contain values specified in the common
  145.    header of the mandatory part of an NHRP Registration Request or NHRP
  146.    Purge Request packet which caused the
  147.    creation/deletion/modification/update/etc. of an NHS's cache entry.
  148.  
  149.    Address Family Number
  150.      Defines the type of "link layer" addresses being carried.  This
  151.      number is taken from the 'address family number' list specified in
  152.      [3].  This field is the same field which would be supplied in an
  153.      NHRP packet in the ar$afn field.
  154.  
  155.    NHRP Protocol Type
  156.      This field is the same field which would be supplied in an NHRP
  157.      packet in the ar$pro.type field.
  158.  
  159.    Snap
  160.      This field is the same field which would be supplied in an NHRP
  161.      packet in the ar$pro.snap field.
  162.  
  163.  
  164.  
  165. Luciani, et al.                                                 [Page 3]
  166.  
  167. INTERNET-DRAFT                    SCSP            Expires September 1997
  168.  
  169.  
  170.    NHRP Vers Num
  171.      This field indicates what version of generic address mapping and
  172.      management protocol that is represented by this message.  This
  173.      field contains 0x01 for the NHRP protocol version 1.  This field is
  174.      the same field which would be supplied in an NHRP packet in the
  175.      ar$op.version field.
  176.  
  177.    Flags
  178.      Defined flags are as follows:
  179.  
  180.       0                   1
  181.       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  182.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  183.      |U|         unused              |
  184.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  185.  
  186.        U
  187.          This is the Uniqueness bit.
  188.  
  189.      This field is the same field which was supplied in the NHRP
  190.      Registration Request which created the cache entry being
  191.      synchronized.
  192.  
  193.    Request ID
  194.      This field contains the Request ID value placed in the cache entry
  195.      of the NHS as a result of an NHRP Registration Request.  This NHS
  196.      is the NHS causing a synchronization event.
  197.  
  198.    State
  199.      This field contains a value which represents the new state of the
  200.      client.
  201.  
  202.        0 - Client is registered and available.
  203.        1 - Client reregistered.
  204.        2 - Client has been purged.
  205.        3 - No such client data in server cache
  206.  
  207.      Note that a time-out of a cache entry does not cause a CSA Record
  208.      to be sent because, if everything is working properly then all NHSs
  209.      have the cache entry timing out at the same time.  Thus, the
  210.      individual NHSs would take the appropriate actions necessary.
  211.  
  212.    The following ten fields contain values specified in or derived from
  213.    the CIE of an NHRP Registration Request or NHRP Purge Request packet
  214.    which caused the creation/deletion/modification/update/etc. of an
  215.    NHS's cache entry.
  216.  
  217.    Prefix Length
  218.  
  219.  
  220.  
  221. Luciani, et al.                                                 [Page 4]
  222.  
  223. INTERNET-DRAFT                    SCSP            Expires September 1997
  224.  
  225.  
  226.      This field contains the internetwork layer address prefix length
  227.      value covered by the cache entry being synchronized.
  228.  
  229.    Maximum Transmission Unit
  230.      This field contains a value supplied by or derived from information
  231.      in the CIE of the NHRP Registration Request packet.
  232.  
  233.    Holding Time
  234.      The Holding Time field specifies the number of seconds remaining
  235.      for which the Next Hop NBMA information specified in the CIE of the
  236.      NHRP Registration Request is considered to be valid by the NHS
  237.      initiating the synchronization event.
  238.  
  239.    Cli Addr T/L
  240.      Type & length of next hop NBMA address (see [1]).
  241.  
  242.    Cli SAddr T/L
  243.      Type & length of next hop NBMA subaddress (see [1]).
  244.  
  245.    Cli Proto Len
  246.      This field holds the length in octets of the Client Protocol
  247.      Address.
  248.  
  249.    Preference
  250.      This field specifies the preference value for use of the next hop
  251.      NBMA information specified.
  252.  
  253.    Client NBMA Address
  254.      This is the client's NBMA address.
  255.  
  256.    Client NBMA SubAddress
  257.      This is the client's NBMA subaddress.
  258.  
  259.    Client Protocol Address
  260.      This is the client's internetworking layer address.
  261.  
  262.  
  263. 4.  Values for SCSP Protocol Independent Part
  264.  
  265.    The following sections give values for fields of the SCSP Protocol
  266.    Independent Part of the various SCSP messages.
  267.  
  268. 4.1 Values for the SCSP "Mandatory Common Part"
  269.  
  270.    Protocol ID = 0x0002
  271.    Sender ID Len = 0x04
  272.    Recvr ID Len = 0x04
  273.  
  274.  
  275.  
  276.  
  277. Luciani, et al.                                                 [Page 5]
  278.  
  279. INTERNET-DRAFT                    SCSP            Expires September 1997
  280.  
  281.  
  282.    See Section B.2.0.1 of [2] for a detailed description of these
  283.    fields.
  284.  
  285. 4.2 Values for the SCSP "CSAS Record"
  286.  
  287.    Cache Key Len = 0x04
  288.    Orig ID Len = 0x04
  289.  
  290.    See Section B.2.0.2 of [2] for a detailed description of these
  291.    fields.
  292.  
  293.  
  294. References
  295.  
  296. [1] "NBMA Next Hop Resolution Protocol (NHRP)", Luciani, Katz, Piscitello,
  297.     Cole, draft-ietf-rolc-nhrp-11.txt.
  298.  
  299. [2] "Server Cache Synchronization Protocol", Luciani, Armitage, Halpern,
  300.     draft-ietf-ion-scsp-01.txt.
  301.  
  302. [3] Assigned Numbers, J. Reynolds and J. Postel, RFC 1700.
  303.  
  304. Acknowledgments
  305.    I would like to thank (in no particular order) Maxine Burns of ISR.
  306.    I would also like to thank the members of the ION working group of
  307.    the IETF, whose review and discussion of this document has been
  308.    invaluable.
  309.  
  310. Author's Address
  311.  
  312.    James V. Luciani
  313.    Bay Networks, Inc.
  314.    3 Federal Street, BL3-04
  315.    Billerica, MA  01821
  316.    phone: +1-508-916-4734
  317.    email: luciani@baynetworks.com
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333. Luciani, et al.                                                 [Page 6]
  334.  
  335.  
  336.