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-01.txt < prev    next >
Text File  |  1997-06-02  |  12KB  |  334 lines

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