home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 900s / rfc941.txt < prev    next >
Text File  |  1992-09-22  |  69KB  |  1,974 lines

  1. Network Working Group                                                ISO
  2. Request for Comments: 941                                     April 1985
  3.  
  4.           Addendum to the Network Service Definition Covering
  5.                         Network Layer Addressing
  6.  
  7.  
  8.                             ISO/DP8348/DAD2
  9.                         (also TC 97/SC 6/N 3444)
  10.  
  11. Status of this RFC:
  12.  
  13.  This document is distributed as an RFC for information only.  It does
  14.  not specify a standard for the ARPA-Internet.  Distribution of this
  15.  document is unlimited.
  16.  
  17. Note:
  18.  
  19.  This document has been prepared by retyping the text of ISO/DP8348/DAD2
  20.  of October 1984 (also numbered SC 6/N 3444), which is currently
  21.  undergoing voting within ISO as a Draft Proposed Addendum to the
  22.  Network Service Definition.  Although this RFC has been reviewed after
  23.  typing, and is believed to be substantially correct, it is possible
  24.  that typographic errors not present in the ISO document have been
  25.  overlooked.
  26.  
  27. Alex McKenzie
  28. BBN Laboratories
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58. ISO/TC-97/SC-6                                                  [Page 1]
  59. RFC 941                                                       April 1985
  60. Network Layer Addressing
  61.  
  62.  
  63. ISO Statement on the Status of this Document.
  64.  
  65. At its meeting in Zurich, April 2-11, 1984, SC 6/WG 2 produced document
  66. SC 6 N 3134 and, in accordance with Resolution 49 of the SC 6 meeting in
  67. Tianjin (September 19-30, 1983), forwarded it to the SC 6 Secretariat
  68. for registration and ballot as a first Draft Proposed Addendum to the
  69. Network Service Definition (ISO DP 8348/DAD2).
  70.  
  71. The letter ballot on SC 6/N 3134 closed on August 20, 1984. The results
  72. of the ballot were 10-4-0-3 [approve-disapprove-abstain-no vote]; the
  73. summary of voting is contained in document SC 6/N 3229 (late votes are
  74. contained in documents SC 6/N 3333 and 3360). These ballot results were
  75. reviewed at the SC 6/WG 2 meeting in Washington, October 15-25, 1984,
  76. and document SC 6/N 3444 was produced as a progression of SC 6/N 3134,
  77. taking into account as many of the ballot comments as possible.  The
  78. Editor's report, contained in document SC 6/N 3445, describes the
  79. disposition of member body comments on the DP 8348/DAD2 letter ballot.
  80.  
  81. A resolution of the SC 6 meeting in Washington, October 22-26, 1984,
  82. instructs the SC 6 Secretariat to register document SC 6/N 3444 as a
  83. second Draft Proposed Addendum to ISO 8348, and to circulate it for a
  84. two-month letter ballot.
  85.  
  86. Introduction
  87.  
  88. This Addendum to the Network Service Definition Standard, ISO 8348,
  89. defines the abstract syntax and semantics of the Network Address
  90. (Network Service Access Point Address).  The Network Address defined in
  91. this Addendum is the address that appears in the primitives of the
  92. connection-mode Network Service as the calling address, called address,
  93. and responding address parameters, and in the primitives of the
  94. connectionless-mode  Network  Service  as  the source address and
  95. destination address parameters.
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116. ISO/TC-97/SC-6                                                  [Page 2]
  117. RFC 941                                                       April 1985
  118. Network Layer Addressing
  119.  
  120.  
  121.   SCOPE AND FIELD OF APPLICATION
  122.  
  123. The scope of this Addendum is the definition of the abstract syntax and
  124. semantics of the Network Address.  This Addendum does not specify the
  125. way in which the semantics of the NSAP address are encoded in Network
  126. Layer protocols.  The field of application of this Addendum is the same
  127. as the field of application described in Clause 1 of the Network Service
  128. Definition (ISO 8348).
  129.  
  130. 2  REFERENCES
  131.  
  132. ISO 7498        Information Processing Systems - Open Systems
  133.                 Interconnection - Basic Reference Model [Note:  See also
  134.                 CCITT Recommendation X.200]
  135.  
  136. DP 7498/DAD1    Information Processing Systems - Open Systems
  137.                 Interconnection - Addendum to the Basic Reference Model
  138.                 Covering Connectionless Data Transmission
  139.  
  140. DP 8509         Information Processing Systems - Open Systems
  141.                 Interconnection - Service Conventions
  142.  
  143. ISO 8348        Information Processing Systems - Data Communications -
  144.                 Network Service Definition [Note:  See also CCITT
  145.                 Recommendation X.213]
  146.  
  147. DIS 8348/DAD1   Information Processing Systems -  Data Communications -
  148.                 Addendum to the Network Service Definition Covering
  149.                 Connectionless Data Transmission
  150.  
  151. DP 8648         Information Processing Systems - Data Communications -
  152.                 Internal Organization of the Network Layer
  153.  
  154. ISO 6523        Data Interchange - Structure for the Identification of
  155.                 Organizations
  156.  
  157. ISO 646         7-bit Coded Character Set for Information Processing
  158.                 Interchange
  159.  
  160. ISO 2375        Procedure for the Registration of Escape Sequences
  161.  
  162. CCITT X.121     International Numbering Plan for Public Data Networks
  163.  
  164. CCITT E.163     Numbering Plan for the International Telephone Service
  165.  
  166. CCITT E.164     The Numbering Plan for the ISDN Era
  167.  
  168. CCITT F.69      Plan for Telex Destination Codes
  169.  
  170.  
  171.  
  172.  
  173.  
  174. ISO/TC-97/SC-6                                                  [Page 3]
  175. RFC 941                                                       April 1985
  176. Network Layer Addressing
  177.  
  178.  
  179. Temporary Note
  180.  
  181.  The  list  of  References  in  the  published Addendum will contain
  182.  only approved ISO Standards and CCITT Recommendations; items may need
  183.  to  be subtracted from, or added to, the current list.
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232. ISO/TC-97/SC-6                                                  [Page 4]
  233. RFC 941                                                       April 1985
  234. Network Layer Addressing
  235.  
  236.  
  237. SECTION ONE - GENERAL
  238. ---------------------
  239.  
  240. 3  DEFINITIONS
  241.  
  242. 3.1  Reference Model Definitions
  243.  
  244.  This Addendum makes use of the following terms defined in ISO 7498:
  245.  
  246.  a)  Network layer
  247.  
  248.  b)  Network service
  249.  
  250.  c)  Network service access point
  251.  
  252.  d)  Network service access point address
  253.  
  254.  e)  Network entity
  255.  
  256.  f)  Routing
  257.  
  258.  g)  Network address
  259.  
  260.  h)  Network protocol control information
  261.  
  262.  i)  Network protocol data unit
  263.  
  264. 3.2  Service Conventions Definitions
  265.  
  266.  This Addendum makes use of the following terms defined in ISO 8509:
  267.  
  268.  j)  Service user
  269.  
  270.  k)  Service provider
  271.  
  272. 3.3  Network Layer Architecture Definitions
  273.  
  274.  This Addendum makes use of the following terms defined in ISO 8648
  275.  (Internal Organization of the Network Layer):
  276.  
  277.  l)  Subnetwork
  278.  
  279.  m)  Real subnetwork
  280.  
  281.  n)  Subnetwork service
  282.  
  283.  o)  Real end system
  284.  
  285.  p)  Interworking unit
  286.  
  287.  q)  Intermediate system
  288.  
  289.  
  290. ISO/TC-97/SC-6                                                  [Page 5]
  291. RFC 941                                                       April 1985
  292. Network Layer Addressing
  293.  
  294.  
  295. 3.4  Network Addressing Definitions
  296.  
  297.  This Addendum makes use of the following terms as defined below:
  298.  
  299.  r)  DTE address: information used to identify a point of attachment to
  300.      a public data network.
  301.  
  302.  s)  Subnetwork point of attachment: a point at which a real end system,
  303.      interworking unit, or real subnetwork is attached to a real
  304.      subnetwork, and a conceptual point at which a subnetwork service is
  305.      offered within an end or intermediate system.
  306.  
  307.  t)  Subnetwork address (Subnetwork point of  attachment  address):
  308.      information used in the context of a particular real subnetwork to
  309.      identify a subnetwork point of attachment, or information used in
  310.      the context of a particular subnetwork to identify the point at
  311.      which the subnetwork service is offered within  an  end  or
  312.      intermediate system.
  313.  
  314.  u)  Network protocol address information:  information encoded in a
  315.      network protocol data unit to carry the semantics of an NSAP
  316.      address. (This is known as an "address signal" or as the "coding of
  317.      an address signal" in the Public Data Network environment.)
  318.  
  319.  v)  Domain (of the OSI environment): a subset of the OSI environment
  320.      within which identifiers for OSI environment entities of the same
  321.      type are unambiguous.
  322.  
  323.  w)  Global network addressing domain: the set of all Network Service
  324.      Access Point addresses in the OSI environment.
  325.  
  326.  x)  Network addressing subdomain; a subset of the global network
  327.      addressing domain.
  328.  
  329.  y)  Authority (for a domain or subdomain): that which ensures that
  330.      identifiers within the corresponding domain or subdomain  are
  331.      unambiguous.
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348. ISO/TC-97/SC-6                                                  [Page 6]
  349. RFC 941                                                       April 1985
  350. Network Layer Addressing
  351.  
  352.  
  353. 4  ABBREVIATIONS
  354.  
  355. This Addendum makes use of the following abbreviations:
  356.  
  357. a)  NSAP - Network Service Access Point
  358.  
  359. b)  NPAI - Network Protocol Addressing Information
  360.  
  361. c)  DCC  - Data Country Code
  362.  
  363. d)  CC   - Country Code
  364.  
  365. e)  ICD  - International Code Designator
  366.  
  367. f)  PSTN - Public Switched Telephone Network
  368.  
  369. g)  ISDN - Integrated Services Digital Network
  370.  
  371. h)  IDP  - Initial Domain Part
  372.  
  373. i)  AFI  - Authority and Format Identifier
  374.  
  375. j)  IDI  - Initial Domain Identifier
  376.  
  377. k)  DSP  - Domain Specific Part
  378.  
  379. l)  NPDU - Network Protocol Data Unit
  380.  
  381. m)  SNPA - Subnetwork Point of Attachment
  382.  
  383. 5  CONVENTIONS
  384.  
  385. No particular standard conventions are invoked by this Addendum.
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406. ISO/TC-97/SC-6                                                  [Page 7]
  407. RFC 941                                                       April 1985
  408. Network Layer Addressing
  409.  
  410.  
  411. SECTION TWO - NETWORK LAYER ADDRESSING
  412. --------------------------------------
  413.  
  414. 6  CONCEPTS AND TERMINOLOGY FOR NETWORK LAYER ADDRESSING
  415.  
  416. 6.1  Network Addresses
  417.  
  418.  This  Addendum  defines the Network Service Access Point (NSAP)
  419.  address. Since the term "network address" is commonly used in different
  420.  contexts to refer to different things a more specific description of
  421.  this concept is introduced below.
  422.  
  423.  6.1.1  Subnetwork Address
  424.  
  425.   In one context, the term "network address" may be used to refer to the
  426.   point at which a real end system, real subnetwork, or interworking
  427.   unit is attached to a real subnetwork, or to the point at which the
  428.   subnetwork service is offered within an end or intermediate system.
  429.   In the case of attachment to a public data network, this point is
  430.   called a DTE/DCE interface, and the term "DTE address" is used in
  431.   reference to it.
  432.  
  433.   The  specific term "subnetwork address" (or "subnetwork point of
  434.   attachment address") is used in this case, as illustrated in Figure
  435.   6-1:
  436.  
  437.                                      
  438.                                            subnetwork point of       
  439.                                            attachment identified     
  440.                                            ________ by SNPA          
  441.   ________________                         |      | /\               
  442.   |              |                         |______|/  \_______       
  443.   |   Real End   |    ____________   Layer |  * <-/   |\-> * | Layer 
  444.   | system, real |    |          |     3   |______|   |______|    3  
  445.   |subnetwork, or|____|  Real    |         |      |   |      |       
  446.   | interworking |    |Subnetwork|         |      |   |      |       
  447.   |     unit     | ^  |__________|         |______|   |______|       
  448.   |______________| |                                                 
  449.                    |                                                 
  450.            subnetwork point of               End    Intermediate     
  451.           attachment identified            System      System        
  452.           by subnetwork address                                      
  453.  
  454.                     Figure 6-1 - Subnetwork Address
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464. ISO/TC-97/SC-6                                                  [Page 8]
  465. RFC 941                                                       April 1985
  466. Network Layer Addressing
  467.  
  468.  
  469.   The subnetwork address is the information that a real subnetwork needs
  470.   to identify a particular real end system, another real subnetwork, or
  471.   interworking unit that is attached to that real subnetwork.
  472.  
  473.   In the public network environment, the subnetwork address is what the
  474.   public network operates on.
  475.  
  476.    Note: The point identified by a subnetwork address is a point of
  477.    interconnection between a real end system or interworking unit and a
  478.    real subnetwork (in particular, in a public data network environment,
  479.    a DTE/DCE interface), and is not an OSI Service Access Point.
  480.  
  481.  6.1.2  NSAP address
  482.  
  483.   In another context, the term "network address" is used to refer to the
  484.   Network Service Access Point (NSAP) at which the OSI Network Service
  485.   is made available to a Network Service user by the Network Service
  486.   provider.
  487.  
  488.   The specific term "NSAP address" is used in this case, as illustrated
  489.   in Figure 6-2:
  490.  
  491.                                      
  492.                          Network Service User 
  493.                                     
  494.    layer 4                                                          
  495.    ______________________________  0  _____________________________ 
  496.                                     \                               
  497.    layer 3                           \____NSAP identified           
  498.                                           by NSAP address           
  499.                                     
  500.                        Network Service Provider 
  501.  
  502.                        Figure 6-2 - NSAP Address
  503.  
  504.   The NSAP address is the information that the OSI Network Service
  505.   provider needs to identify a particular Network Service Access Point.
  506.   The values of the called address, calling address, and responding
  507.   address parameters in the N-CONNECT primitive, of the responding
  508.   address parameter in the N_DISCONNECT primitive, and of the source
  509.   address and destination address parameters in the N-UNIDATA primitive,
  510.   are NSAP addresses.
  511.  
  512.   Note that since the Network Service primitives are conceptual, no
  513.   particular encoding of the NSAP address is specified by the Network
  514.   Service Definition.
  515.  
  516.   In both CCITT and ISO usage, the terms "Network Address" (with both
  517.   the N and the A printed in capital letters) and "global network
  518.   address" are synonymous with the term "NSAP address". Use of the term
  519.  
  520.  
  521.  
  522. ISO/TC-97/SC-6                                                  [Page 9]
  523. RFC 941                                                       April 1985
  524. Network Layer Addressing
  525.  
  526.  
  527.   "NSAP address" is preferred when it is essential to avoid confusion,
  528.   particularly in spoken references where "capitalization" is not
  529.   possible.
  530.  
  531.  6.1.3  Network Protocol Address Information
  532.  
  533.   In a third context, the term "network address" is used to refer to an
  534.   address that is carried as network protocol control information in a
  535.   network protocol data unit (NPDU).
  536.  
  537.   The specific term "network protocol address information" (NPAI) is
  538.   used in this case.
  539.  
  540.   In the public network environment, NPAI is also known as an "address
  541.   signal" or as the "coding of an address signal".
  542.  
  543.   There is a relationship between the NSAP address that appears in
  544.   Network Service primitives and the NPAI that appears in a Network
  545.   Layer protocol, in that the semantics of the NSAP address is preserved
  546.   by the NPAI.  The syntax and encoding of NPAI are defined by Network
  547.   layer Protocol standards, which also specify the relationship between
  548.   the NSAP address and the NPAI encoding employed by the protocol.
  549.  
  550. 6.2  Domains
  551.  
  552.  A domain is a subset of the Open Systems Interconnection environment
  553.  within which identifiers for OSI environment entities of the same type
  554.  are unambiguous.
  555.  
  556.  6.2.1  Global Network Addressing Domain
  557.  
  558.   The global network addressing domain is defined as the set of all
  559.   Network Service Access Point addresses in the OSI environment.
  560.  
  561.  6.2.2  Network Addressing Subdomain
  562.  
  563.   A network addressing subdomain is a set of Network Service access
  564.   Point addresses.  It is a subset of the global network addressing
  565.   domain.
  566.  
  567.   The relationship of the concepts of 6.2.1 and 6.2.2 is illustrated  by
  568.   Figure 6-3:
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580. ISO/TC-97/SC-6                                                 [Page 10]
  581. RFC 941                                                       April 1985
  582. Network Layer Addressing
  583.  
  584.  
  585.                                     
  586.                            **************                            
  587.                       *****              *****                       
  588.                    ***                        ***                    
  589.                 ***                              ***                 
  590.               **   **                          **   **    <-- Global 
  591.             **       *                        *      .**     network 
  592.            **         **                    **      .  ** addressing 
  593.           *              *                 *       .      *   domain 
  594.          *                *               * .     .       *          
  595.         *                  *             *   ..  .         *         
  596.        *                    *           *      ..         +  *       
  597.       *                     *           *        ..   <-----------\  
  598.      **                      *         *           ..   +    **    | 
  599.      * +                     *         *             ..+      *    | 
  600.      *  +                    *     <------------------------------\| 
  601.     *    +                    *       * ...          +         *   | 
  602.     *     +                   *       *    ...      +          *   | 
  603.     *      +                  *       *       .... +           *   | 
  604.     *       +                  *     *            +            *   | 
  605.     *        +  ************************************           *   | 
  606.     *  *********           +            +           *********  *   | 
  607.      **                    +            +                    **    | 
  608.      *                    +              +                    *    | 
  609.      **                   +              +                   **    | 
  610.       *                  +                +         <-------------\| 
  611.        *                 +                +                 *      | 
  612.         *               +                  +               *       | 
  613.          *              +                  +              *        | 
  614.           *            +                    +            *         | 
  615.            **          +                    +          **          | 
  616.             **        +           <--\       +        **           | 
  617.               **      +               \      +      **             | 
  618.                 ***  +                 \      +  ***               | 
  619.                    ***                  \     ***                  | 
  620.                       *****              \****                     | 
  621.                            ***************\                  Network 
  622.                                            \------------- addressing 
  623.                                                           subdomains 
  624.  
  625.                   Figure 6-3 - Domains and Subdomains
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638. ISO/TC-97/SC-6                                                 [Page 11]
  639. RFC 941                                                       April 1985
  640. Network Layer Addressing
  641.  
  642.  
  643. 6.3  Authorities
  644.  
  645.  The uniqueness of identifiers within a domain or subdomain is ensured
  646.  by an authority associated with that domain. The term "authority" does
  647.  not necessarily refer to an organization or administration: it is
  648.  intended to refer to whatever it is (in an abstract sense) that ensures
  649.  the uniqueness of identifiers in the associated domain.
  650.  
  651.  Domains are characterized by the authority that administers the domain
  652.  and by the rules that are established by that authority for specifying
  653.  identifiers and identifying subdomains. The authority responsible for
  654.  each subdomain determines how identifiers will be  assigned  and
  655.  interpreted within that subdomain, and how any further subdomains will
  656.  be created.
  657.  
  658.  The operation of an authority is independent of that of  other
  659.  authorities on the same level of the hierarchy, subject only to any
  660.  common rules imposed by the parent authority.
  661.  
  662. 6.4  Network Address Allocation
  663.  
  664.  An addressing authority shall either allocate complete NSAP addresses,
  665.  or shall authorize one or more other authorities to allocate address.
  666.  Each address allocated by an addressing authority shall include a
  667.  domain identifier which identifies the allocating authority. An address
  668.  shall not be allocated to identify a domain or NSAP if the address has
  669.  previously been allocated to some other domain or NSAP, unless the
  670.  authority can ensure that all use of the previous allocation has
  671.  ceased.
  672.  
  673.  The authority shall ensure that allocations are made in such a way that
  674.  efficient use is made of the address space.
  675.  
  676. 7  PRINCIPLES FOR CREATING THE OSI NETWORK ADDRESSING SCHEME
  677.  
  678. 7.1  Hierarchical Structure of NSAP Addresses
  679.  
  680.  NSAP addresses are based on the concept of hierarchical addressing
  681.  domains, as explained in Clause 6.  Each domain may be further
  682.  partitioned into subdomains.  Accordingly, NSAP addresses have a
  683.  hierarchical structure.
  684.  
  685.  The conceptual structure of NSAP addresses follows the principle that,
  686.  at any level of the hierarchy, an initial part of the address
  687.  unambiguously identifies a subdomain, and the rest is allocated by the
  688.  management of the subdomain to unambiguously identify either a lower
  689.  level subdomain or an NSAP within the subdomain. The part of the
  690.  address that identifies the subdomain depends on the level at which the
  691.  address is viewed.
  692.  
  693.  
  694.  
  695.  
  696. ISO/TC-97/SC-6                                                 [Page 12]
  697. RFC 941                                                       April 1985
  698. Network Layer Addressing
  699.  
  700.  
  701.   Note:  This conceptual structure should not be considered as implying
  702.   any detailed administration of NSAP addresses.
  703.  
  704.  Graphical representation of the hierarchical structure of NSAP
  705.  addresses may be made according to an inverted tree diagram, as in
  706.  Figure 7-1 (a), or a domain diagram, as in Figure 7-1 (b)
  707.  
  708.                                     
  709.  
  710.                                      O                      
  711.                                      |                      
  712.                                      |                      
  713.                      -------------------------------        
  714.                      |           |        |        |        
  715.                      |           |        |        |        
  716.                    -----       -----    -----    -----      
  717.                    | W |       | X |    | Y |    | Z |      
  718.                    -----       -----    -----    -----      
  719.                      |           |        |                 
  720.                      |           |        |                 
  721.               ---------------    @    --------              
  722.               |      |      |         |      |              
  723.               |      |      |         |      |              
  724.             -----  -----  -----     -----  -----            
  725.             | a |  | b |  | c |     | a |  | b |            
  726.             -----  -----  -----     -----  -----            
  727.                                              |              
  728.                                              |              
  729.                                    ----------------------   
  730.                                    |      |      |      |   
  731.                                    |      |      |      |   
  732.                                  -----  -----  -----  ----- 
  733.                                  | p |  | q |  | r |  | s | 
  734.                                  -----  -----  -----  ----- 
  735.  
  736.        Figure 7-1 (a) - Hierarchical Structure of NSAP Addresses
  737.                          Inverted Tree Diagram
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754. ISO/TC-97/SC-6                                                 [Page 13]
  755. RFC 941                                                       April 1985
  756. Network Layer Addressing
  757.  
  758.  
  759.                                     
  760.                              **************                        
  761.                         *****              *****                   
  762.                      ***                        ***                
  763.                   ***               Z              ***             
  764.                      **                          **                
  765.                        *                        *                  
  766.                   ***   **                    **   ***             
  767.                 **   **   *                  *   **   **           
  768.               **       *   **              **   *      .**         
  769.              **         **   *            *   **    r .  **        
  770.             *             *   *          *   *       .      *      
  771.        X   *               *   *        *   * . ------------>*   Y 
  772.           *                 *   *      *   *   /.  .     s   +*    
  773.          *                   *   *    *   *   /  ..         +  *   
  774.         *                    *   *    *   *  /     ..      +   *   
  775.        **                     *   *  *   *  b        ..   +    **  
  776.        * +                    *   *  *   *  |          ..+      *  
  777.        *  +                   *   *  *   *  |    q      +       *  
  778.       *    +                   *   **   * ..|          +         * 
  779.       *     +                  *        *   |...      +     a    * 
  780.       *      +                 *        *   | p .... +           * 
  781.       *       +                 *      *    V       +            * 
  782.       *        +  ************************************           * 
  783.       *  *********                                    *********  * 
  784.        **                                                      **  
  785.                   ************************************             
  786.          *********           +            +           *********    
  787.        **                    +            +                    **  
  788.        *                    +              +                    *  
  789.        **                   +              +                   **  
  790.         *                  +                +         c        *   
  791.          *         a       +                +                 *    
  792.           *               +                  +               *     
  793.            *              +          b       +              *      
  794.             *            +                    +            *       
  795.              **          +                    +          **        
  796.               **        +                      +        **         
  797.                 **      +                      +      **           
  798.                   ***  +                        +  ***             
  799.                      ***                        ***                
  800.                         *****              *****                   
  801.                              **************                        
  802.                                     W                              
  803.  
  804.        Figure 7-1 (b) - Hierarchical Structure of NSAP Addresses
  805.                              Domain Diagram
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812. ISO/TC-97/SC-6                                                 [Page 14]
  813. RFC 941                                                       April 1985
  814. Network Layer Addressing
  815.  
  816.  
  817. 7.2 Global Identification of any NSAP
  818.  
  819.  In the context of Open Systems Interconnection, it is possible to
  820.  identify any NSAP within the global network addressing domain (see
  821.  Clause 6.2.1). Consequently,
  822.  
  823.   a)  At any Network Service Access Point, it is possible to identify
  824.       any other Network Service Access Point, within any OSI end system;
  825.  
  826.   b)  A global Network Address can therefore be defined to unambiguously
  827.       identify any Network Service Access Point;
  828.  
  829.   c)  The OSI protocols established between correspondent Network
  830.       entities convey the complete information contained in a Network
  831.       Address (see Clause 6.1.4);
  832.  
  833.   d)  An NSAP address identifies the same NSAP regardless of which
  834.       NS-user enunciated the address; and
  835.  
  836.   e)  An NS-user, when given an NSAP address of the NS-provider in a
  837.       primitive Indication, may subsequently use that NSAP address in
  838.       another instance of communication with the corresponding NSAP.
  839.  
  840.  Some restrictions may be placed on communications in the context of
  841.  OSI, on the basis of: technical feasibility of an interconnection,
  842.  security, charging, etc. Such considerations are not related to Network
  843.  Layer addressing, and therefore are not discussed in this Addendum.
  844.  
  845.   Note:  The global identification of NSAPs should not be taken to imply
  846.   the universal availability of directory functions required to enable
  847.   communication among all NSAPs to which NSAP addresses have been
  848.   allocated.
  849.  
  850. 7.3 Route Independence
  851.  
  852.  Network Service users cannot derive routing information from an NSAP
  853.  address. They cannot influence the Network Service provider's choice of
  854.  route by means of the source and destination NSAP addresses. Similarly,
  855.  they cannot deduce from the source and destination NSAP addresses the
  856.  route that was used by the Network Service provider. This is not
  857.  intended to exclude the possibility that an OSI end system may need to
  858.  influence the route selected for a particular instance of communication
  859.  with another OSI end system. (In particular, it may need to influence
  860.  the selection of intermediate systems to be used, and the paths to be
  861.  taken between them.) The means whereby such an influence may be exerted
  862.  is, however, not the NSAP address. Elements of Network Layer protocol
  863.  may be required to control routing within intermediate systems; such
  864.  elements of protocol are distinct from the network protocol address
  865.  information (NPAI).
  866.  
  867.  Notwithstanding the restrictions imposed on the use that a Network
  868.  
  869.  
  870. ISO/TC-97/SC-6                                                 [Page 15]
  871. RFC 941                                                       April 1985
  872. Network Layer Addressing
  873.  
  874.  
  875.  Service user may make of an NSAP address, it is recognized that NSAP
  876.  addresses should be constructed in such a way that routing through
  877.  interconnected subnetworks is facilitated. That is, the Network Service
  878.  provider and relay-entities in particular, may take advantage of the
  879.  address structure to achieve economical processing of routing aspects.
  880.  
  881. 7.4 Service Type Independence
  882.  
  883.  It may be necessary for Network Service users to distinguish Network
  884.  Layer services of different types (such as point-to-point versus
  885.  multipoint services, and connection-mode versus connectionless-mode
  886.  services). The nature of such service types is not explicitly contained
  887.  in the semantics of the NSAP address. Similarly, Network Layer quality
  888.  of service characteristics (such as throughput, transit delay, etc.)
  889.  are not explicitly specified by the NSAP address.
  890.  
  891. 8  NETWORK ADDRESS DEFINITION
  892.  
  893. The intent of this document is best served by maintaining clear
  894. distinctions among three concepts: the abstract semantics of the NSAP
  895. address; the abstract syntax employed in this document as a means of
  896. defining the abstract semantics of the NSAP address, and employed by
  897. addressing authorities as a means of allocating and assigning addresses;
  898. and the concrete syntax in which the NSAP address semantics are encoded
  899. as NPAI in Network Layer protocols. These distinctions are illustrated
  900. in Figure 8-1:
  901.  
  902.                                     
  903.  
  904.   NSAP Address Semantics------->Allocation by------->Abstract Syntax 
  905.                            |                                         
  906.                            |                                         
  907.                            |-->Representation in--->External         
  908.                            |   Humanly-readable     Reference        
  909.                            |   Directories          Syntax           
  910.                            |                                         
  911.                            |-->Encoding in--------->Concrete Syntax  
  912.                                Protocols                             
  913.  
  914.      Figure 8-1 - Relationship of NSAP Address Semantics and Syntax
  915.  
  916. This Addendum does not specify the way in which the semantics of the
  917. NSAP address are encoded in Network Layer protocols.  Network Layer
  918. protocol specifications define the way in which the NSAP address is
  919. encoded as NPAI (see clause 6.1.4).
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928. ISO/TC-97/SC-6                                                 [Page 16]
  929. RFC 941                                                       April 1985
  930. Network Layer Addressing
  931.  
  932.  
  933. 8.1  Network Address Semantics
  934.  
  935.  The NSAP address consists of two basic semantic parts. The first part
  936.  is the Initial Domain Part (IDP).  The second part is the Domain
  937.  Specific Part (DSP). This is illustrated by Figure 8-2.
  938.  
  939.  Following the conceptual structure of NSAP addresses described in
  940.  Clause 7.1, the IDP is a subdomain identifier: it specifies the
  941.  subdomain of the global network addressing domain (see Figure 7-1), and
  942.  identifies the authorities responsible for assigning addresses in each
  943.  of the subdomains created. The DSP is the corresponding subdomain
  944.  address. A further substructure of the DSP may or may not be defined by
  945.  the authority identified by the IDP.
  946.  
  947.  8.1.1  The IDP
  948.  
  949.   The Initial Domain Part of the NSAP address itself consists of two
  950.   parts. The first part is the Authority and Format Identifier (AFI).
  951.   The second part is the Initial Domain Identifier (IDI). This is
  952.   illustrated by Figure 8-2:
  953.  
  954.                                     
  955.  
  956.      <----------------------NSAP ADDRESS-------------------------> 
  957.                                                                    
  958.       ___________________________________________________________  
  959.      |           |                                               | 
  960.      |     IDP   |               DSP                             | 
  961.      |___________|_______________________________________________| 
  962.                  :                                                 
  963.                  :_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _  
  964.                                                                  : 
  965.       ___________________________________________________________: 
  966.      |           |                                               | 
  967.      |     AFI   |               IDI                             | 
  968.      |___________|_______________________________________________| 
  969.  
  970.                   Figure 8-2 - NSAP Address Structure
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986. ISO/TC-97/SC-6                                                 [Page 17]
  987. RFC 941                                                       April 1985
  988. Network Layer Addressing
  989.  
  990.  
  991.   8.1.1.1 The AFI
  992.  
  993.    The Authority and Format Identifier specifies:
  994.  
  995.     a)  the format of the IDI (see clause 8.2.1.2);
  996.  
  997.     b)  the authority responsible for allocating values of the IDI (see
  998.         clause 8.2.1.2) and
  999.  
  1000.     c)  the abstract syntax of the DSP (see clauses 8.2 and 8.2.3).
  1001.  
  1002.   8.1.1.2 The IDI
  1003.  
  1004.    The Initial Domain Identifier specifies:
  1005.  
  1006.     a)  the Network Addressing subdomain from which values of the DSP
  1007.         are allocated; and
  1008.  
  1009.     b)  the authority responsible for allocating values of the DSP from
  1010.         that subdomain.
  1011.  
  1012.  8.1.2  The DSP
  1013.  
  1014.   The semantics of the DSP is determined by the authority identified by
  1015.   the IDI (see clause 8.1.1.2).
  1016.  
  1017. 8.2  Network Address Abstract Syntax
  1018.  
  1019.  The Network Address is defined in this Addendum in terms of an abstract
  1020.  syntax which expresses the semantics of the Network Address. The use of
  1021.  this abstract syntax as a descriptive device enables this Addendum to
  1022.  convey, in written form, a complete definition of the Network Address
  1023.  without restricting it to the specific encoding of the NPAI. It also
  1024.  enables this Addendum to identify two alternative preferred concrete
  1025.  synataxes of the Network Address, to which reference may be made by
  1026.  Network Layer protocol specification standards so as to unambiguously
  1027.  define the way in which the Network Address is encoded as NPAI.
  1028.  
  1029.  8.2.1  Abstract Syntax and Allocation of the IDP
  1030.  
  1031.   This clause defines the abstract syntax of the AFI, the currently
  1032.   allocated values of the AFI, and the IDI formats corresponding to the
  1033.   allocated AFI values. Among the currently allocated values of the
  1034.   AFIsare values reserved for assignment to new IDI formats which may be
  1035.   identified by ISO or CCITT. Assignment of these AFI values to new IDI
  1036.   formats by either ISO or CCITT must be accompanied by appropriate
  1037.   modification of this Addendum according to the rules established by
  1038.   ISO for revising International Standards. Allocation of new AFI values
  1039.   will be by joint agreement between ISO and CCITT, and will require an
  1040.   appropriate modification of this Addendum.
  1041.  
  1042.  
  1043.  
  1044. ISO/TC-97/SC-6                                                 [Page 18]
  1045. RFC 941                                                       April 1985
  1046. Network Layer Addressing
  1047.  
  1048.  
  1049.   The abstract syntax of the IDP is decimal digits. The allocation of
  1050.   the AFI (see Clause 8.1.1) ensures that the first decimal digit of the
  1051.   IDP can never be zero.  This provides a escape mechanism for use by
  1052.   protocols that expect to hold incomplete NSAP addresses in a field
  1053.   that normally carries a complete NSAP address. When the NSAP address
  1054.   is represented as binary octets, the representation of the IDP is as
  1055.   defined in Clause 8.3.1.
  1056.  
  1057.   The length of the IDP depends on the IDI format specified by the value
  1058.   of the AFI. The IDP length associated with each IDI format is given in
  1059.   clause 8.2.1.2.
  1060.  
  1061.   8.2.1.1 Abstract Syntax and Allocation of the AFI
  1062.  
  1063.    The AFI consists of an integer with a value between 0 and 99 with an
  1064.    abstract syntax of two decimal digits.  The values of the AFI are
  1065.    allocated or reserved as shown in Table 8-1:
  1066.  
  1067.    
  1068.  
  1069.                       Table 8-1:  AFI ALLOCATIONS
  1070.  
  1071.     00-09              Reserved - will not be allocated
  1072.  
  1073.     10-35              Reserved for future allocation by joint agreement
  1074.                        of ISO and CCITT
  1075.  
  1076.     36-51              Allocated and assigned to the IDI formats defined
  1077.                        in clause 8.2.1.2
  1078.  
  1079.     52-59              Reserved for future allocation by joint agreement
  1080.                        of ISO and CCITT
  1081.  
  1082.     60-69              Allocated for assignment to new IDI formats  by
  1083.                        ISO
  1084.  
  1085.     70-79              Allocated for assignment to new IDI formats by
  1086.                        CCITT
  1087.  
  1088.     80-99              Reserved for future allocation by joint agreement
  1089.                        of ISO and CCITT
  1090.  
  1091.     
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102. ISO/TC-97/SC-6                                                 [Page 19]
  1103. RFC 941                                                       April 1985
  1104. Network Layer Addressing
  1105.  
  1106.  
  1107.   8.2.1.2 Format and Allocation of the IDI
  1108.  
  1109.    A specific combination of IDI format and DSP abstract syntax is
  1110.    associated with each allocated AFI value, as summarized in Table 8-2:
  1111.  
  1112.                                     
  1113.  
  1114.                          Table 8-2:  AFI Values
  1115.  
  1116.                     ___________________                        
  1117.                    |   DSP Syntax      |                       
  1118.                    |___________________|                       
  1119.                    |         |         |                       
  1120.          __________| Decimal | Binary  |                       
  1121.         |IDI format|         |         |                       
  1122.         |__________|_________|_________|                       
  1123.         |  X.121       36        37    |                       
  1124.         |______________________________|                       
  1125.         | ISO DCC      38        39    |                       
  1126.         |______________________________|                       
  1127.         |  F.69        40        41    |                       
  1128.         |______________________________|                       
  1129.         |  E.163       42        43    |                       
  1130.         |______________________________|                       
  1131.         |  E.164       44        45    |_____________________  
  1132.         |______________________________|Character | National | 
  1133.         |ISO 6523-ICD  46        47    |(ISO 646) |Character | 
  1134.         |______________________________|__________|__________| 
  1135.         | Local        48        49        50         51     | 
  1136.         |____________________________________________________| 
  1137.  
  1138.                                     
  1139.  
  1140.                 The IDI formats are defined as follows:
  1141.  
  1142.    a) X.121
  1143.  
  1144.     The IDI consists of a sequence of up to 14 digits allocated
  1145.     according to CCITT Recommendation X.121.  The X.121 number
  1146.     identifies an authority responsible for allocating and assigning
  1147.     values of the DSP.
  1148.  
  1149.     IDP length:  Up to 16 digits.
  1150.  
  1151.    b) ISO DCC
  1152.  
  1153.     The IDI consists of a three-digit Data Country Code (DCC). ISO DCC
  1154.     values are allocated by ISO and assigned to ISO member countries or
  1155.     appropriately sponsored non-member countries or authorities. The
  1156.     values of the ISO DCC are a subset of the DCC values allocated by
  1157.  
  1158.  
  1159.  
  1160. ISO/TC-97/SC-6                                                 [Page 20]
  1161. RFC 941                                                       April 1985
  1162. Network Layer Addressing
  1163.  
  1164.  
  1165.     CCITT in Recommendation X.121 to countries or geographical areas.
  1166.     The DSP is allocated and assigned by the organization that
  1167.     represents the country identified by the DCC.
  1168.  
  1169.     IDP length:  5 digits.
  1170.  
  1171.    c) F.69
  1172.  
  1173.     The IDI consists of a telex number of up to 8 digits, allocated
  1174.     according to CCITT Recommendation F.69, commencing with a 2- or
  1175.     3-digit destination code. The telex number identifies an authority
  1176.     responsible for allocating and assigning values of the DSP.
  1177.  
  1178.     IDP length:  Up to 10 digits.
  1179.  
  1180.    d) E.163
  1181.  
  1182.     The IDI consists of a public switched telephone network (PSTN)
  1183.     number of up to 12 digits allocated according to CCITT
  1184.     Recommendation E.163, commencing with the PSTN country code. The
  1185.     PSTN number identifies an authority responsible for allocating and
  1186.     assigning values of the DSP.
  1187.  
  1188.     IDP length:  Up to 14 digits.
  1189.  
  1190.    e) E.164
  1191.  
  1192.     The IDI consists of an ISDN number of up to 15 digits allocated
  1193.     according to CCITT Recommendation E.164, commencing with the ISDN
  1194.     country code.  The ISDN number identifies an authority responsible
  1195.     for allocating and assigning values of the DSP.
  1196.  
  1197.     IDP length:  Up to 17 digits
  1198.  
  1199.    f) ISO 6523-ICD
  1200.  
  1201.     The IDI consists of a 4-digit International Code Designator (ICD)
  1202.     allocated  according  to  ISO  6523.   The ICD identifies an
  1203.     organizational authority responsible for allocating and assigning
  1204.     values of the DSP. The "structure of the code" required by ISO 6523,
  1205.     clause 6.3(d), shall be registered as "According to ISO 8348
  1206.     Addendum 2".
  1207.  
  1208.     IDP length:  6 digits.
  1209.  
  1210.    g) LOCAL
  1211.  
  1212.     The IDI is null.
  1213.  
  1214.     IDP length:  2 digits.
  1215.  
  1216.  
  1217.  
  1218. ISO/TC-97/SC-6                                                 [Page 21]
  1219. RFC 941                                                       April 1985
  1220. Network Layer Addressing
  1221.  
  1222.  
  1223.    Note 1:
  1224.  
  1225.     In cases (a), (c), (d), and (e) above, when the IDP is followed by a
  1226.     decimal-syntax DSP, no discernible boundary is identified in this
  1227.     Addendum between the IDP digits and the DSP digits.
  1228.  
  1229.    Note 2:
  1230.  
  1231.     A figure illustrating the division of the global network addressing
  1232.     domain according to these formats is contained in Annex B.
  1233.  
  1234.    Note 3:
  1235.  
  1236.     The use of a particular IDI format as the basis for allocating an
  1237.     NSAP address does not constrain routing to that NSAP to go through
  1238.     any particular subnetwork. For example, the use of the E.163 IDI
  1239.     format as the basis for allocating an NSAP address does not mean
  1240.     that access to the NSAP necessarily involves use of the telephony
  1241.     subnetwork (see clause 7.3).
  1242.  
  1243.    Note 4:
  1244.  
  1245.     Formats a, c, d, and e are based on specific CCITT numbering plans,
  1246.     and as such may be affected by any changes to those plans.  It
  1247.     should be understood that in identifying and describing these
  1248.     formats, this Addendum observes the current status of CCITT work on
  1249.     numbering plans, and does not establish any preference or position
  1250.     whatsoever concerning the way in which CCITT may choose to modify
  1251.     the plans, or their relationships with one another, in the future.
  1252.     Changes to this may be necessary to take any such further work by
  1253.     CCITT into account.  For example, the CCITT numbering plans in some
  1254.     cases may provide escape mechanisms (such as a zero, 8, or 9 prefix)
  1255.     from one numbering plan to another.  This results in the possibility
  1256.     of a choice that must be made concerning which of formats a, c, d,
  1257.     and e should be used for the allocation of NSAP addresses, and may
  1258.     also lead to suggestions that it is not necessary to include all of
  1259.     the formats a, c, d, and e in this Addendum.  Such choices, however,
  1260.     are made within the context and responsibility of CCITT, and no
  1261.     preference for one choice or another is made or implied by this
  1262.     Addendum.
  1263.  
  1264.  8.2.2 Abstract Syntax and Allocation of the DSP
  1265.  
  1266.   Values of the DSP are allocated by the authority identified by the IDI
  1267.   in the syntax identified by the AFI (see clauses 8.1.1.2 and 8.2.1.2).
  1268.  
  1269.   The allocating authority specifies the format and semantics of the
  1270.   DSP. If the authority identified by the IDI authorizes one or  more
  1271.   authorities to allocate semantic parts of the DSP, then all those
  1272.   authorities must allocate using the same abstract syntax used by the
  1273.   parent authority.
  1274.  
  1275.  
  1276. ISO/TC-97/SC-6                                                 [Page 22]
  1277. RFC 941                                                       April 1985
  1278. Network Layer Addressing
  1279.  
  1280.  
  1281.   An authority may choose to allocate NSAP addresses with the DSP in a
  1282.   decimal or binary abstract syntax for all IDI formats, and may choose
  1283.   to allocate NSAP addresses with the DSP in a character (ISO 646) or
  1284.   National Character abstract syntax when the IDI format is "Local" (see
  1285.   Table 8-2). Clause 9 describes the latter case in detail.
  1286.  
  1287.  8.2.3 Abstract Syntax of the DSP
  1288.  
  1289.   The DSP may be allocated by the responsible authority in one of four
  1290.   syntaxes, depending on the value of the AFI:
  1291.  
  1292.   a)  Binary:      The DSP consists of zero or more binary octets, up to
  1293.                     the maximum specified in Table 8-3.
  1294.  
  1295.   b)  Decimal:     The DSP consists of zero or more decimal digits, up
  1296.                     to the maximum specified in Table 8-3.
  1297.  
  1298.   c)  Character:   The DSP consists of zero or more of those graphic,
  1299.                     characters with no national variant, plus the space
  1300.                     character, from ISO 646, up to the maximum specified
  1301.                     in Table 8-3.
  1302.  
  1303.   d)  National Character:  The DSP consists of zero or more characters
  1304.                     from a character set determined by the allocating
  1305.                     authority, up to the maximum specified in Table 8-3.
  1306.  
  1307.   Table 8-3 gives the maximum length of the DSP in its abstract syntax
  1308.   for each of the IDI formats defined in clause 8.2.1.2. The
  1309.   corresponding total NSAP address lengths are given in clause 8.4.
  1310.  
  1311. 8.3  Network Address Concrete Syntax
  1312.  
  1313.  As describe in Clause 8.1, the semantics of the NSAP address consists
  1314.  of three fields in the following order:
  1315.  
  1316.  a)  the AFI, with an abstract syntax of two decimal digits;
  1317.  
  1318.  b)  the IDI, with an abstract syntax of a variable number of decimal
  1319.      digits; and
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334. ISO/TC-97/SC-6                                                 [Page 23]
  1335. RFC 941                                                       April 1985
  1336. Network Layer Addressing
  1337.  
  1338.  
  1339.                                     
  1340.  
  1341.                      Table 8-3:  Maximum DSP Length
  1342.  
  1343.                     ___________________                        
  1344.                    |   DSP Syntax      |                       
  1345.                    |___________________|                       
  1346.                    |         |         |                       
  1347.          __________| Decimal | Binary  |                       
  1348.         |IDI format|         |         |                       
  1349.         |__________|_________|_________|                       
  1350.         |  X.121       24         9    |                       
  1351.         |______________________________|                       
  1352.         | ISO DCC      35        14    |                       
  1353.         |______________________________|                       
  1354.         |  F.69        30        12    |                       
  1355.         |______________________________|                       
  1356.         |  E.163       26        10    |                       
  1357.         |______________________________|                       
  1358.         |  E.164       23         9    |_____________________  
  1359.         |______________________________|Character | National | 
  1360.         |ISO 6523-ICD  34        13    |(ISO 646) |Character | 
  1361.         |______________________________|__________|__________| 
  1362.         | Local        38        15        19          7     | 
  1363.         |____________________________________________________| 
  1364.  
  1365.                                     
  1366.  
  1367.   c)  the DSP, with an abstract syntax of a variable number of one and
  1368.      only one of the following types: binary octets, decimal digits,
  1369.      characters, or national characters.
  1370.  
  1371.  This Addendum does not specify the way in which the semantics of an
  1372.  NSAP address are encoded in Network Layer protocols by a concrete
  1373.  syntax in NPAI (see Note following this clause).  These encodings are
  1374.  specified in Network Layer protocol standards.
  1375.  
  1376.   Note:  Encoding implies more than a concrete syntax, such as the order
  1377.   of bit transmission, representation as tones or other signals, etc.
  1378.  
  1379.  Nevertheless, this Addendum identifies two alternative concrete
  1380.  syntaxes (see clauses 8.3.1 and 8.3.2) of the Network Address.
  1381.  Reference to these may be made by Network Layer protocol specification
  1382.  standards. It is possible that the concrete syntax used to encode the
  1383.  Network Address as NPAI in a Network Layer protocol may be chosen to be
  1384.  identical to one of these concrete syntaxes. It is not required that
  1385.  this be the case, however (see clause 9).
  1386.  
  1387.  The entire NSAP address taken as a whole may be represented explicitly
  1388.  as a string of either decimal digits (decimal concrete syntax) or
  1389.  binary octets (binary concrete syntax) as defined below.  Network Layer
  1390.  
  1391.  
  1392. ISO/TC-97/SC-6                                                 [Page 24]
  1393. RFC 941                                                       April 1985
  1394. Network Layer Addressing
  1395.  
  1396.  
  1397.  protocol specifications making reference to this Addendum shall specify
  1398.  the way in which either the decimal concrete syntax or the binary
  1399.  concrete syntax of the NSAP address (or both) is encoded as NPAI (see
  1400.  clause 6.1.3).
  1401.  
  1402.  8.3.1  Binary Concrete Syntax
  1403.  
  1404.   The binary concrete syntax is generated by:
  1405.  
  1406.    a)  using two semi-octets to represent the two digits of the AFI,
  1407.        yielding a value for each semi-octet in the rage 0000-1001;
  1408.  
  1409.    b)  padding the IDI with leading zero digits if necessary to obtain
  1410.        the maximum IDI length (specified for each IDI format in clause
  1411.        8.2.1.2), then using a semi-octet to represent the value of each
  1412.        decimal  digit (including leading padding digits, if preset),
  1413.        yielding a value in the range 0000-1001; and, if the DSP syntax
  1414.        is not decimal digits, using the semi-octet value 1111 as a pad
  1415.        after the final semi-octet (if necessary) to obtain an integral
  1416.        number of octets;
  1417.  
  1418.    c) representing a decimal syntax DSP using the technique described in
  1419.        (b);
  1420.  
  1421.    d)  representing a binary syntax DSP directly as binary octets;
  1422.  
  1423.    e)  when the IDI format is "Local", representing an ISO 646 character
  1424.        syntax DSP by converting each character to a number in the range
  1425.        32-127 using the ISO 646 encoding, with zero parity and the
  1426.        parity bit in the most significant position, reducing the value
  1427.        by 32, giving a number in the range 0-95, encoding this result as
  1428.        a pair of decimal digits; and applying the technique described in
  1429.        (b); and
  1430.  
  1431.    f)  when the IDI format is "Local", representing a National Character
  1432.        syntax DSP by converting each national character to either one or
  1433.        two octets according to the rules specified by the authority
  1434.        responsible for allocating NSAP addresses including national
  1435.        character DSP syntaxes.
  1436.  
  1437.  8.3.2  Decimal Concrete Syntax
  1438.  
  1439.   The decimal concrete syntax is generated by:
  1440.  
  1441.    a)  representing the two digits of the AFI directly as two decimal
  1442.        digits;
  1443.  
  1444.    b)  padding the IDI with leading zero digits if necessary to obtain
  1445.        the maximum IDI length (specified for each IDI format in Clause
  1446.        8.2.1.2), representing the result directly as decimal digits;
  1447.  
  1448.  
  1449.  
  1450. ISO/TC-97/SC-6                                                 [Page 25]
  1451. RFC 941                                                       April 1985
  1452. Network Layer Addressing
  1453.  
  1454.  
  1455.    c)  representing a decimal syntax DSP directly as decimal digits;
  1456.  
  1457.    d)  representing a binary syntax DSP as follows:
  1458.  
  1459.     Taking the octets in pairs, convert each octet of the pair to a
  1460.     number in the range 0-255; this generates six decimal digits,
  1461.     abcdef, of which digits a and d may take on only the values o, 1, or
  1462.     2. The pair of octets is represented by the sequence of five digits
  1463.     gbcef, where the value of digit g is given in Table 8-4:
  1464.  
  1465.     
  1466.  
  1467.                         Table 8-4:  Values of g.
  1468.  
  1469.                       _____________________________
  1470.                     |  \  a  |      |      |      |
  1471.                     | d \    |  0   |   1  |  2   |
  1472.                     |____\___|______|______|______|
  1473.                     |   0       0       1     2   |
  1474.                     |_____________________________|
  1475.                     |   1       3       4     5   |
  1476.                     |_____________________________|
  1477.                     |   2       6       7     8   |
  1478.                     |_____________________________|
  1479.  
  1480.  
  1481.  
  1482.     If the original binary field contained an odd number of octets,  the
  1483.     final  octet  is  converted  to  a  number  in  the  range 0-255 and
  1484.     represented as three decimal digits (000-255);
  1485.  
  1486.    e)  when the IDI format is "Local", representing an  ISO  646
  1487.        character syntax DSP using the technique described in Clause
  1488.        8.3.1 (e); and
  1489.  
  1490.    f)  when  the  IDI  format is "Local", representing a National
  1491.        Character syntax DSP using the technique described in Clause
  1492.        8.3.1 (f).
  1493.  
  1494. 8.4  Maximum Network Address Length
  1495.  
  1496.  The maximum length of the NSAP address for each of the combinations of
  1497.  IDI abstract syntax is given in Table 8-5 both the decimal concrete
  1498.  syntax and the binary concrete syntax.
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508. ISO/TC-97/SC-6                                                 [Page 26]
  1509. RFC 941                                                       April 1985
  1510. Network Layer Addressing
  1511.  
  1512.  
  1513.                                     
  1514.  
  1515.                 Table 8-5:  Maximum NSAP Address Lengths
  1516.  
  1517.     ________________________________________________________________
  1518.     |             | DSP Abstract  |  Binary DSP     | Decimal DSP  |
  1519.     |  IDI Format |   syntax      | concrete syntax concrete syntax|
  1520.     |_____________|_______________|_________________|______________|
  1521.     |             |   Decimal     |   20 octets     |  40 digits   |
  1522.     |   X.121     |   Binary      |   17 octets     |  39 digits   |
  1523.     |             |               |                 |              |
  1524.     |             |   Decimal     |   20 octets     |  40 digits   |
  1525.     |  ISO DCC    |   Binary      |   17 octets     |  40 digits   |
  1526.     |             |               |                 |              |
  1527.     |             |   Decimal     |   20 octets     |  40 digits   |
  1528.     |    F.69     |   Binary      |   17 octets     |  40 digits   |
  1529.     |             |               |                 |              |
  1530.     |             |   Decimal     |   20 octets     |  40 digits   |
  1531.     |    E.163    |   Binary      |   17 octets     |  39 digits   |
  1532.     |             |               |                 |              |
  1533.     |             |   Decimal     |   20 octets     |  40 digits   |
  1534.     |    E.164    |    Binary     |   18 octets     |  40 digits   |
  1535.     |             |               |                 |              |
  1536.     |             |   Decimal     |   20 octets     |  40 digits   |
  1537.     | ISO 6523-ICD|   Binary      |   16 octets     |  39 digits   |
  1538.     |             |               |                 |              |
  1539.     |             |   Decimal     |   20 octets     |  40 digits   |
  1540.     |   LOCAL     |   Binary      |   16 octets     |  40 digits   |
  1541.     |             | Character     |   20 octets     |  40 digits   |
  1542.     |             |National Char. |   15 octets     |  37 digits   |
  1543.     |_____________|_______________|_________________|______________|
  1544.  
  1545.                                     
  1546.  
  1547.   Note:  These values assume a National Character representation of one
  1548.   character as two binary octets (see clause 8.2.3).
  1549.  
  1550.  From this table it is clear that:
  1551.  
  1552.  a)  the maximum length of an NSAP address in its binary concrete syntax
  1553.      is 20 octets; and
  1554.  
  1555.  b)  the maximum length of an NSAP address in its decimal concrete
  1556.      syntax is 40 digits.
  1557.  
  1558.  A Network Layer protocol which is capable of conveying a string of
  1559.  variable length with a maximum length of either 20 binary octets or 40
  1560.  decimal digits is capable of encoding the full semantic content of any
  1561.  Network Address.
  1562.  
  1563.  
  1564.  
  1565.  
  1566. ISO/TC-97/SC-6                                                 [Page 27]
  1567. RFC 941                                                       April 1985
  1568. Network Layer Addressing
  1569.  
  1570.  
  1571. 9  CHARACTER BASED DSP ALLOCATION
  1572.  
  1573. An authority may choose to allocate NSAP addresses with the DSP in a
  1574. National Character syntax. In such cases, the allocating authority must
  1575. define and publish the mapping of the National Character syntax to
  1576. either a binary abstract syntax or a decimal abstract syntax.
  1577.  
  1578.  Note:  It is recommended that this mapping be done by reference to the
  1579.  ISO Register of Character Sets, which is maintained by the European
  1580.  Computer Manufacturers Association (ECMA) acting as a registration
  1581.  authority according to ISO 2375, "Procedure for the Registration of
  1582.  Escape Sequences".
  1583.  
  1584. In the case where the authority defines and publishes the mapping of the
  1585. National Character set to a binary abstract syntax, the result must be
  1586. representable in either one or two octets per National Character.  In
  1587. this case, the resulting DSP is considered to be based on the Binary
  1588. abstract syntax. AFI values from Table 8-2 and the mapping to binary and
  1589. decimal concrete syntaxes are based on the binary abstract syntax.
  1590.  
  1591. In the case where the authority defines and publishes the mapping of the
  1592. National Character set to a decimal abstract syntax, the result must be
  1593. representable in up to five decimal digits per National Character.  In
  1594. this case, the resulting DSP is considered to be based on the decimal
  1595. abstract syntax. AFI values from Table 8-2 and the mapping to binary and
  1596. decimal concrete syntaxes are based on the decimal abstract syntax.
  1597.  
  1598.  Note:  The ability to base DSP allocation on National Character sets
  1599.  allows DSP allocation based on international character sets. This may
  1600.  simplify address assignment in some cases, and may facilitate
  1601.  representation of NSAP address in humanly-readable form.  Nevertheless,
  1602.  NSAP addresses should not be confused with Application Layer entity
  1603.  titles.  NSAP addresses are not intended to provide the same degree of
  1604.  human-readable,  user-friendly  naming  and  addressing capabilities as
  1605.  may be expected in Application Layer entity titles.
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624. ISO/TC-97/SC-6                                                 [Page 28]
  1625. RFC 941                                                       April 1985
  1626. Network Layer Addressing
  1627.  
  1628.  
  1629. 10  REFERENCE PUBLICATION FORMATS
  1630.  
  1631. Reference publication formats are defined  to  allow  unambiguous
  1632. representation of NSAP addresses in both written and oral communication.
  1633.  
  1634. 10.1  Decimal Reference Publication Format
  1635.  
  1636.  The Decimal reference publication form (DRPF) consists of a string of
  1637.  up to 40 decimal digits.  The DRPF is the written inscription of the
  1638.  decimal concrete syntax defined in clause 8.3.2.
  1639.  
  1640. 10.2  Hexadecimal Reference Publication Format
  1641.  
  1642.  The Hexadecimal reference publication format (HRPF) consists of the
  1643.  symbol "/" (solidus) followed by a string of up to 40 hexadecimal
  1644.  digits. The HRPF is the written inscription of the binary concrete
  1645.  syntax defined in clause 8.3.1, using two hexadecimal digits ranging
  1646.  from 00 through FF to represent each binary octet.
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682. ISO/TC-97/SC-6                                                 [Page 29]
  1683. RFC 941                                                       April 1985
  1684. Network Layer Addressing
  1685.  
  1686.  
  1687. ANNEX A - NETWORK ENTITY TITLES
  1688.  
  1689. This Annex is an integral part of the Addendum.
  1690.  
  1691. In order to perform routing functions and to distribute Network Layer
  1692. management information concerning routing among Network entities, it is
  1693. necessary to be able to unambiguously identify Network entities in end
  1694. systems and intermediate systems.  The Reference Model (ISO 7498)
  1695. provides a definition of the concept of an (N)-entity title, which may
  1696. be used to permanently and unambiguously identify a Network entity in an
  1697. end system or intermediate system.
  1698.  
  1699. Any authority responsible for allocating addresses to NSAPs may choose
  1700. also to allocate Network entity titles. One of the ways in which this
  1701. can be done is to use the principles and mechanisms defined in this
  1702. Addendum for allocating Network addresses. When this approach is taken,
  1703. a Network entity title has the same abstract syntax as an NSAP address.
  1704. A value may be allocated as a Network entity tile only if it has not
  1705. been allocated as an NSAP address.
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740. ISO/TC-97/SC-6                                                 [Page 30]
  1741. RFC 941                                                       April 1985
  1742. Network Layer Addressing
  1743.  
  1744.  
  1745. ANNEX B - NSAP ADDRESS ALLOCATION
  1746.  
  1747. This Annex is not an integral part of the Addendum.
  1748.  
  1749. The division of the global Network addressing domain according to the
  1750. IDI formats described in clause 8.2.1.2 may be illustrated by the
  1751. following figure.  The numbers adjacent to each line in the figure are
  1752. AFI values, as defined in Table 8-2 of clause 8.2.1.2.
  1753.  
  1754.          Figure B-1 - NSAP Address Allocation on attached page.
  1755.  
  1756.  00-09          Reserved - will not be allocated
  1757.  
  1758.  10-35          Reserved for future allocation by joint agreement of ISO
  1759.                 and CCITT
  1760.  
  1761.  36-37          X.121
  1762.  
  1763.  38-39          ISO DCC
  1764.  
  1765.  40-41          F.69
  1766.  
  1767.  42-43          E.163
  1768.  
  1769.  44-45          E.164
  1770.  
  1771.  46-47          ISO ICD
  1772.  
  1773.  48-51          Local
  1774.  
  1775.  52-59          Reserved for future allocation by joint agreement of ISO
  1776.                 and CCITT
  1777.  
  1778.  60-69          Allocated for assignment by ISO
  1779.  
  1780.  70-79          Allocated for assignment by CCITT
  1781.  
  1782.  80-99          Reserved for future allocation by joint agreement of ISO
  1783.                 and CCITT
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798. ISO/TC-97/SC-6                                                 [Page 31]
  1799. RFC 941                                                       April 1985
  1800. Network Layer Addressing
  1801.  
  1802.  
  1803. ANNEX C - RATIONALES
  1804.  
  1805. This annex contains tutorial and explanatory material, and is not an
  1806. integral part of the Addendum.
  1807.  
  1808. C.1  IDI FORMATS (Clause 8.2.1.2)
  1809.  
  1810.  The rationale for the use of the specific IDI formats identified in
  1811.  Clause 8.2.1.2 is to allow the allocation and assignment of NSAP
  1812.  addresses to be based on existing, well-established network numbering
  1813.  plans and organization-identification standards.
  1814.  
  1815.  The CCITT numbering plans are included so as to allow for the
  1816.  designation of the organization to which a number is assigned as an
  1817.  authority for the assignment of NSAP addresses. If the organization
  1818.  identified by a particular number from one of these plans chooses not
  1819.  to define any further sub-addressing beyond that number, then the
  1820.  number itself constitutes an NSAP address when it is used in the OSI
  1821.  environment. This flexibility allows number allocated from the four
  1822.  CCITT numbering plans identified in Clause 8.2.1.2 to be used directly
  1823.  as NSAP addresses, with the addition of nothing more than the initial
  1824.  AFI digits that identify the plan.
  1825.  
  1826.  The ISO DCC format is included so as to allow for the designation,
  1827.  where permitted by national regulations, of the organization that
  1828.  represents a country in ISO (or an appropriately sponsored
  1829.  organization) as an authority for the assignment of
  1830.  geographically-based NSAP addresses. The way in which addresses are
  1831.  allocated and assigned in the ISO DCC format is determined by the
  1832.  designated organization, which might, for example, be the national
  1833.  standards body that represents a country in ISO.
  1834.  
  1835.  The ISO 6523-ICD format is included so as to allow for the designation,
  1836.  where permitted by national regulations, of an organization that may or
  1837.  may not be tied to a particular country as an authority for the
  1838.  assignment of NSAP addresses according to the hierarchy appropriate for
  1839.  that organization (which may not be based on geographical or national
  1840.  boundaries).  The way which addresses are allocated and assigned in the
  1841.  ISO 6523-ICD format is determined by the designated organization, which
  1842.  might, for example, be the United Nations World Health Organization.
  1843.  
  1844.  The Local format is included so as to allow for proprietary or other
  1845.  non-standard network addressing schemes to coexist with the standard
  1846.  OSI network addressing scheme.  Use of the Local format for  these
  1847.  non-standard address ensures that they cannot be confused with standard
  1848.  OSI network addresses. This capability will be useful in the evolution
  1849.  of existing networks to OSI, and for the accommodation of non-OSI
  1850.  addressing schemes that may be used in proprietary network
  1851.  architectures or for testing and other interim purposes. It should be
  1852.  emphasized that
  1853.  
  1854.  
  1855.  
  1856. ISO/TC-97/SC-6                                                 [Page 32]
  1857. RFC 941                                                       April 1985
  1858. Network Layer Addressing
  1859.  
  1860.  
  1861.  the Local format is not intended to give non-OSI schemes a permanent
  1862.  place in OSI, but rather to permit the OSI network addressing sheme to
  1863.  be used wherever possible without risk of conflict with other schemes
  1864.  (which can be encapsulated safely under the Local format).
  1865.  
  1866. C.2  RESERVATION OF AFI VALUES 00-09 (Table 8-2)
  1867.  
  1868.  The reservation of AFI values beginning with the digit 0 is intended to
  1869.  allow for the use of an initial 0 to handle special cases, such as:
  1870.  
  1871.   a)  as an escape to some other addressing scheme;
  1872.  
  1873.   b)  as a technique for the optimization of NSAP address encoding in
  1874.       Network Layer protocols, when the different parts of the NSAP
  1875.       address semantics are encoded in different fields of the protocol
  1876.       header;
  1877.  
  1878.   c)  as a way to indicate, in a protocol header, that a field that
  1879.       ordinarily contains a full NSAP address in fact contains something
  1880.       less than a full address (for example, a shorthand form that omits
  1881.       specification of the higher-order domains, which might be used for
  1882.       communication within a particular subdomain environment).
  1883.  
  1884.  There may be other cases in which the use of an initial 0 digit is
  1885.  found to be useful. This Addendum merely reserves the AFI values 00-09,
  1886.  and does not specify how they might be used; all such uses are outside
  1887.  the scope of this Addendum.
  1888.  
  1889. C.3  DERIVATION OF THE CONCRETE SYNTAXES (Clause 8.3)
  1890.  
  1891.  In describing the two "preferred" concrete syntaxes of the NSAP
  1892.  address, Clauses 8.3.1 and 8.3.2 introduce two types of padding:
  1893.  padding with zero digits at the beginning of an IDI, and padding with a
  1894.  semi-octet with the value 1111 at the end of the binary encoding of an
  1895.  IDI with an odd number of decimal digits.
  1896.  
  1897.  The first type of padding is necessary because some of the IDI formats
  1898.  allow the IDI to consist of a variable number of digits. Since there is
  1899.  no explicit syntactic marker between the IDI and the DSP, the only way
  1900.  to find the end of the IDI is to know how long it is. The AFI, which
  1901.  identifies which IDI format is used, allows only the maximum length of
  1902.  that IDI to be determined.  Rather than introduce either a specific
  1903.  syntactic marker or a new field containing the length of the IDI
  1904.  (either of which would have greatly complicated the encoding and
  1905.  parsing of NSAP addresses), the Addendum specifies that for encoding
  1906.  purposes the IDI must first be padded out to its maximum length. Note
  1907.  that this does not apply to the DSP; only to the IDI.
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914. ISO/TC-97/SC-6                                                 [Page 33]
  1915. RFC 941                                                       April 1985
  1916. Network Layer Addressing
  1917.  
  1918.  
  1919.  The second type of padding is necessary to ensure that a binary
  1920.  encoding of the IDI consists of an integral number of binary octets.
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929.  
  1930.  
  1931.  
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972. ISO/TC-97/SC-6                                                 [Page 34]
  1973.  
  1974.