home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 900s / rfc986.txt < prev    next >
Text File  |  1986-06-02  |  14KB  |  400 lines

  1.  
  2.  
  3. Network Working Group                                  Ross Callon (BBN)
  4. Request for Comments: 986                      Hans-Werner Braun (UMich)
  5.                                                                June 1986
  6.  
  7.                              WORKING DRAFT
  8.  
  9.          Guidelines for the use of Internet-IP addresses in the
  10.                 ISO Connectionless-Mode Network Protocol
  11.  
  12.  
  13. Status of This Memo
  14.  
  15.    This RFC suggests a method to allow the existing IP addressing,
  16.    including the IP protocol field, to be used for the ISO
  17.    Connectionless Network Protocol (CLNP).  This is a draft solution to
  18.    one of the problems inherent in the use of "ISO-grams" in the DOD
  19.    Internet.  Related issues will be discussed in subsequent RFCs.  This
  20.    RFC suggests a proposed protocol for the ARPA-Internet community, and
  21.    requests discussion and suggestions for improvements.  Distribution
  22.    of this memo is unlimited.
  23.  
  24. 1.  Introduction
  25.  
  26.    The CLNP is documented in [1], but for matters of completeness the
  27.    following illustration of the CLNP header is included here as
  28.    Figure 1.
  29.  
  30.    The addressing part of the header is the subject of this RFC, i.e.,
  31.    the source and the destination address, respectively.  These
  32.    addresses are generally discussed in [2] and [3], with this document
  33.    presenting a specific method for addressing in the DOD Internetwork
  34.    environment, consistent with the international standardized NSAP
  35.    addresses.
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56. Callon & Braun                                                  [Page 1]
  57.  
  58.  
  59.  
  60. RFC 986                                                        June 1986
  61. DOD IP Addresses in ISO CLNP
  62.  
  63.  
  64.                                             Octet                     
  65.   +--------------------------------------+                   +--------
  66.   |  Network Layer Protocol Identifier   |  1                :        
  67.   |--------------------------------------|                   :        
  68.   |           Length Indicator           |  2                :        
  69.   |--------------------------------------|                   :        
  70.   |   Version/Protocol Id Extension      |  3                :   Fixed
  71.   |--------------------------------------|                   :        
  72.   |              Lifetime                |  4                :    Part
  73.   |--------------------------------------|                   :        
  74.   |SP|MS|E/R|      Type                  |  5                :        
  75.   |--------------------------------------|                   :        
  76.   |           Segment Length             |  6,7              :        
  77.   |--------------------------------------|                   :        
  78.   |              Checksum                |  8,9              :        
  79.   |--------------------------------------|                   +--------
  80.   | Destination Address Length Indicator |  10               :        
  81.   |--------------------------------------|                   :        
  82.   |         Destination Address          |  11 through m-1   : Address
  83.   |--------------------------------------|                   :        
  84.   |    Source Address Length Indicator   |  m                :    Part
  85.   |--------------------------------------|                   :        
  86.   |            Source Address            |  m+1 through n-1  :        
  87.   |--------------------------------------|                   +--------
  88.   |         Data Unit Identifier         |  n,n+1            :        
  89.   |--------------------------------------|                   : Segment
  90.   |            Segment Offset            |  n+2,n+3          :   ation
  91.   |--------------------------------------|                   :        
  92.   |             Total Length             |  n+4,n+5          :    Part
  93.   |--------------------------------------|                   +--------
  94.   |                Options               |  n+6 through p    : Options
  95.                                                                   Part
  96.   |--------------------------------------|                   +--------
  97.   |                 Data                 |  p+1 through z    :    Data
  98.   +--------------------------------------+                   +--------
  99.  
  100.                      Figure 1:   PDU Header Format
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113. Callon & Braun                                                  [Page 2]
  114.  
  115.  
  116.  
  117. RFC 986                                                        June 1986
  118. DOD IP Addresses in ISO CLNP
  119.  
  120.  
  121. 2.  Addresses for Use in the Internet
  122.  
  123.    This section describes the primary addresses used to address NSAPs in
  124.    the Internet.  A later section will describe a separate address
  125.    format for end systems and individual simple LANs that are attached
  126.    to the Internet only through intervening Public Data Networks.
  127.  
  128.    The appropriate Authority and Format Identifier (AFI) is one octet in
  129.    length.
  130.  
  131.       "The AFI consists of an integer with a value between 0 and 99 with
  132.       an abstract syntax of two decimal digits" [3], that is, the AFI
  133.       codes are binary coded decimal (BCD).
  134.  
  135.    It specifies an ISO-6523-ICD assignment, and also that the Domain
  136.    Specific Part (DSP) of the address is based on binary.  The AFI octet
  137.    uses the value "47".  The ISO-6523-ICD format is used to emphasize
  138.    that this is an administrative assignment.  The usage of an ISO DCC
  139.    (Data Country Code) would be possible, but could be misleading due to
  140.    the fairly far spread geographical extent of the Internet-IP.
  141.  
  142.    As required by the ISO addressing standard, the next two octets of
  143.    the address, in this case, specify the Initial Domain Identifier.
  144.    This two octet value is the International Code Designator (ICD)
  145.    assigned to the DOD Internet, "0006".
  146.  
  147.    The remainder of the NSAP address is the Domain Specific Part (DSP).
  148.    This is assigned by the Internet administration, which is considered
  149.    to be an addressing domain.  The remainder of the address specifies a
  150.    one byte version number, the four byte Internet Protocol address and
  151.    a one byte IP user protocol field. The version number allows for
  152.    future extensions.  The IP address used is the same as the current
  153.    four octet IP address.  The user protocol field is the same as the
  154.    user protocol field in the current IP header.  This is necessary
  155.    because the ISO protocol considers identification of the user
  156.    protocol to be an addressing issue, and therefore does not allow for
  157.    the user protocol to be specified in the protocol header
  158.    independently from the address.
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170. Callon & Braun                                                  [Page 3]
  171.  
  172.  
  173.  
  174. RFC 986                                                        June 1986
  175. DOD IP Addresses in ISO CLNP
  176.  
  177.  
  178.    Therefore a source or destination address within the ISO
  179.    Connectionless Protocol, when used in the DOD Internet, looks as
  180.    follows:
  181.  
  182.                                                Octet
  183.  
  184.                     +------------------------+      
  185.                     |          AFI           |     1
  186.                     +------------------------+      
  187.                     |       IDI / ICD        |     2
  188.                     +--                    --+      
  189.                     |(specifies DOD Internet)|     3
  190.                     +------------------------+      
  191.                     |     Version Number     |     4
  192.                     +------------------------+      
  193.                     |                        |     5
  194.                     +---   four  byte     ---+      
  195.                     |                        |     6
  196.                     +---    Internet      ---+      
  197.                     |                        |     7
  198.                     +---   Address (IP)   ---+      
  199.                     |                        |     8
  200.                     +------------------------+      
  201.                     |  IP User Protocol ID   |     9
  202.                     +------------------------+      
  203.  
  204.                    Figure 2: ISO IP address structure
  205.  
  206.    The Authority and Format Identifier (AFI) is "47" (BCD).  The Initial
  207.    Domain Identifier (IDI) consists of the International Code Designator
  208.    (ICD) assigned to the Internet, and must contain the value "0006".
  209.    The Version Number must contain the value "01".  The Current IP
  210.    addresses and IP user protocol numbers can be found in [4].
  211.  
  212. 3.  Devices Attached to PDNs
  213.  
  214.    Otherwise isolated end systems, which are attached to the Internet
  215.    only indirectly via public data networks, and simple LANs which are
  216.    similarly attached only via Public Data Networks, will make use of a
  217.    separate address format based on their X.121 address.
  218.  
  219.    Figure 3 specifies the address for use by end systems attached to
  220.    PDNs. Here the AFI specifies an ISO-X.121 address format, with the
  221.    DSP based on binary.  The AFI occupies a single octet, and must take
  222.    the value "37" (hexadecimal).  The IDI contains the X.121 addresses
  223.  
  224.  
  225.  
  226.  
  227. Callon & Braun                                                  [Page 4]
  228.  
  229.  
  230.  
  231. RFC 986                                                        June 1986
  232. DOD IP Addresses in ISO CLNP
  233.  
  234.  
  235.    encoded in binary (using BCD), padded at the end if necessary with
  236.    all ones (binary "1111") to make up 7 full octets.  Finally, the DSP
  237.    contains a single octet, which specifies the user protocol.
  238.  
  239.                                                Octet
  240.  
  241.                     +------------------------+      
  242.                     |          AFI           |     1
  243.                     +------------------------+      
  244.                     |          IDI           |     2
  245.                     +--                    --+      
  246.                     |    (specifies X.121    |     3
  247.                     +--                    --+      
  248.                     |   address, padded to   |     4
  249.                     +--                    --+      
  250.                     |        7 octets)       |     5
  251.                     +--                    --+      
  252.                     |                        |     6
  253.                     +--                    --+      
  254.                     |                        |     7
  255.                     +--                    --+      
  256.                     |                        |     8
  257.                     +------------------------+      
  258.                     |  IP User Protocol ID   |     9
  259.                     +------------------------+      
  260.  
  261.       Figure 3: ISO IP address structure for isolated end systems
  262.  
  263.    Figure 4 specifies the address for use by simple LANs attached to
  264.    PDNs. This address is the same as the address used for end systems
  265.    directly attached to PDNs, except for the addition of the (variable
  266.    length) local address as used on the LAN.  Whether the address is of
  267.    the form shown in figure 3, or of the form shown in figure 4, is
  268.    determined by looking at the length of the address.
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284. Callon & Braun                                                  [Page 5]
  285.  
  286.  
  287.  
  288. RFC 986                                                        June 1986
  289. DOD IP Addresses in ISO CLNP
  290.  
  291.  
  292.                                               Octet
  293.  
  294.                  +------------------------+           
  295.                  |          AFI           |     1     
  296.                  +------------------------+           
  297.                  |          IDI           |     2     
  298.                  +--                    --+           
  299.                  |    (specifies X.121    |     3     
  300.                  +--                    --+           
  301.                  |   address, padded to   |     4     
  302.                  +--                    --+           
  303.                  |        7 octets)       |     5     
  304.                  +--                    --+           
  305.                  |                        |     6     
  306.                  +--                    --+           
  307.                  |                        |     7     
  308.                  +--                    --+           
  309.                  |                        |     8     
  310.                  +------------------------+           
  311.                  |                        |     9     
  312.                  +--     local net      --+           
  313.                  |                        |           
  314.                  +--      address       --+           
  315.                  |                        |           
  316.                  +---                   --+ (variable 
  317.                  |                        |     sized)
  318.                  +------------------------+           
  319.                  |  IP User Protocol ID   |           
  320.                  +------------------------+           
  321.  
  322.           Figure 4: ISO IP address structure for isolated LANs
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341. Callon & Braun                                                  [Page 6]
  342.  
  343.  
  344.  
  345. RFC 986                                                        June 1986
  346. DOD IP Addresses in ISO CLNP
  347.  
  348.  
  349. References
  350.  
  351.    [1]  ISO, "Protocol for Providing the Connectionless-Mode Network
  352.         Services", RFC-926, ISO, December 1984.
  353.  
  354.    [2]  ANSI, "Guidelines for the Specification of the Structure of the
  355.         Domain Specific Part (DSP) of the ISO Standard NSAP Address",
  356.         RFC-982, ANSI Working Document X3S3.3/85-258, April 1986.
  357.  
  358.    [3]  ISO, Draft International Standard 8348/DAD2, "Information
  359.         Processing Systems  --  Data Communications  --  Network Service
  360.         Definition, Addendum 2 Covering Network Layer Addressing",
  361.         RFC-941, April 1985.
  362.  
  363.    [4]  Reynolds, J. and J. Postel, "Assigned Numbers", RFC-960, USC
  364.         Information Sciences Institute, December 1985.
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398. Callon & Braun                                                  [Page 7]
  399.  
  400.