home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 700s / rfc796.txt < prev    next >
Text File  |  1992-10-14  |  11KB  |  407 lines

  1.  
  2.  
  3. Network Working Group                                          J. Postel
  4. Request for Comments:  796                                           ISI
  5. Replaces: IEN 115                                         September 1981
  6.                             ADDRESS MAPPINGS
  7.                             ----------------
  8.  
  9.  
  10. Internet Addresses
  11. ------------------
  12.  
  13.    This memo describes the relationship between address fields used in
  14.    the Internet Protocol (IP) [1] and several specific networks.
  15.  
  16.    An internet address is a 32 bit quantity, with several codings as
  17.    shown below.
  18.  
  19.    The first type (or class a) of address has a 7-bit network number and
  20.    a 24-bit local address.
  21.  
  22.                            1                   2                   3    
  23.        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 
  24.       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  25.       |0|   NETWORK   |                Local Address                  |
  26.       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  27.  
  28.                              Class A Address
  29.  
  30.    The second type (or class b) of address has a 14-bit network number
  31.    and a 16-bit local address.
  32.  
  33.                            1                   2                   3   
  34.        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 
  35.       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  36.       |1 0|           NETWORK         |          Local Address        |
  37.       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  38.  
  39.                              Class B Address
  40.  
  41.    The third type (or class c) of address has a 21-bit network number
  42.    and a 8-bit local address.
  43.  
  44.                            1                   2                   3   
  45.        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 
  46.       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  47.       |1 1 0|                    NETWORK              | Local Address |
  48.       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  49.  
  50.                              Class C Address
  51.  
  52.    The local address carries information to address a host in the
  53.    network identified by the network number.  Since each network has a
  54.  
  55.  
  56.  
  57. Postel                                                          [Page 1]
  58.  
  59.  
  60.                                                           September 1981
  61. RFC 796                                                 Address Mappings
  62.  
  63.  
  64.  
  65.    particular address format and length, the following section describes
  66.    the mapping between internet local addresses and the actual address
  67.    format used in the particular network.
  68.  
  69. Internet to Local Net Address Mappings
  70. --------------------------------------
  71.  
  72.    The following transformations are used to convert internet addresses
  73.    to local net addresses and vice versa:
  74.  
  75.       AUTODIN II
  76.       ----------
  77.  
  78.          The AUTODIN II has 16 bit subscriber addresses which identify
  79.          either a host or a terminal.  These addresses may be assigned
  80.          independent of location.  The 16 bit AUTODIN II address is
  81.          located in the 24 bit internet local address as shown below.
  82.  
  83.          The network number of the AUTODIN II is 26 (Class A).
  84.  
  85.          +----------------+
  86.          |  HOST/TERMINAL |   AUTODIN II
  87.          +----------------+
  88.                  16
  89.  
  90.          +--------+--------+--------+--------+
  91.          |   26   |  ZERO  |  HOST/TERMINAL  |   IP
  92.          +--------+--------+--------+--------+
  93.               8        8           16
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115. Postel                                                          [Page 2]
  116.  
  117.  
  118.                                                           September 1981
  119. RFC 796                                                 Address Mappings
  120.  
  121.  
  122.  
  123.       ARPANET
  124.       -------
  125.  
  126.          The ARPANET (with 96 bit leaders) has 24 bit addresses.  The 24
  127.          bits are assigned to host, logical host, and IMP leader fields
  128.          as illustrated below.  These 24 bit addresses are used directly
  129.          for the 24 bit local address of the internet address.  However,
  130.          the ARPANET IMPs do not yet support this form of logical
  131.          addressing so the logical host field is set to zero in the
  132.          leader.
  133.  
  134.          The network number of the ARPANET is 10 (Class A).
  135.  
  136.          +--------+--------+--------+
  137.          |  HOST  |  ZERO  |  IMP   |   ARPANET
  138.          +--------+--------+--------+
  139.               8        8        8
  140.  
  141.          +--------+--------+--------+--------+
  142.          |   10   |  HOST  |   LH   |  IMP   |   IP
  143.          +--------+--------+--------+--------+
  144.               8        8        8        8
  145.  
  146.       DCNs
  147.       ----
  148.  
  149.          The Distributed Computing Networks (DCNs) at COMSAT and UCL use
  150.          16 bit addresses divided into an 8 bit host identifier (HID),
  151.          and an 8 bit process identifier (PID).  The format locates
  152.          these 16 bits in the low order 16 bits of the 24 bit internet
  153.          address, as shown below.
  154.  
  155.          The network number of the COMSAT-DCN is 29 (Class A), and of
  156.          the UCL-DCN is 30 (Class A).
  157.  
  158.          +--------+--------+
  159.          |   HID  |   PID  |   DCN
  160.          +--------+--------+
  161.               8        8
  162.  
  163.          +--------+--------+--------+--------+
  164.          |   18   |  ZERO  |   HID  |   PID  |   IP
  165.          +--------+--------+--------+--------+
  166.               8        8        8        8
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173. Postel                                                          [Page 3]
  174.  
  175.  
  176.                                                           September 1981
  177. RFC 796                                                 Address Mappings
  178.  
  179.  
  180.  
  181.       EDN
  182.       ---
  183.  
  184.          The Experimental Data Network at the Defense Communication
  185.          Engineering Center (DCEC) uses the same type of addresses as
  186.          the ARPANET (with 96 bit leaders) and has 24 bit addresses.
  187.          The 24 bits are assigned to host, logical host, and IMP leader
  188.          fields as illustrated below.  These 24 bit addresses are used
  189.          directly for the 24 bit local address of the internet address.
  190.          However, the IMPs do not yet support this form of logical
  191.          addressing so the logical host field is set to zero in the
  192.          leader.
  193.  
  194.          The network number of the EDN is 21 (Class A).
  195.  
  196.          +--------+--------+--------+
  197.          |  HOST  |  ZERO  |  IMP   |   EDN
  198.          +--------+--------+--------+
  199.               8        8        8
  200.  
  201.          +--------+--------+--------+--------+
  202.          |   21   |  HOST  |   LH   |  IMP   |   IP
  203.          +--------+--------+--------+--------+
  204.               8        8        8        8
  205.  
  206.       LCSNET
  207.       ------
  208.  
  209.          The LCS NET at MIT's Laboratory for Computer Science uses 32
  210.          bit addresses of several formats.  Please see [3] for more
  211.          details.  The most common format locates the low order 24 bits
  212.          of the 32 bit LCS NET address in the 24 bit internet local
  213.          address, as shown below.
  214.  
  215.          The network number of the LCS NET is 18 (Class A).
  216.  
  217.          +--------+--------+--------+
  218.          | SUBNET |RESERVED|  HOST  |   LCSNET
  219.          +--------+--------+--------+
  220.               8        8        8
  221.  
  222.          +--------+--------+--------+--------+
  223.          |   18   | SUBNET |RESERVED|  HOST  |   IP
  224.          +--------+--------+--------+--------+
  225.               8        8        8        8
  226.  
  227.  
  228.  
  229.  
  230.  
  231. Postel                                                          [Page 4]
  232.  
  233.  
  234.                                                           September 1981
  235. RFC 796                                                 Address Mappings
  236.  
  237.  
  238.  
  239.       PRNET
  240.       -----
  241.  
  242.          The Packet Radio networks use 16 bit addresses.  These are
  243.          independent of location (indeed the hosts may be mobile).  The
  244.          16 bit PRNET addresses are located in the 24 bit internet local
  245.          address as shown below.
  246.  
  247.          The network numbers of the PRNETs are:
  248.  
  249.             BBN-PR      1 (Class A)
  250.             SF-PR-1     2 (Class A)
  251.             SILL-PR     5 (Class A)
  252.             SF-PR-2     6 (Class A)
  253.             BRAGG-PR    9 (Class A)
  254.             DC-PR      20 (Class A)
  255.  
  256.          +--------+--------+
  257.          |       HOST      |   PRNET
  258.          +--------+--------+
  259.                  16
  260.  
  261.          +--------+--------+--------+--------+
  262.          |   net  |  ZERO  |       HOST      |   IP
  263.          +--------+--------+--------+--------+
  264.               8        8           16
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289. Postel                                                          [Page 5]
  290.  
  291.  
  292.                                                           September 1981
  293. RFC 796                                                 Address Mappings
  294.  
  295.  
  296.  
  297.       SATNET
  298.       ------
  299.  
  300.          The Atlantic Satellite Packet Network has 16 bit addresses for
  301.          hosts.  These addresses may be assigned independent of location
  302.          (i.e., ground station).  It is also possible to assign several
  303.          addresses to one physical host, so the addresses are logical
  304.          addresses.  The 16 bit SATNET address is located in the 24 bit
  305.          internet local address as shown below.
  306.  
  307.          The network number of the SATNET is 4 (Class A).
  308.  
  309.          +--------+--------+
  310.          |       HOST      |   SATNET
  311.          +--------+--------+
  312.                  16
  313.  
  314.          +--------+--------+--------+--------+
  315.          |    4   |  ZERO  |       HOST      |   IP
  316.          +--------+--------+--------+--------+
  317.               8        8           16
  318.  
  319.       WBCNET
  320.       ------
  321.  
  322.          The Wideband Communication Satellite Packet Network (WBCNET)
  323.          Host Access Protocol (HAP) has 16 bit addresses for hosts.  It
  324.          is possible to assign several addresses to one physical host,
  325.          so the addresses are logical addresses.  The 16 bit WBCNET
  326.          address is divided into a HAP Number field and a Local Address
  327.          field, and is located in the 24 bit internet local address as
  328.          shown below.  Please see [2] for more details.
  329.  
  330.          The network number of the WBCNET is 28 (Class A).
  331.  
  332.          +--------+--------+
  333.          | HAP NUM| LCL ADD|   WBCNET
  334.          +--------+--------+
  335.               8        8
  336.  
  337.          +--------+--------+--------+--------+
  338.          |   28   | HAP NUM|  ZERO  | LCL ADD|   IP
  339.          +--------+--------+--------+--------+
  340.               8        8        8        8
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347. Postel                                                          [Page 6]
  348.  
  349.  
  350.                                                           September 1981
  351. RFC 796                                                 Address Mappings
  352.  
  353.  
  354.  
  355. References
  356. ----------
  357.  
  358.    [1]     Postel, J. (ed.), "Internet Protocol - DARPA Internet Program
  359.            Protocol Specification," RFC 791, USC/Information Sciences
  360.            Institute, September 1981.
  361.  
  362.    [2]     Pershing J., "Addressing Revisited," Bolt Beranek and Newman
  363.            Inc., W Note 27, May 1981.
  364.  
  365.    [3]     Noel Chiappa, David Clark, David Reed, "LCS Net Address
  366.            Format," M.I.T. Laboratory for Computer Science Network
  367.            Implementation, Note No.5, IEN 82, February 1979.
  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.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405. Postel                                                          [Page 7]
  406.  
  407.