home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 800s / rfc810.txt < prev    next >
Text File  |  1992-09-22  |  14KB  |  464 lines

  1.  
  2. Elizabeth Feinler                                         RFC 810
  3. Ken Harrenstien                                      1 March 1982
  4. Zaw-Sing Su                              References: RFC 811, 796
  5. Vic White                                      Obsoletes: RFC 608
  6. Network Information Center
  7. SRI International
  8.  
  9.               DoD INTERNET HOST TABLE SPECIFICATION
  10.  
  11.  
  12.  
  13. INTRODUCTION
  14.  
  15.     The ARPANET Official Network Host Table, as outlined in RFC 608, no
  16.    longer suits the needs of the DoD community, nor does it follow a
  17.    format suitable for internetting.  This paper specifies a new host
  18.    table format applicable to both ARPANET and Internet needs.
  19.  
  20.    In addition to host name to host address translation and selected
  21.    protocol information, we have also included network and gateway name
  22.    to address correspondence, and host operating system information.
  23.  
  24.    This Host Table is utilized by the DoD Host Name Server maintained by
  25.    the ARPANET Network Information Center (NIC) on behalf of the Defense
  26.    Communications Agency (DCA) (RFC 811).  It obsoletes the host table
  27.    described in RFC 608.
  28.  
  29. LOCATION OF THE STANDARD DoD ONLINE HOST TABLE
  30.  
  31.    A machine-translatable ASCII text version of the new DoD Host Table
  32.    is online in the file <NETINFO>HOSTS.TXT on the SRI-NIC host.  It can
  33.    be obtained by connecting to host SRI-NIC (10.0.0.73) from your local
  34.    FTP server, logging in as user=ANONYMOUS, password=GUEST, and doing a
  35.    'get' on <NETINFO>HOSTS.TXT.  The same table may also be obtained via
  36.    the NIC Host Name Server.
  37.  
  38.    NOTE:  See Appendix A. for timeframe for cutover.
  39.  
  40. ASSUMPTIONS
  41.  
  42.    1. A "name" (Net, Host, Gateway, or Domain name) is a text string up
  43.    to 24 characters drawn from the alphabet (A-Z), digits (0-9), and the
  44.    minus sign (-) and period (.).  No blank or space characters are
  45.    permitted as part of a name.  No distinction is made between upper
  46.    and lower case.  The first character must be a letter.  The last
  47.    character must not be a minus sign or period.  A host which serves as
  48.    a GATEWAY should have "-GATEWAY" or "-GW" as part of its name.  A
  49.    host which is a TIP or a TAC should have  "-TIP" or "-TAC" as part of
  50.    its host name, if it is an ARPANET or DoD host.
  51.  
  52.    2. Internet Addresses are 32-bit addresses (RFC 796).  In the host
  53.    table described herein each address is represented by four decimal
  54.    numbers separated by a period.  Each decimal number represents 1
  55.    octet.
  56.  
  57.                                                          [Page 1]
  58.  
  59.  
  60. RFC 810                                                     1 March 1982
  61.                                                 Host Table Specification
  62.                                                                         
  63.                                                                         
  64.    3. If the first bit of the first octet of the address is 0 (zero),
  65.    then the next 7 bits of the first octet indicate the network number
  66.    (Class A Address).  If the first two bits are 1,0 (one,zero), then
  67.    the next 14 bits define the net number (Class B Address).  If the
  68.    first 3 bits are 1,1,0 (one,one,zero), then the next 21 bits define
  69.    the net number (Class C Address) (RFC 796).
  70.  
  71.    This is depicted in the following diagram:
  72.  
  73.    +--------------+-----------------------------------------------+
  74.    |0|  NET <-7-> |      LOCAL ADDRESS  <-24->                    |
  75.    +--------------+-----------------------------------------------+
  76.  
  77.    +---+--------------------------+-------------------------------+
  78.    |1 0|       NET  <-14->        |  LOCAL ADDRESS  <-16->        |
  79.    +---+--------------------------+-------------------------------+
  80.  
  81.    +-----+----------------------------------------+---------------+
  82.    |1 1 0|           NET  <-21->                  | LOCAL ADDRESS |
  83.    +-----+----------------------------------------+---------------+
  84.  
  85.    4. The LOCAL ADDRESS portion of the internet address identifies a
  86.    host within the network specified by the NET portion of the address.
  87.  
  88.    5. For the ARPANET (a Class A network), the NET address is 10
  89.    (decimal) and the LOCAL ADDRESS maps as follows: the second octet
  90.    defines the physical host, the third octet defines the logical host,
  91.    and the fourth defines the IMP.
  92.  
  93.    +-+-------------+---------------+--------------+---------------+
  94.    |0|     10      |    HOST       | LOGICAL HOST |      IMP      |
  95.    +-+-------------+---------------+--------------+---------------+
  96.  
  97.    (NOTE:  RFC 796 describes the local address mappings for several
  98.    other networks.)
  99.  
  100.    6.  It is the responsibility of the user using this host table to
  101.    translate it into whatever format is needed for his or her purposes.
  102.  
  103.    7. Names and Addresses for DoD networks, gateways, and hosts will be
  104.    negotiated and registered with the Network Information Center
  105.    (NIC@SRI-NIC or (415) 859-4775) before being used and before traffic
  106.    is passed by a DoD host.  For an interim period the NIC will attempt
  107.    to keep similar information for non-DoD networks and hosts if this
  108.    information is provided, and as long as it is needed, i.e., until
  109.    intercommunicating network name servers are in place.
  110.  
  111. EXAMPLE OF NEW HOST TABLE FORMAT
  112.  
  113.    NET : 10.0.0.0 : ARPANET :
  114.  
  115. [Page 2]
  116.  
  117.  
  118. 1 March 1982                                                     RFC 810
  119. Host Table Specification
  120.                                                                         
  121.                                                                         
  122.    NET : 18.0.0.0 : LCSNET :
  123.    GATEWAY : 10.0.0.77, 18.8.0.4 : MIT-GW :: MOS : IP/GW :
  124.    HOST : 10.0.0.73 : SRI-NIC,NIC : FOONLY-F3 : TENEX :
  125.        NCP/TELNET,NCP/FTP, TCP/TELNET, TCP/FTP :
  126.    HOST: 10.2.0.11 : SU-TIP,FELT-TIP :::
  127.  
  128. SYNTAX AND CONVENTIONS
  129.  
  130.    ; (semicolon)      is used to denote the beginning of a comment.
  131.                       Any text on a given line following a ';' is
  132.                       comment, and not part of the host table.
  133.  
  134.    NET                keyword introducing a network name/address entry
  135.  
  136.    GATEWAY            keyword introducing a gateway name/address entry
  137.  
  138.    HOST               keyword introducing a host name/address entry
  139.  
  140.    : (colon)          is used as a field delimiter
  141.  
  142.    :: (2 colons)      indicates a null field
  143.  
  144.    , (comma)          is used as a data element delimiter
  145.  
  146.    XXX/YYY            indicates protocol information of the type
  147.                       TRANSPORT/SERVICE.
  148.  
  149.       where TRANSPORT/SERVICE options are specified as
  150.  
  151.          "FOO/BAR" - both transport and service known
  152.          "FOO"     - transport known; services not known or not
  153.                      running, OR
  154.          "BAR"     - name is known, what it does is not
  155.  
  156.          NOTE:  See Appendices B and C for specific options and
  157.                 acronyms.
  158.  
  159.    Each host table entry is an ASCII text string comprised of 6 fields,
  160.    where
  161.  
  162.       Field 1 = KEYWORD indicating whether this entry pertains
  163.                 to a NET, GATEWAY, or HOST.  NET entries cannot have
  164.                 alternate addresses or nicknames.
  165.       Field 2 = Internet Address of Network, Gateway, or Host
  166.                 followed by alternate addresses
  167.       Field 3 = Official Name of Network, Gateway, or Host
  168.                 (with optional nicknames)
  169.       Field 4 = Machine Type
  170.       Field 5 = Operating System
  171.       Field 6 = Protocol List
  172.  
  173.                                                          [Page 3]
  174.  
  175.  
  176. RFC 810                                                     1 March 1982
  177.                                                 Host Table Specification
  178.                                                                         
  179.                                                                         
  180.    Fields 4, 5 and 6 are optional.
  181.  
  182.    Fields 3-6, if available, pertain to the first address in Field 2.
  183.  
  184.    'Blanks' (spaces and tabs) are ignored between data elements or
  185.    fields, but are disallowed within a data element.
  186.  
  187.    Each entry ends with a colon.
  188.  
  189.    The host table will be sorted by internet address.
  190.  
  191. GRAMMATICAL HOST TABLE SPECIFICATION
  192.  
  193.    A. Parsing grammar
  194.  
  195.    <entry> ::= <keyword> ":" <addresses> ":" <names> [":" [<cputype>]
  196.                       [":" [<opsys>]  [":" [<protocol list>] ]]] ":"
  197.    <addresses> ::= <address> *["," <address>]
  198.    <address> ::= <octet> "." <octet> "." <octet> "." <octet>
  199.    <octet> ::= <0 to 255 decimal>
  200.    <names> ::= <netname> | <gatename>
  201.               | <official hostname> *["," <nicknames>]
  202.    <netname>  ::= <name>
  203.    <gatename> ::= <name>
  204.    <official hostname> ::= <name>
  205.    <nickname> ::= <name>
  206.    <protocol list> ::= <protocol spec> *["," <protocol spec>]
  207.    <protocol spec> ::= <transport name> "/" <service name> |
  208.                        <raw protocol name>
  209.  
  210.    B. Lexical grammar
  211.  
  212.    <entry-field> ::= <entry-text> [<cr><lf> <blank> <entry-field>]
  213.    <blank> ::= <space or tab>
  214.    <keyword> ::= NET | GATEWAY | HOST
  215.    <name> ::= <letter>[*[<letter-or-digit-or-hyphen>]<letter-or-digit>]
  216.    <cputype> ::= PDP-11/70 | DEC-1080 | C/30 | CDC-6400...etc.
  217.    <opsys>   ::= ITS | MULTICS | TOPS20 | UNIX...etc.
  218.    <transport name> ::= TCP | NCP | UDP | IP...etc.
  219.    <service name> ::= TELNET | FTP | SMTP | MTP...etc.
  220.    <raw protocol name> ::= <name>
  221.    <comment> ::= ";" <arbitrary text><cr><lf>
  222.  
  223.    Notes:
  224.  
  225.       1. Zero or more 'blanks' between separators " , : " are allowed.
  226.       'Blanks' are spaces and tabs.
  227.       2. Continuation lines are lines that begin with at least one
  228.       blank.  They may be used anywhere 'blanks' are legal to split an
  229.       entry across lines.
  230.  
  231. [Page 4]
  232.  
  233.  
  234. 1 March 1982                                                     RFC 810
  235. Host Table Specification
  236.                                                                         
  237.                                                                         
  238. BIBLIOGRAPHY
  239.  
  240.    1. Feinler, E. and Kudlick, M.  Host Names Online, RFC 608,
  241.       Network Information Center, SRI International, Jan. 1973.
  242.  
  243.    2. Postel, J.  Assigned Numbers, RFC 790, Information Sciences
  244.       Inst., Univ. of Southern Calif., Marina Del Rey, Sept. 1981.
  245.  
  246.    3. Postel, J.  Internet Protocol, RFC 791, Information Sciences
  247.       Inst., Univ. of Southern Calif., Marina Del Rey, Sept. 1981.
  248.  
  249.    4. Postel, J.  Address Mappings, RFC 796, Information Sciences
  250.       Inst., Univ. of Southern Calif., Marina Del Rey, Sept. 1981.
  251.  
  252.    5. Feinler, E., Harrenstien, K., Su, Z. and White, V.  Official
  253.       DoD Internet Host Table Specification, RFC 810, Network
  254.       Information Center, SRI International, March 1, 1982.
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  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.                                                          [Page 5]
  290.  
  291.  
  292. RFC 810                                                     1 March 1982
  293.                                                 Host Table Specification
  294.                                                                         
  295.                                                                         
  296.                       APPENDIX A.  CUTOVER DETAILS
  297.  
  298.  
  299.    The cutover date for use of the new host table is 1 May 1982.  The
  300.    table below indicates which files will contain the old or the new
  301.    versions of the host table for what period of time.  After 1 August
  302.    1982, the old format for <NETINFO>HOSTS.TXT (specified in RFC-608)
  303.    will no longer be supported.
  304.  
  305.    --------------------------------------------------------------------
  306.      May 1982               June-July 1982              August 1982 on
  307.    --------------------------------------------------------------------
  308.  
  309.    <NETINFO>HOSTS.TXT     <NETINFO>HOSTS.TXT        <NETINFO>HOSTS.TXT
  310.      old version            new version               new version
  311.  
  312.    <NETINFO>NHOSTS.TXT    <NETINFO>NHOSTS.TXT         old version
  313.      new version (test)     new version               discontinued
  314.  
  315.    <NETINFO>OHOSTS.TXT    <NETINFO>OHOSTS.TXT
  316.      old version            old version
  317.  
  318.    --------------------------------------------------------------------
  319.  
  320.    These periods of overlap should give implementors time to make the
  321.    necessary changes to programs accessing this file.
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347. [Page 6]
  348.  
  349.  
  350. 1 March 1982                                                     RFC 810
  351. Host Table Specification
  352.                                                                         
  353.                                                                         
  354.           APPENDIX B.  TRANSPORT/SERVICE OPTIONS AND ACRONYMS
  355.  
  356.  
  357. Current TRANSPORT/SERVICE options are:
  358.  
  359.    IP           TCP/FTP
  360.    IP/GW        TCP/MTP
  361.    NCP          TCP/NNS
  362.    NCP/FTP      TCP/RJE
  363.    NCP/RJE      TCP/SMTP
  364.    NCP/SMTP     TCP/TELNET
  365.    NCP/TELNET   TCP/TFTP
  366.    NCP/NNS      UDP
  367.    NVP
  368.    TCP
  369.  
  370.    Note: "TCP" implies IP is also implemented
  371.  
  372. Acronym definitions for the above protocol options are:
  373.  
  374.    FTP  - File Transfer Protocol
  375.    GW   - Gateway Protocol
  376.    IP   - Internet Protocol
  377.    MTP  - Mail Transfer Protocol
  378.    NCP  - Network Control Protocol
  379.    NNP  - NIC Internet Name Server Protocol
  380.    NVP  - Network Voice Protocol
  381.    RJE  - Remote Job Entry Protocol
  382.    SMTP - Simple Mail Transfer Protocol
  383.    TELNET - TELNET Protocol
  384.    TCP  - Transmission Control Protocol
  385.    TFTP - Trivial File Transfer Protocol
  386.    UDP  - User Datagram Protocol
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.                                                          [Page 7]
  406.  
  407.  
  408. RFC 810                                                     1 March 1982
  409.                                                 Host Table Specification
  410.                                                                         
  411.                                                                         
  412.                  APPENDIX C.  OPERATING SYSTEM ACRONYMS
  413.  
  414. Current operating system acronyms are:
  415.  
  416.    ASP          KRONOS       RSX11M      VMS
  417.    AUGUST       MCP          RT11        WAITS
  418.    BKY          MOS          SCOPE
  419.    CCP          MPX-RT       SIGNAL
  420.    DOS/360      MULTICS      SINTRAN
  421.    ELF          MVT          TENEX
  422.    EPOS         NOS          TOPS10
  423.    EXEC-8       NOS/BE       TOPS20
  424.    GCOS         OS/MVS       TSS
  425.    GPOS         OS/MVT       UNIX
  426.    ITS          RIG          VM/370
  427.    INTERCOM     RSX11        VM/CMS
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463. [Page 8]
  464.