home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 800s / rfc851.txt < prev    next >
Text File  |  1991-10-16  |  69KB  |  2,774 lines

  1.  
  2.  
  3.  
  4.  
  5.      Request for Comments: 851
  6.      Obsoletes RFC: 802
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                   The ARPANET 1822L Host Access Protocol
  14.  
  15.  
  16.  
  17.                                   RFC 851
  18.  
  19.  
  20.  
  21.  
  22.  
  23.                               Andrew G. Malis
  24.                        ARPANET Mail: malis@bbn-unix
  25.  
  26.  
  27.  
  28.  
  29.  
  30.                        Bolt Beranek and Newman Inc.
  31.                               50 Moulton St.
  32.                            Cambridge, MA  02238
  33.  
  34.  
  35.  
  36.  
  37.  
  38.                                 April 1983
  39.  
  40.  
  41.  
  42.  
  43.  
  44.      This RFC specifies the ARPANET 1822L Host Access Protocol,  which
  45.      is  a successor to the existing 1822 Host Access Protocol.  1822L
  46.      allows ARPANET hosts to use  logical  names  as  well  as  1822's
  47.      physical  port  locations to address each other.  The RFC is also
  48.      being  presented  as  a  solicitation  of  comments   on   1822L,
  49.      especially   from   host   network   software   implementers  and
  50.      maintainers.
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.      1822L Host Access Protocol                             April 1983
  62.      RFC 851
  63.  
  64.  
  65.  
  66.                              Table of Contents
  67.  
  68.  
  69.  
  70.  
  71.      1   INTRODUCTION.......................................... 1
  72.      2   THE ARPANET 1822L HOST ACCESS PROTOCOL................ 4
  73.      2.1   Addresses and Names................................. 6
  74.      2.2   Name Translations................................... 8
  75.      2.2.1   Authorization and Effectiveness................... 8
  76.      2.2.2   Translation Policies............................. 11
  77.      2.2.3   Reporting Destination Host Downs................. 13
  78.      2.2.4   1822L and 1822 Interoperability.................. 16
  79.      2.3   Uncontrolled Packets............................... 18
  80.      2.4   Establishing Host-IMP Communications............... 20
  81.      2.5   Counting RFMS When Using 1822L..................... 22
  82.      2.6   1822L Name Server.................................. 24
  83.      3   1822L LEADER FORMATS................................. 27
  84.      3.1   Host-to-IMP 1822L Leader Format.................... 28
  85.      3.2   IMP-to-Host 1822L Leader Format.................... 35
  86.      4   REFERENCES........................................... 43
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.                                    - i -
  117.  
  118.  
  119.  
  120.      1822L Host Access Protocol                             April 1983
  121.      RFC 851
  122.  
  123.  
  124.  
  125.                                   FIGURES
  126.  
  127.  
  128.  
  129.  
  130.      1822 Address Format....................................... 6
  131.      1822L Name Format......................................... 7
  132.      1822L Address Format...................................... 7
  133.      Communications between different host types.............. 17
  134.      Host-to-IMP 1822L Leader Format.......................... 28
  135.      NDM Message Format....................................... 31
  136.      IMP-to-Host 1822L Leader Format.......................... 35
  137.      Name Server Reply Format................................. 39
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.                                   - ii -
  176.  
  177.  
  178.  
  179.      1822L Host Access Protocol                             April 1983
  180.      RFC 851
  181.  
  182.  
  183.  
  184.      1  INTRODUCTION
  185.  
  186.  
  187.      This RFC specifies the ARPANET 1822L Host Access Protocol,  which
  188.  
  189.      will allow hosts to use logical addressing (i.e., host names that
  190.  
  191.      are independent of their physical location  on  the  ARPANET)  to
  192.  
  193.      communicate  with  each  other.  This new host access protocol is
  194.  
  195.      known as the ARPANET 1822L (for Logical)  Host  Access  Protocol,
  196.  
  197.      and  is  a  successor  to  the  current  ARPANET 1822 Host Access
  198.  
  199.      Protocol, which is described in  sections  3.3  and  3.4  of  BBN
  200.  
  201.      Report  1822  [1].   Although  the  1822L protocol uses different
  202.  
  203.      Host-IMP leaders than the 1822 protocol, the IMPs  will  continue
  204.  
  205.      to support the 1822 protocol, and hosts using either protocol can
  206.  
  207.      readily communicate with each other (the  IMPs  will  handle  the
  208.  
  209.      translation automatically).
  210.  
  211.  
  212.      There is one major restriction to the  new  1822L  protocol:   it
  213.  
  214.      will be implemented in C/30 IMPs only, and will therefore only be
  215.  
  216.      usable by hosts connected to C/30 IMPs, as Honeywell and Pluribus
  217.  
  218.      IMPs  do  not have sufficient memory to hold the new programs and
  219.  
  220.      tables.  This restriction  also  means  that  logical  addressing
  221.  
  222.      cannot  be used to identify a host on a non-C/30 IMP.  While this
  223.  
  224.      is not a problem on the ARPANET, which only has  C/30  IMPs,  the
  225.  
  226.      restriction  will  apply  if  logical  addressing  is used on any
  227.  
  228.      network that mixes C/30 and non-C/30 IMPs.
  229.  
  230.  
  231.  
  232.  
  233.  
  234.                                    - 1 -
  235.  
  236.  
  237.  
  238.      1822L Host Access Protocol                             April 1983
  239.      RFC 851
  240.  
  241.  
  242.  
  243.      The RFC's terminology is consistent  with  that  used  in  Report
  244.  
  245.      1822, and any new terms will be defined when they are first used.
  246.  
  247.      Familiarity  with  Report  1822  (section  3  in  particular)  is
  248.  
  249.      assumed.   As could be expected, the RFC makes many references to
  250.  
  251.      Report 1822.  As a result, it uses, as a convenient abbreviation,
  252.  
  253.      "see 1822(x)" instead of "please refer to Report 1822, section x,
  254.  
  255.      for further details".
  256.  
  257.  
  258.      This RFC updates, and obsoletes, RFC 802.  The changes from  that
  259.  
  260.      RFC include:
  261.  
  262.  
  263.      o The Short Blocking Feature, which had also  been  described  in
  264.  
  265.        RFC 802, now has its own RFC, RFC 852 [2].  It was moved to its
  266.  
  267.        own  RFC,  since  it  is  completely  independent  of   logical
  268.  
  269.        addressing.
  270.  
  271.  
  272.      o In section 2.2, descriptions of  the  three  address  selection
  273.  
  274.        policies and of host error handling have been added.
  275.  
  276.  
  277.      o In section 2.3, the IMP's uncontrolled packet service has  been
  278.  
  279.        further  improved.  This applies to hosts using 1822 as well as
  280.  
  281.        1822L.
  282.  
  283.  
  284.      o Pointers on using RFNM counting with 1822L have been  added  as
  285.  
  286.        section 2.5.
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.                                    - 2 -
  294.  
  295.  
  296.  
  297.      1822L Host Access Protocol                             April 1983
  298.      RFC 851
  299.  
  300.  
  301.  
  302.      o Section 2.6 describes the new "1822L name server" in  the  IMP,
  303.  
  304.        which  makes use of two new Host-to-IMP messages to allow hosts
  305.  
  306.        to do their own name-to-address mapping.
  307.  
  308.  
  309.      o In section 3.2, the subtypes for the type  15  (1822L  Name  or
  310.  
  311.        Address Error) IMP-to-Host message have been changed.
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  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.  
  348.  
  349.  
  350.  
  351.  
  352.                                    - 3 -
  353.  
  354.  
  355.  
  356.      1822L Host Access Protocol                             April 1983
  357.      RFC 851
  358.  
  359.  
  360.  
  361.      2  THE ARPANET 1822L HOST ACCESS PROTOCOL
  362.  
  363.  
  364.      The ARPANET 1822L Host Access  Protocol  allows  a  host  to  use
  365.  
  366.      logical  addressing  to  communicate  with  other  hosts  on  the
  367.  
  368.      ARPANET.  Basically, logical addressing allows hosts to refer  to
  369.  
  370.      each  other  using  an  1822L  name  (see  section  2.1) which is
  371.  
  372.      independent of a host's physical location in  the  network.   IEN
  373.  
  374.      183  (also  published  as  BBN  Report 4473) [3] gives the use of
  375.  
  376.      logical  addressing  considerable   justification.    Among   the
  377.  
  378.      advantages it cites are:
  379.  
  380.  
  381.      o The ability to refer to each host on  the  network  by  a  name
  382.  
  383.        independent of its location on the network.
  384.  
  385.  
  386.      o Allowing different hosts to share  the  same  host  port  on  a
  387.  
  388.        time-division basis.
  389.  
  390.  
  391.      o Allowing a host to use multi-homing (where a single  host  uses
  392.  
  393.        more than one port to communicate with the network).
  394.  
  395.  
  396.      o Allowing several hosts that provide the same service  to  share
  397.  
  398.        the same name.
  399.  
  400.  
  401.      The main differences between the 1822 and 1822L protocols are the
  402.  
  403.      format of the leaders that are used to introduce messages between
  404.  
  405.      a host and an IMP, and the specification in those leaders of  the
  406.  
  407.      source  and/or  destination  host(s).   Hosts  have the choice of
  408.  
  409.  
  410.  
  411.                                    - 4 -
  412.  
  413.  
  414.  
  415.      1822L Host Access Protocol                             April 1983
  416.      RFC 851
  417.  
  418.  
  419.  
  420.      using the 1822 or the 1822L protocol.  When a host comes up on an
  421.  
  422.      IMP,  it  declares  itself to be an 1822 host or an 1822L host by
  423.  
  424.      the type of NOP message (see section  3.1)  it  uses.   Once  up,
  425.  
  426.      hosts  can  switch  from  one protocol to the other by issuing an
  427.  
  428.      appropriate NOP.  Hosts that do not use the 1822L  protocol  will
  429.  
  430.      still  be  addressable by and can communicate with hosts that do,
  431.  
  432.      and vice-versa.
  433.  
  434.  
  435.      Another difference between the two protocols  is  that  the  1822
  436.  
  437.      leaders are symmetric, while the 1822L leaders are not.  The term
  438.  
  439.      symmetric means that in the 1822 protocol, the exact same  leader
  440.  
  441.      format  is used for messages in both directions between the hosts
  442.  
  443.      and IMPs.  For example, a leader sent from a host  over  a  cable
  444.  
  445.      that  was  looped  back onto itself (via a looping plug or faulty
  446.  
  447.      hardware) would arrive back at the host and appear to be a  legal
  448.  
  449.      message  from  a  real host (the destination host of the original
  450.  
  451.      message).  In contrast, the 1822L headers are not symmetric,  and
  452.  
  453.      a  host  can  detect  if  the  connection to its IMP is looped by
  454.  
  455.      receiving a message with the wrong leader  format.   This  allows
  456.  
  457.      the host to take appropriate action upon detection of the loop.
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.                                    - 5 -
  471.  
  472.  
  473.  
  474.      1822L Host Access Protocol                             April 1983
  475.      RFC 851
  476.  
  477.  
  478.  
  479.      2.1  Addresses and Names
  480.  
  481.  
  482.      The 1822 protocol defines one form of host specification, and the
  483.  
  484.      1822L  protocol  defines  two additional ways to identify network
  485.  
  486.      hosts.  These three forms are 1822 addresses,  1822L  names,  and
  487.  
  488.      1822L addresses.
  489.  
  490.  
  491.      1822 addresses are  the  24-bit  host  addresses  found  in  1822
  492.  
  493.      leaders.  They have the following format:
  494.  
  495.  
  496.  
  497.             1              8 9                              24
  498.            +----------------+---------------------------------+
  499.            |                |                                 |
  500.            |  Host number   |           IMP number            |
  501.            |                |                                 |
  502.            +----------------+---------------------------------+
  503.  
  504.                       Figure 1. 1822 Address Format
  505.  
  506.  
  507.  
  508.      These fields are quite large, and the ARPANET will never use more
  509.  
  510.      than  a  fraction of the available address space.  1822 addresses
  511.  
  512.      are used in 1822 leaders only.
  513.  
  514.  
  515.      1822L names are 16-bit unsigned numbers that serve as  a  logical
  516.  
  517.      identifier  for  one  or  more  hosts.   1822L  names have a much
  518.  
  519.      simpler format:
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.                                    - 6 -
  530.  
  531.  
  532.  
  533.      1822L Host Access Protocol                             April 1983
  534.      RFC 851
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.                      1                             16
  542.                     +--------------------------------+
  543.                     |                                |
  544.                     |           1822L name           |
  545.                     |                                |
  546.                     +--------------------------------+
  547.  
  548.                        Figure 2. 1822L Name Format
  549.  
  550.  
  551.  
  552.      The 1822L names are just 16-bit  unsigned  numbers,  except  that
  553.  
  554.      bits  1  and  2 are not both zeros (see below).  This allows over
  555.  
  556.      49,000 hosts to be specified.
  557.  
  558.  
  559.      1822 addresses cannot be used in 1822L leaders, but there may  be
  560.  
  561.      a  requirement for an 1822L host to be able to address a specific
  562.  
  563.      physical host port or IMP fake host.  1822L  addresses  are  used
  564.  
  565.      for  this  function.   1822L addresses form a subset of the 1822L
  566.  
  567.      name space, and have both bits 1 and 2 off.
  568.  
  569.  
  570.  
  571.                     1   2  3          8 9             16
  572.                   +---+---+------------+----------------+
  573.                   |   |   |            |                |
  574.                   | 0 | 0 |   host #   |   IMP number   |
  575.                   |   |   |            |                |
  576.                   +---+---+------------+----------------+
  577.  
  578.                       Figure 3. 1822L Address Format
  579.  
  580.  
  581.  
  582.      This format allows 1822L hosts to directly address hosts 0-63  at
  583.  
  584.      IMPs  1-255  (IMP  0 does not exist).  Note that the highest host
  585.  
  586.  
  587.  
  588.                                    - 7 -
  589.  
  590.  
  591.  
  592.      1822L Host Access Protocol                             April 1983
  593.      RFC 851
  594.  
  595.  
  596.  
  597.      numbers are reserved  for  addressing  the  IMP's  internal  fake
  598.  
  599.      hosts.   At  this  writing, the IMP has seven fake hosts, so host
  600.  
  601.      numbers 57-63 address the IMP fake hosts, while host numbers 0-56
  602.  
  603.      address  real  hosts  external  to the IMP.  As the number of IMP
  604.  
  605.      fake hosts changes, this boundary point will also change.
  606.  
  607.  
  608.  
  609.  
  610.      2.2  Name Translations
  611.  
  612.  
  613.      There are a number of factors that determine how an 1822L name is
  614.  
  615.      translated  by  the  IMP  into a physical address on the network.
  616.  
  617.      These factors include which translations are legal; in what order
  618.  
  619.      different  translations  for  the  same name should be attempted;
  620.  
  621.      which  legal  translations  shouldn't  be  attempted  because   a
  622.  
  623.      particular  host  port  is down; and the interoperability between
  624.  
  625.      1822  and  1822L  hosts.   These  issues  are  discussed  in  the
  626.  
  627.      following sections.
  628.  
  629.  
  630.  
  631.  
  632.      2.2.1  Authorization and Effectiveness
  633.  
  634.  
  635.      Every host on a C/30 IMP, regardless of whether it is  using  the
  636.  
  637.      1822  or  1822L  protocol  to access the network, can have one or
  638.  
  639.      more 1822L names (logical addresses).  Hosts using 1822L can then
  640.  
  641.      use  these  names to address the hosts in the network independent
  642.  
  643.      of their  physical  locations.   Because  of  the  implementation
  644.  
  645.  
  646.  
  647.                                    - 8 -
  648.  
  649.  
  650.  
  651.      1822L Host Access Protocol                             April 1983
  652.      RFC 851
  653.  
  654.  
  655.  
  656.      constraints mentioned in the introduction, hosts on non-C/30 IMPs
  657.  
  658.      cannot be assigned 1822L names.  To circumvent this  restriction,
  659.  
  660.      however,  1822L  hosts can also use 1822L addresses to access all
  661.  
  662.      of the other hosts.
  663.  
  664.  
  665.      At this point, several questions  arise:   How  are  these  names
  666.  
  667.      assigned,  how  do  they  become  known  to  the  IMPs  (so  that
  668.  
  669.      translations to physical addresses can be made), and how  do  the
  670.  
  671.      IMPs know which host is currently using a shared port?  To answer
  672.  
  673.      each question in order:
  674.  
  675.  
  676.      Names are assigned by a central network administrator.  When each
  677.  
  678.      name  is  created, it is assigned to a host (or a group of hosts)
  679.  
  680.      at one or more specific host ports.  The host(s) are  allowed  to
  681.  
  682.      reside at those specific host ports, and nowhere else.  If a host
  683.  
  684.      moves, it will keep the same name, but the administrator  has  to
  685.  
  686.      update  the  central  database  to  reflect  the  new  host port.
  687.  
  688.      Changes to this database are  distributed  to  the  IMPs  by  the
  689.  
  690.      Network  Operations  Center  (NOC).  For a while, the host may be
  691.  
  692.      allowed to reside at either of (or both) the new and  old  ports.
  693.  
  694.      Once  the  correspondence  between  a  name and one or more hosts
  695.  
  696.      ports where it  may  be  used  has  been  made  official  by  the
  697.  
  698.      administrator,   that  name  is  said  to  be  authorized.  1822L
  699.  
  700.      addresses, which actually  refer  to  physical  host  ports,  are
  701.  
  702.      always authorized in this sense.
  703.  
  704.  
  705.  
  706.                                    - 9 -
  707.  
  708.  
  709.  
  710.      1822L Host Access Protocol                             April 1983
  711.      RFC 851
  712.  
  713.  
  714.  
  715.      Once a host has been assigned one or more names, it  has  to  let
  716.  
  717.      the  IMPs  know  where it is and what name(s) it is using.  There
  718.  
  719.      are two cases to consider, one for 1822L hosts  and  another  for
  720.  
  721.      1822  hosts.   The following discussion only pertains to hosts on
  722.  
  723.      C/30 IMPs.
  724.  
  725.  
  726.      When an IMP sees an 1822L host come up on a host  port,  the  IMP
  727.  
  728.      has  no way of knowing which host has just come up (several hosts
  729.  
  730.      may share the same port, or one host may prefer to  be  known  by
  731.  
  732.      different  names  at different times).  This requires the host to
  733.  
  734.      declare itself to the IMP before it can actually send and receive
  735.  
  736.      messages.   This  function  is  performed  by  a  new host-to-IMP
  737.  
  738.      message, the Name Declaration  Message  (NDM),  which  lists  the
  739.  
  740.      names  that  the  host would like to be known by.  The IMP checks
  741.  
  742.      its tables to see if each of the names is authorized,  and  sends
  743.  
  744.      an  NDM  Reply  to  the  host  saying  which  names were actually
  745.  
  746.      authorized and can now be used for sending and receiving messages
  747.  
  748.      (i.e.,  which  names  are  effective). A host can also use an NDM
  749.  
  750.      message to change its list of effective names (it can add to  and
  751.  
  752.      delete  from  the  list) at any time.  The only constraint on the
  753.  
  754.      host is that any names it wishes to use can become effective only
  755.  
  756.      if they are authorized.
  757.  
  758.  
  759.      In the second case, if a host comes up on a C/30  IMP  using  the
  760.  
  761.      1822 protocol, the IMP automatically makes the first name the IMP
  762.  
  763.  
  764.  
  765.                                   - 10 -
  766.  
  767.  
  768.  
  769.      1822L Host Access Protocol                             April 1983
  770.      RFC 851
  771.  
  772.  
  773.  
  774.      finds in its tables for that host become effective.   Thus,  even
  775.  
  776.      though  the host is using the 1822 protocol, it can still receive
  777.  
  778.      messages from 1822L hosts via its 1822L name.  Of course, it  can
  779.  
  780.      also receive messages from an 1822L host via its 1822L address as
  781.  
  782.      well.   (Remember,  the  distinction  between  1822L  names   and
  783.  
  784.      addresses  is that the addresses correspond to physical locations
  785.  
  786.      on  the  network,  while   the   names   are   strictly   logical
  787.  
  788.      identifiers).   The  IMPs translate between the different leaders
  789.  
  790.      and send the proper leader in each case (see section 2.2.4).
  791.  
  792.  
  793.      The third question above has by now already been answered.   When
  794.  
  795.      an  1822L  host comes up, it uses the NDM message to tell the IMP
  796.  
  797.      which host it is (which names it is known by).  Even if this is a
  798.  
  799.      shared port, the IMP knows which host is currently connected.
  800.  
  801.  
  802.      Whenever a host goes down, its names  automatically  become  non-
  803.  
  804.      effective.   When it comes back up, it has to make them effective
  805.  
  806.      again.
  807.  
  808.  
  809.  
  810.  
  811.      2.2.2  Translation Policies
  812.  
  813.  
  814.      Several hosts can share the same 1822L name.  If more than one of
  815.  
  816.      these  hosts  is  up  at the same time, any messages sent to that
  817.  
  818.      1822L name will be delivered to just one  of  the  hosts  sharing
  819.  
  820.      that  name,  and  a RFNM will be returned as usual.  However, the
  821.  
  822.  
  823.  
  824.                                   - 11 -
  825.  
  826.  
  827.  
  828.      1822L Host Access Protocol                             April 1983
  829.      RFC 851
  830.  
  831.  
  832.  
  833.      sending host will  not  receive  any  indication  of  which  host
  834.  
  835.      received  the  message,  and subsequent messages to that name are
  836.  
  837.      not guaranteed to be sent to the  same  host.   Typically,  hosts
  838.  
  839.      providing  exactly  the  same  service could share the same 1822L
  840.  
  841.      name in this manner.
  842.  
  843.  
  844.      Similarly, when a host is multi-homed, the same  1822L  name  may
  845.  
  846.      refer  to  more  than  one  host  port (all connected to the same
  847.  
  848.      host).  If the host is up on only one of those ports,  that  port
  849.  
  850.      will be used for all messages addressed to the host.  However, if
  851.  
  852.      the host were up on more than one  port,  the  message  would  be
  853.  
  854.      delivered  over  just  one  of  those ports, and the subnet would
  855.  
  856.      choose which port to use.  This port selection could change  from
  857.  
  858.      message  to  message.   If  a  host wanted to insure that certain
  859.  
  860.      messages were delivered to it on specific ports,  these  messages
  861.  
  862.      could  use  either  the  port's 1822L address or a specific 1822L
  863.  
  864.      name that referred to that port alone.
  865.  
  866.  
  867.      Three different address selection policies are available for  the
  868.  
  869.      name mapping process.  When translated, each name uses one of the
  870.  
  871.      three policies  (the  policy  is  pre-determined  on  a  per-name
  872.  
  873.      basis).  The three policies are:
  874.  
  875.  
  876.      o  Attempt each translation in the order in  which  the  physical
  877.  
  878.         addresses  are listed in the IMP's translation tables, to find
  879.  
  880.  
  881.  
  882.  
  883.                                   - 12 -
  884.  
  885.  
  886.  
  887.      1822L Host Access Protocol                             April 1983
  888.      RFC 851
  889.  
  890.  
  891.  
  892.         the first reachable  physical  host  address.   This  list  is
  893.  
  894.         always  searched  from the top whenever an uncontrolled packet
  895.  
  896.         is to be sent or an end-to-end connection has to  be  created.
  897.  
  898.         This is the most commonly used policy.
  899.  
  900.  
  901.      o  Selection of the closest  physical  address,  which  uses  the
  902.  
  903.         IMP's   routing   tables   to  find  the  translation  to  the
  904.  
  905.         destination IMP with the least delay path.
  906.  
  907.  
  908.      o  Use load leveling. This is similar to the second  policy,  but
  909.  
  910.         differs  in  that  searching  the  address  list  for  a valid
  911.  
  912.         translation starts at the address following where the previous
  913.  
  914.         translation  search  ended.   This  attempts to spread out the
  915.  
  916.         load from any one  IMP's  hosts  to  the  various  host  ports
  917.  
  918.         associated  with  a  particular  name.   Note that this is NOT
  919.  
  920.         network-wide load leveling, which would require a  distributed
  921.  
  922.         algorithm and tables.
  923.  
  924.  
  925.  
  926.  
  927.      2.2.3  Reporting Destination Host Downs
  928.  
  929.  
  930.      As was explained in report 1822, and  as  will  be  discussed  in
  931.  
  932.      greater detail in section 2.5, whenever regular messages are sent
  933.  
  934.      by a  host,  the  IMP  opens  a  subnetwork  connection  to  each
  935.  
  936.      destination  host  from  the source host.  A connection will stay
  937.  
  938.      open at least as long as there are  any  outstanding  (un-RFNMed)
  939.  
  940.  
  941.  
  942.                                   - 13 -
  943.  
  944.  
  945.  
  946.      1822L Host Access Protocol                             April 1983
  947.      RFC 851
  948.  
  949.  
  950.  
  951.      messages  using it and both the source and destination hosts stay
  952.  
  953.      up.
  954.  
  955.  
  956.      However, the destination host may go down for some reason  during
  957.  
  958.      the  lifetime of a connection.  If the host goes down while there
  959.  
  960.      are no outstanding messages  to  it  in  the  network,  then  the
  961.  
  962.      connection  is  closed  and  no  other  action is taken until the
  963.  
  964.      source host submits the next message for  that  destination.   At
  965.  
  966.      that time, ONE of the following events will occur:
  967.  
  968.      A1.  If 1822 or an 1822L address is being  used  to  specify  the
  969.  
  970.           destination host, then the source host will receive a type 7
  971.  
  972.           (Destination Host Dead) message from the IMP.
  973.  
  974.      A2.  If an 1822L name is being used to  specify  the  destination
  975.  
  976.           host,  and  the  name maps to only one authorized host port,
  977.  
  978.           then a type 7 message will also be sent to the source host.
  979.  
  980.      A3.  If an 1822L name is being used to  specify  the  destination
  981.  
  982.           host,  and  the  name  maps to more than one authorized host
  983.  
  984.           port, then the IMP attempts to open a connection to  another
  985.  
  986.           authorized  and  effective  host  port for that name.  If no
  987.  
  988.           such connection can be made, the host will receive a type 15
  989.  
  990.           (1822L  Name  or  Address  Error),  subtype  5 (no effective
  991.  
  992.           translations) message (see section 3.2).  Note that a type 7
  993.  
  994.           message  cannot be returned to the source host, since type 7
  995.  
  996.           messages refer to a particular destination  host  port,  and
  997.  
  998.  
  999.  
  1000.  
  1001.                                   - 14 -
  1002.  
  1003.  
  1004.  
  1005.      1822L Host Access Protocol                             April 1983
  1006.      RFC 851
  1007.  
  1008.  
  1009.  
  1010.           the name maps to more than one destination port.
  1011.  
  1012.  
  1013.      Things get a bit more complicated if there  are  any  outstanding
  1014.  
  1015.      messages  on  the connection when the destination host goes down.
  1016.  
  1017.      The connection will be closed, and  one  of  the  following  will
  1018.  
  1019.      occur:
  1020.  
  1021.      B1.  If 1822 or an 1822L address is being  used  to  specify  the
  1022.  
  1023.           destination host, then the source host will receive a type 7
  1024.  
  1025.           message for each outstanding message.
  1026.  
  1027.      B2.  If an 1822L name is being used to  specify  the  destination
  1028.  
  1029.           host, then the source host will receive a type 9 (Incomplete
  1030.  
  1031.           Transmission),  subtype  3  (message  lost  due  to  network
  1032.  
  1033.           failure)  message  for  each  outstanding message.  The next
  1034.  
  1035.           time the source host submits another message for  that  same
  1036.  
  1037.           destination  name,  the  previous  algorithm  will  be  used
  1038.  
  1039.           (either step A2 or step A3).
  1040.  
  1041.  
  1042.      The above two algorithms also apply when a  host  stays  up,  but
  1043.  
  1044.      declares  the  destination  name for an existing connection to no
  1045.  
  1046.      longer be effective.  In this case, however, the type 7  messages
  1047.  
  1048.      above will be replaced by type 15, subtype 3 (name not effective)
  1049.  
  1050.      messages.
  1051.  
  1052.  
  1053.      Section 2.3 discusses how destination host downs are handled  for
  1054.  
  1055.      uncontrolled packets.
  1056.  
  1057.  
  1058.  
  1059.  
  1060.                                   - 15 -
  1061.  
  1062.  
  1063.  
  1064.      1822L Host Access Protocol                             April 1983
  1065.      RFC 851
  1066.  
  1067.  
  1068.  
  1069.      2.2.4  1822L and 1822 Interoperability
  1070.  
  1071.  
  1072.      As  has  been  previously  stated,  1822  and  1822L  hosts   can
  1073.  
  1074.      intercommunicate,  and  the  IMPs  will  automatically handle any
  1075.  
  1076.      necessary leader and address format  conversions.   However,  not
  1077.  
  1078.      every   combination   of   1822   and  1822L  hosts  allows  full
  1079.  
  1080.      interoperability with regard to the use of 1822L names.
  1081.  
  1082.  
  1083.      The   following   figure   illustrates   how   these   addressing
  1084.  
  1085.      combinations  are  handled,  showing  how  each  type of host can
  1086.  
  1087.      access every other type of host.  There are three types of hosts:
  1088.  
  1089.      "1822  on  C/30"  signifies  an  1822 host that is on a C/30 IMP,
  1090.  
  1091.      "1822L" signifies an 1822L host (on a C/30  IMP),  and  "1822  on
  1092.  
  1093.      non-C/30"  signifies  a  host  on  an  non-C/30 IMP (which cannot
  1094.  
  1095.      support the 1822L protocol).  The table entry shows the  protocol
  1096.  
  1097.      and  host address format(s) that the source host can use to reach
  1098.  
  1099.      the destination host.
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.                                   - 16 -
  1120.  
  1121.  
  1122.  
  1123.      1822L Host Access Protocol                             April 1983
  1124.      RFC 851
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.                                  Destination Host
  1132.        Source
  1133.        Host    | 1822 on C/30   | 1822L          | 1822 on non-C/30
  1134.        --------+----------------+----------------+-----------------
  1135.                |                |                |
  1136.        1822 on | 1822           | 1822           | 1822
  1137.        C/30    |                | (note 1)       |
  1138.                |                |                |
  1139.        --------+----------------+----------------+-----------------
  1140.                |                |                |
  1141.                | 1822L, using   | 1822L, using   | 1822L, using
  1142.        1822L   | 1822L name or  | 1822L name or  | 1822L address
  1143.                |address (note 2)| address        | only (note 2)
  1144.                |                |                |
  1145.        --------+----------------+----------------+-----------------
  1146.                |                |                |
  1147.        1822 on | 1822           | 1822           | 1822
  1148.        non-C/30|                | (note 1)       |
  1149.                |                |                |
  1150.        --------+----------------+----------------+-----------------
  1151.  
  1152.        Note 1: The message is presented  to  the  destination  host
  1153.                with  an 1822L leader containing the 1822L addresses
  1154.                of the source  and  destination  hosts.   If  either
  1155.                address  cannot be encoded as an 1822L address, then
  1156.                the message is not delivered and an error message is
  1157.                sent to the source host.
  1158.  
  1159.        Note 2: The message is presented  to  the  destination  host
  1160.                with  an  1822 leader containing the 1822 address of
  1161.                the source host.
  1162.  
  1163.  
  1164.           Figure 4. Communications between different host types
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.                                   - 17 -
  1179.  
  1180.  
  1181.  
  1182.      1822L Host Access Protocol                             April 1983
  1183.      RFC 851
  1184.  
  1185.  
  1186.  
  1187.      2.3  Uncontrolled Packets
  1188.  
  1189.  
  1190.      Uncontrolled packets (see 1822(3.6)) present a unique problem for
  1191.  
  1192.      the  1822L protocol.  Uncontrolled packets use none of the normal
  1193.  
  1194.      ordering and error-control mechanisms in the IMP, and do not  use
  1195.  
  1196.      the  normal  subnetwork  connection  facilities.   As  a  result,
  1197.  
  1198.      uncontrolled packets need to carry all  of  their  overhead  with
  1199.  
  1200.      them, including source and destination names.  If 1822L names are
  1201.  
  1202.      used when sending an uncontrolled packet, additional  information
  1203.  
  1204.      is  now required by the subnetwork when the packet is transferred
  1205.  
  1206.      to the destination IMP.  This means that less  host-to-host  data
  1207.  
  1208.      can  be  contained  in  the  packet than is possible between 1822
  1209.  
  1210.      hosts.
  1211.  
  1212.  
  1213.      Uncontrolled packets that are sent between 1822 hosts may contain
  1214.  
  1215.      not  more  than  991 bits of data.  Uncontrolled packets that are
  1216.  
  1217.      sent to and/or from 1822L hosts are limited to 32 bits  less,  or
  1218.  
  1219.      not  more  than  959  bits.  Packets that exceed this length will
  1220.  
  1221.      result in an error indication to the host, and  the  packet  will
  1222.  
  1223.      not  be sent.  This error indication represents an enhancement to
  1224.  
  1225.      the previous level of service provided by the  IMP,  which  would
  1226.  
  1227.      simply   discard  an  overly  long  uncontrolled  packet  without
  1228.  
  1229.      notification.
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.                                   - 18 -
  1238.  
  1239.  
  1240.  
  1241.      1822L Host Access Protocol                             April 1983
  1242.      RFC 851
  1243.  
  1244.  
  1245.  
  1246.      Other enhancements that  are  provided  for  uncontrolled  packet
  1247.  
  1248.      service  are  a  notification  to the host of any errors that are
  1249.  
  1250.      detected by the host's IMP when it receives the packet.   A  host
  1251.  
  1252.      will  be  notified if an uncontrolled packet contains an error in
  1253.  
  1254.      the 1822L  name  specification,  such  as  if  the  name  is  not
  1255.  
  1256.      authorized or effective, if the remote host is unreachable (which
  1257.  
  1258.      is indicated by none of its names being  effective),  if  network
  1259.  
  1260.      congestion control throttled the packet before it left the source
  1261.  
  1262.      IMP, or for any other reason the source IMP was not able to  send
  1263.  
  1264.      the packet on its way.
  1265.  
  1266.  
  1267.      In most cases, the host will not be notified if the  uncontrolled
  1268.  
  1269.      packet  was  lost  once  it  was  transmitted  by the source IMP.
  1270.  
  1271.      However, the IMP will attempt to notify  the  source  host  if  a
  1272.  
  1273.      logically-addressed  uncontrolled packet was mistakenly sent to a
  1274.  
  1275.      host that the source IMP thought was effective, but which  turned
  1276.  
  1277.      out  to  be  dead  or non-effective at the destination IMP.  This
  1278.  
  1279.      non-delivery notice  is  sent  back  to  the  source  IMP  as  an
  1280.  
  1281.      uncontrolled  packet from the destination IMP, so the source host
  1282.  
  1283.      is not guaranteed to receive this indication.
  1284.  
  1285.  
  1286.      If the source IMP successfully receives the non-delivery  notice,
  1287.  
  1288.      then  the  source  host  will  receive  a  type 15 (1822L Name or
  1289.  
  1290.      Address Error), subtype 6 (down or non-effective  port)  message.
  1291.  
  1292.      If  the  packet  is  resubmitted or another packet is sent to the
  1293.  
  1294.  
  1295.  
  1296.                                   - 19 -
  1297.  
  1298.  
  1299.  
  1300.      1822L Host Access Protocol                             April 1983
  1301.      RFC 851
  1302.  
  1303.  
  1304.  
  1305.      same destination name,  and  there  are  no  available  effective
  1306.  
  1307.      translations,  then  the  source  host  will  receive  a type 15,
  1308.  
  1309.      subtype 5 (no effective translations) message if the  destination
  1310.  
  1311.      name  has  more than one mapping; or will receive either a type 7
  1312.  
  1313.      (Destination Host Dead)  or  a  type  15,  subtype  3  (name  not
  1314.  
  1315.      effective)   message   if  the  destination  name  has  a  single
  1316.  
  1317.      translation.
  1318.  
  1319.  
  1320.      Those enhancements to the uncontrolled packet  service  that  are
  1321.  
  1322.      not  specific  to  logical  addressing will be available to hosts
  1323.  
  1324.      using  1822  as  well  as  1822L.   However,  logically-addressed
  1325.  
  1326.      uncontrolled  packets  must  be  used  in  order  to  receive any
  1327.  
  1328.      indication that the packet was lost once it has left  the  source
  1329.  
  1330.      IMP.
  1331.  
  1332.  
  1333.  
  1334.  
  1335.      2.4  Establishing Host-IMP Communications
  1336.  
  1337.  
  1338.      When a host comes up on an IMP, or after there has been  a  break
  1339.  
  1340.      in   the  communications  between  the  host  and  its  IMP  (see
  1341.  
  1342.      1822(3.2)), the orderly flow of messages between the host and the
  1343.  
  1344.      IMP  needs  to  be properly (re)established.  This allows the IMP
  1345.  
  1346.      and host to recover from most any failure  in  the  other  or  in
  1347.  
  1348.      their communications path, including a break in mid-message.
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.                                   - 20 -
  1356.  
  1357.  
  1358.  
  1359.      1822L Host Access Protocol                             April 1983
  1360.      RFC 851
  1361.  
  1362.  
  1363.  
  1364.      The first messages that a host should send to its IMP  are  three
  1365.  
  1366.      NOP  messages.   Three  messages  are  required to insure that at
  1367.  
  1368.      least one message will be properly read by the IMP (the first NOP
  1369.  
  1370.      could be concatenated to a previous message if communications had
  1371.  
  1372.      been broken in mid-stream, and the third provides redundancy  for
  1373.  
  1374.      the   second).    These   NOPs   serve  several  functions:  they
  1375.  
  1376.      synchronize the IMP with the host, they tell  the  IMP  how  much
  1377.  
  1378.      padding  the  host  requires  between  the message leader and its
  1379.  
  1380.      body, and they also tell the IMP whether the host will  be  using
  1381.  
  1382.      1822 or 1822L leaders.
  1383.  
  1384.  
  1385.      Similarly, the IMP will send three  NOPs  to  the  host  when  it
  1386.  
  1387.      detects  that  the host has come up.  Actually, the IMP will send
  1388.  
  1389.      six NOPs, alternating three 1822  NOPs  with  three  1822L  NOPs.
  1390.  
  1391.      Thus, the host will see three NOPs no matter which protocol it is
  1392.  
  1393.      using.   The  NOPs  will  be  followed  by  two  Interface  Reset
  1394.  
  1395.      messages,  one of each style.  If the IMP receives a NOP from the
  1396.  
  1397.      host while the above sequence is occurring,  the  IMP  will  only
  1398.  
  1399.      send  the  remainder  of  the NOPs and the Interface Reset in the
  1400.  
  1401.      proper style.  The 1822 NOPs will contain the 1822 address of the
  1402.  
  1403.      host interface, and the 1822L NOPs will contain the corresponding
  1404.  
  1405.      1822L address.
  1406.  
  1407.  
  1408.      Once the IMP  and  the  host  have  sent  each  other  the  above
  1409.  
  1410.      messages, regular communications can commence.  See 1822(3.2) for
  1411.  
  1412.  
  1413.  
  1414.                                   - 21 -
  1415.  
  1416.  
  1417.  
  1418.      1822L Host Access Protocol                             April 1983
  1419.      RFC 851
  1420.  
  1421.  
  1422.  
  1423.      further details concerning the ready line,  host  tardiness,  and
  1424.  
  1425.      other issues.
  1426.  
  1427.  
  1428.  
  1429.  
  1430.      2.5  Counting RFMS When Using 1822L
  1431.  
  1432.  
  1433.      When a host submits a regular message using an 1822  leader,  the
  1434.  
  1435.      IMP  checks  for  an  existing simplex virtual circuit connection
  1436.  
  1437.      from the  source  host  to  the  destination  host.   If  such  a
  1438.  
  1439.      connection   already  exists,  it  is  used.   Otherwise,  a  new
  1440.  
  1441.      connection from the source host port to the destination host port
  1442.  
  1443.      is  opened.   In either case, there may be at most eight messages
  1444.  
  1445.      outstanding on that connection  at  any  one  time.   If  a  host
  1446.  
  1447.      submits  a  ninth message on that connection before it receives a
  1448.  
  1449.      reply for the first message, then the host will be blocked  until
  1450.  
  1451.      the reply is sent for the first message.
  1452.  
  1453.  
  1454.      Such connections can stay open for some time, but are  timed  out
  1455.  
  1456.      after  three minutes of no activity, or can be closed if there is
  1457.  
  1458.      contention for the connection blocks  in  either  the  source  or
  1459.  
  1460.      destination  IMP.   However, a connection will never be closed as
  1461.  
  1462.      long as there are any outstanding messages on it.  This allows  a
  1463.  
  1464.      source  host  to  count the number of replies it has received for
  1465.  
  1466.      messages to each destination host address in order to avoid being
  1467.  
  1468.      blocked   by  submitting  a  ninth  outstanding  message  on  any
  1469.  
  1470.  
  1471.  
  1472.  
  1473.                                   - 22 -
  1474.  
  1475.  
  1476.  
  1477.      1822L Host Access Protocol                             April 1983
  1478.      RFC 851
  1479.  
  1480.  
  1481.  
  1482.      connection.
  1483.  
  1484.  
  1485.      When a host submits a regular message using an  1822L  leader,  a
  1486.  
  1487.      similar process occurs, except that in this case, connections are
  1488.  
  1489.      distinguished by the source  name/destination  name  combination.
  1490.  
  1491.      When the message is received from a host, the IMP first looks for
  1492.  
  1493.      an open connection for that  same  source  name/destination  name
  1494.  
  1495.      pair.   If  such  a  connection is found, then it is used, and no
  1496.  
  1497.      further name translation is  performed.   If,  however,  no  open
  1498.  
  1499.      connection  was  found,  then the destination name is translated,
  1500.  
  1501.      and a connection opened to the physical host port.   As  long  as
  1502.  
  1503.      there are any outstanding messages on the connection it will stay
  1504.  
  1505.      open, and it will have  the  same  restriction  that  only  eight
  1506.  
  1507.      messages may be outstanding at any one time.  Thus, a source host
  1508.  
  1509.      can still count replies to avoid being blocked, but they must  be
  1510.  
  1511.      counted  on a source name/destination name pair basis, instead of
  1512.  
  1513.      just by destination host address as before.
  1514.  
  1515.  
  1516.      Since connections are based on the source name  as  well  as  the
  1517.  
  1518.      destination  name,  this  implies that there may be more than one
  1519.  
  1520.      open connection from physical host port A to physical  host  port
  1521.  
  1522.      B,   which   would   allow   more  than  8  outstanding  messages
  1523.  
  1524.      simultaneously from the first to the second port.   However,  for
  1525.  
  1526.      this  to  occur, either the source or destination names, or both,
  1527.  
  1528.      must differ from one connection to the next.  For example, if the
  1529.  
  1530.  
  1531.  
  1532.                                   - 23 -
  1533.  
  1534.  
  1535.  
  1536.      1822L Host Access Protocol                             April 1983
  1537.      RFC 851
  1538.  
  1539.  
  1540.  
  1541.      names  "543"  and  "677" both translate to physical port 3 on IMP
  1542.  
  1543.      51, then the host on that port could  open  four  connections  to
  1544.  
  1545.      itself  by  sending  messages  from "543" to "543", from "543" to
  1546.  
  1547.      "677", from "677" to "543", and from "677" to "677".
  1548.  
  1549.  
  1550.      As has already been stated,  the  destination  names  in  regular
  1551.  
  1552.      messages  are  only translated when connections are first opened.
  1553.  
  1554.      Once a connection is open, that connection, and  its  destination
  1555.  
  1556.      physical  host port, will continue to be used until it is closed.
  1557.  
  1558.      If, in the meantime, a "better" destination host  port  belonging
  1559.  
  1560.      to  the  same  destination name became available, it would not be
  1561.  
  1562.      used until the next time a  new  connection  is  opened  to  that
  1563.  
  1564.      destination name.
  1565.  
  1566.  
  1567.  
  1568.  
  1569.      2.6  1822L Name Server
  1570.  
  1571.  
  1572.      There may  be  times  when  a  host  wants  to  perform  its  own
  1573.  
  1574.      translations,  or  might need the full list of physical addresses
  1575.  
  1576.      to which a particular name maps.  For example, a connection-based
  1577.  
  1578.      host-to-host  protocol  may  require  that the same physical host
  1579.  
  1580.      port on a multi-homed host be used for all  messages  using  that
  1581.  
  1582.      host-to-host  connection, and the host does not wish to trust the
  1583.  
  1584.      IMP to always deliver messages using a destination  name  to  the
  1585.  
  1586.      same host port.
  1587.  
  1588.  
  1589.  
  1590.  
  1591.                                   - 24 -
  1592.  
  1593.  
  1594.  
  1595.      1822L Host Access Protocol                             April 1983
  1596.      RFC 851
  1597.  
  1598.  
  1599.  
  1600.      In these cases, the host  can  submit  a  type  11  (Name  Server
  1601.  
  1602.      Request)  message to the IMP, which requests the IMP to translate
  1603.  
  1604.      the destination 1822L name and return a list of the addresses  to
  1605.  
  1606.      which  it maps.  The IMP will respond with a type 11 (Name Server
  1607.  
  1608.      Reply) message, which contains the selection policy  in  use  for
  1609.  
  1610.      that  name,  the  number of addresses to which the name maps, the
  1611.  
  1612.      addresses  themselves,  and  for  each  address,  whether  it  is
  1613.  
  1614.      effective and its routing distance from the IMP.  See section 3.2
  1615.  
  1616.      for a complete description of the message's contents.
  1617.  
  1618.  
  1619.      Using this information, the source  host  can  make  an  informed
  1620.  
  1621.      decision  on which of the physical host ports corresponding to an
  1622.  
  1623.      1822L name to use, and can subsequently send the messages to that
  1624.  
  1625.      port, rather than to the name.
  1626.  
  1627.  
  1628.      The IMP also supports a different type of name service.   A  host
  1629.  
  1630.      needs  to issue a Name Declaration Message to the IMP in order to
  1631.  
  1632.      make its names effective, but it may not wish to keep  its  names
  1633.  
  1634.      in  some table or file in the host.  In this case, it can ask the
  1635.  
  1636.      IMP to tell it which names it is authorized to use.
  1637.  
  1638.  
  1639.      In this case, the host submits a  type  12  (Port  List  Request)
  1640.  
  1641.      message to the IMP, and the IMP replies with a type 12 (Port List
  1642.  
  1643.      Reply) message.  It contains, for the host port  over  which  the
  1644.  
  1645.      IMP  received the request and sent the reply, the number of names
  1646.  
  1647.  
  1648.  
  1649.  
  1650.                                   - 25 -
  1651.  
  1652.  
  1653.  
  1654.      1822L Host Access Protocol                             April 1983
  1655.      RFC 851
  1656.  
  1657.  
  1658.  
  1659.      that map to the port, the list of names, and whether or not  each
  1660.  
  1661.      name  is  effective.   The  host can then use this information in
  1662.  
  1663.      order  to  issue  the  Name  Declaration  Message.   Section  3.2
  1664.  
  1665.      contains a complete description of the reply's contents.
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.                                   - 26 -
  1710.  
  1711.  
  1712.  
  1713.      1822L Host Access Protocol                             April 1983
  1714.      RFC 851
  1715.  
  1716.  
  1717.  
  1718.      3  1822L LEADER FORMATS
  1719.  
  1720.  
  1721.      The following sections describe the formats of the  leaders  that
  1722.  
  1723.      precede  messages  between  an 1822L host and its IMP.  They were
  1724.  
  1725.      designed to be as compatible with the 1822 leaders  as  possible.
  1726.  
  1727.      The  second,  fifth,  and  sixth  words  are identical in the two
  1728.  
  1729.      leaders, and all  of  the  existing  functionality  of  the  1822
  1730.  
  1731.      leaders  has  been  retained.   In  the  first word, the 1822 New
  1732.  
  1733.      Format Flag is now also used to identify the two types  of  1822L
  1734.  
  1735.      leaders, and the Handling Type has been moved to the second byte.
  1736.  
  1737.      The third and fourth words contain  the  Source  and  Destination
  1738.  
  1739.      1822L Name, respectively.
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.                                   - 27 -
  1769.  
  1770.  
  1771.  
  1772.      1822L Host Access Protocol                             April 1983
  1773.      RFC 851
  1774.  
  1775.  
  1776.  
  1777.      3.1  Host-to-IMP 1822L Leader Format
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.                     1      4 5      8 9             16
  1784.                    +--------+--------+----------------+
  1785.                    |        |  1822L |                |
  1786.                    | Unused |  H2I   | Handling Type  |
  1787.                    |        |  Flag  |                |
  1788.                    +--------+--------+----------------+
  1789.                     17    20 21 22 24 25            32
  1790.                    +--------+-+------+----------------+
  1791.                    |        |T|Leader|                |
  1792.                    | Unused |R|Flags |  Message Type  |
  1793.                    |        |C|      |                |
  1794.                    +--------+-+------+----------------+
  1795.                     33                              48
  1796.                    +----------------------------------+
  1797.                    |                                  |
  1798.                    |           Source Host            |
  1799.                    |                                  |
  1800.                    +----------------------------------+
  1801.                     49                              64
  1802.                    +----------------------------------+
  1803.                    |                                  |
  1804.                    |         Destination Host         |
  1805.                    |                                  |
  1806.                    +----------------------------------+
  1807.                     65                     76 77    80
  1808.                    +-------------------------+--------+
  1809.                    |                         |        |
  1810.                    |       Message ID        |Sub-type|
  1811.                    |                         |        |
  1812.                    +-------------------------+--------+
  1813.                     81                              96
  1814.                    +----------------------------------+
  1815.                    |                                  |
  1816.                    |              Unused              |
  1817.                    |                                  |
  1818.                    +----------------------------------+
  1819.  
  1820.                 Figure 5. Host-to-IMP 1822L Leader Format
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.                                   - 28 -
  1828.  
  1829.  
  1830.  
  1831.      1822L Host Access Protocol                             April 1983
  1832.      RFC 851
  1833.  
  1834.  
  1835.  
  1836.      Bits 1-4: Unused, must be set to zero.
  1837.  
  1838.  
  1839.      Bits 5-8: 1822L Host-to-IMP Flag:
  1840.  
  1841.           This field is set to decimal 13 (1101 in binary).
  1842.  
  1843.  
  1844.      Bits 9-16: Handling Type:
  1845.  
  1846.           This  field  is  bit-coded  to  indicate  the   transmission
  1847.  
  1848.           characteristics  of  the connection desired by the host. See
  1849.  
  1850.           1822(3.3).
  1851.  
  1852.           Bit 9: Priority Bit:
  1853.  
  1854.                Messages with this bit on will be treated  as  priority
  1855.  
  1856.                messages.
  1857.  
  1858.           Bits 10-16: Unused, must be zero.
  1859.  
  1860.  
  1861.      Bits 17-20: Unused, must be zero.
  1862.  
  1863.  
  1864.      Bit 21: Trace Bit:
  1865.  
  1866.           If equal to one, this message is designated for  tracing  as
  1867.  
  1868.           it proceeds through the network.  See 1822(5.5).
  1869.  
  1870.  
  1871.      Bits 22-24: Leader Flags:
  1872.  
  1873.           Bit 22: A flag available for use by  the  destination  host.
  1874.  
  1875.                See 1822(3.3) for a description of its use by the IMP's
  1876.  
  1877.                TTY Fake Host.
  1878.  
  1879.           Bits 23-24: Reserved for future use, must be zero.
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.                                   - 29 -
  1887.  
  1888.  
  1889.  
  1890.      1822L Host Access Protocol                             April 1983
  1891.      RFC 851
  1892.  
  1893.  
  1894.  
  1895.      Bits 25-32: Message Type:
  1896.  
  1897.           Type 0: Regular Message  -  All  host-to-host  communication
  1898.  
  1899.                occurs  via  regular  messages, which have several sub-
  1900.  
  1901.                types, found in bits 77-80.  These sub-types are:
  1902.  
  1903.                0: Standard - The IMP uses its full message  and  error
  1904.  
  1905.                     control facilities, and host blocking may occur.
  1906.  
  1907.                3: Uncontrolled  Packet  -  The  IMP  will  perform  no
  1908.  
  1909.                     message-control   functions   for   this  type  of
  1910.  
  1911.                     message, and network flow and  congestion  control
  1912.  
  1913.                     may  cause loss of the packet.  Also see 1822(3.6)
  1914.  
  1915.                     and section 2.3.
  1916.  
  1917.                4-15: Unassigned.
  1918.  
  1919.           Type 1: Error Without Message ID - See 1822(3.3).
  1920.  
  1921.           Type 2: Host Going Down - see 1822(3.3).
  1922.  
  1923.           Type 3: Name Declaration Message (NDM)  -  This  message  is
  1924.  
  1925.                used by the host to declare which of its 1822L names is
  1926.  
  1927.                or is not effective (see section 2.2.1), or to make all
  1928.  
  1929.                of  its  names non-effective.  The first 16 bits of the
  1930.  
  1931.                data portion of the NDM message, following  the  leader
  1932.  
  1933.                and  any  leader  padding, contains the number of 1822L
  1934.  
  1935.                names contained in the message.  This  is  followed  by
  1936.  
  1937.                the 1822L name entries, each 32 bits long, of which the
  1938.  
  1939.                first 16 bits is a 1822L name and the  second  16  bits
  1940.  
  1941.                contains  either  of  the  integers  zero or one.  Zero
  1942.  
  1943.  
  1944.  
  1945.                                   - 30 -
  1946.  
  1947.  
  1948.  
  1949.      1822L Host Access Protocol                             April 1983
  1950.      RFC 851
  1951.  
  1952.  
  1953.  
  1954.                indicates that the name should not  be  effective,  and
  1955.  
  1956.                one  indicates  that the name should be effective.  The
  1957.  
  1958.                IMP will reply with a NDM Reply  message  (see  section
  1959.  
  1960.                3.2)  indicating  which  of the names are now effective
  1961.  
  1962.                and which are not.  Pictorially, a NDM message has  the
  1963.  
  1964.                following   format  (including  the  leader,  which  is
  1965.  
  1966.                printed in hexadecimal):
  1967.  
  1968.  
  1969.  
  1970.  
  1971.                  1             16 17            32 33            48
  1972.                 +----------------+----------------+----------------+
  1973.                 |                |                |                |
  1974.                 |      0D00      |      0003      |      0000      |
  1975.                 |                |                |                |
  1976.                 +----------------+----------------+----------------+
  1977.                  49            64 65            80 81            96
  1978.                 +----------------+----------------+----------------+
  1979.                 |                |                |                |
  1980.                 |      0000      |      0000      |      0000      |
  1981.                 |                |                |                |
  1982.                 +----------------+----------------+----------------+
  1983.                  97           112 113          128 129          144
  1984.                 +----------------+----------------+----------------+
  1985.                 |                |                |                |
  1986.                 |  # of entries  |  1822L name #1 |     0 or 1     |
  1987.                 |                |                |                |
  1988.                 +----------------+----------------+----------------+
  1989.                 145           160 161          176
  1990.                 +----------------+----------------+
  1991.                 |                |                |
  1992.                 |  1822L name #2 |     0 or 1     |       etc.
  1993.                 |                |                |
  1994.                 +----------------+----------------+
  1995.  
  1996.                        Figure 6. NDM Message Format
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.                                   - 31 -
  2005.  
  2006.  
  2007.  
  2008.      1822L Host Access Protocol                             April 1983
  2009.      RFC 851
  2010.  
  2011.  
  2012.  
  2013.                An  NDM  with  zero  entries  will  cause  all  current
  2014.  
  2015.                effective names for the host to become non-effective.
  2016.  
  2017.           Type 4: NOP - This allows the IMP to  know  which  style  of
  2018.  
  2019.                leader  the  host wishes to use.  A 1822L NOP signifies
  2020.  
  2021.                that the host wishes to use 1822L leaders, and an  1822
  2022.  
  2023.                NOP signifies that the host wishes to use 1822 leaders.
  2024.  
  2025.                All of the other remarks concerning the NOP message  in
  2026.  
  2027.                1822(3.3)  still  hold.   The  host should always issue
  2028.  
  2029.                NOPs in groups of three to insure proper  reception  by
  2030.  
  2031.                the IMP.  Also see section 2.4 for a further discussion
  2032.  
  2033.                on the use of the NOP message.
  2034.  
  2035.           Type 8: Error with Message ID - see 1822(3.3).
  2036.  
  2037.           Type 11: Name Server Request - This allows the host  to  use
  2038.  
  2039.                the  IMP's  logical addressing tables as a name server.
  2040.  
  2041.                The destination name in the 1822L leader is translated,
  2042.  
  2043.                and  the  IMP replies with a Name Server Reply message,
  2044.  
  2045.                which lists the physical host addresses  to  which  the
  2046.  
  2047.                destination name maps.
  2048.  
  2049.           Type 12: Port List Request - This allows the  physical  host
  2050.  
  2051.                to  request the list of names that map to the host port
  2052.  
  2053.                over which this request was received by the  IMP.   The
  2054.  
  2055.                IMP replies with a Port List Reply message, which lists
  2056.  
  2057.                the names that map to the port.
  2058.  
  2059.           Types 5-7,9-10,13-255: Unassigned.
  2060.  
  2061.  
  2062.  
  2063.                                   - 32 -
  2064.  
  2065.  
  2066.  
  2067.      1822L Host Access Protocol                             April 1983
  2068.      RFC 851
  2069.  
  2070.  
  2071.  
  2072.      Bits 33-48: Source Host:
  2073.  
  2074.           This field contains one of the  source  host's  1822L  names
  2075.  
  2076.           (or,  alternatively,  the 1822L address of the host port the
  2077.  
  2078.           message  is  being  sent   over).    This   field   is   not
  2079.  
  2080.           automatically filled in by the IMP, as in the 1822 protocol,
  2081.  
  2082.           because the host may be known by several names and may  wish
  2083.  
  2084.           to use a particular name as the source of this message.  All
  2085.  
  2086.           messages from the same host need not use the  same  name  in
  2087.  
  2088.           this  field.   Each  source  name, when used, is checked for
  2089.  
  2090.           authorization, effectiveness, and actually belonging to this
  2091.  
  2092.           host.  Messages using names that do not satisfy all of these
  2093.  
  2094.           requirements will not be delivered, and will instead  result
  2095.  
  2096.           in  an  error  message being sent back into the source host.
  2097.  
  2098.           If the host places its 1822L  address  in  this  field,  the
  2099.  
  2100.           address is checked to insure that it actually represents the
  2101.  
  2102.           host port where the message originated.  If the  message  is
  2103.  
  2104.           destined for an 1822 host on a non-C/30 IMP, this field MUST
  2105.  
  2106.           contain the source host's 1822L address  (see  figure  4  in
  2107.  
  2108.           section 2.2.4).
  2109.  
  2110.  
  2111.      Bits 49-64: Destination Host:
  2112.  
  2113.           This field  contains  the  1822L  name  or  address  of  the
  2114.  
  2115.           destination  host.   If it contains a name, the name will be
  2116.  
  2117.           checked for effectiveness, with an error message returned to
  2118.  
  2119.  
  2120.  
  2121.  
  2122.                                   - 33 -
  2123.  
  2124.  
  2125.  
  2126.      1822L Host Access Protocol                             April 1983
  2127.      RFC 851
  2128.  
  2129.  
  2130.  
  2131.           the  source  host  if  the  name  is  not effective.  If the
  2132.  
  2133.           message is destined for an 1822 host on a non-C/30 IMP, this
  2134.  
  2135.           field MUST contain the destination host's 1822L address (see
  2136.  
  2137.           figure 4 in section 2.2.4).
  2138.  
  2139.  
  2140.      Bits 65-76: Message ID:
  2141.  
  2142.           This is a host-specified identification used in all  type  0
  2143.  
  2144.           and  type  8  messages, and is also used in type 2 messages.
  2145.  
  2146.           When used in type 0 messages, bits 65-72 are also  known  as
  2147.  
  2148.           the  Link  Field,  and  should  contain  values specified in
  2149.  
  2150.           Assigned  Numbers  [4]  appropriate  for  the   host-to-host
  2151.  
  2152.           protocol being used.
  2153.  
  2154.  
  2155.      Bits 77-80: Sub-type:
  2156.  
  2157.           This field is used as a modifier by message types 0,  2,  4,
  2158.  
  2159.           and 8.
  2160.  
  2161.  
  2162.      Bits 81-96: Unused, must be zero.
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.                                   - 34 -
  2182.  
  2183.  
  2184.  
  2185.      1822L Host Access Protocol                             April 1983
  2186.      RFC 851
  2187.  
  2188.  
  2189.  
  2190.      3.2  IMP-to-Host 1822L Leader Format
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.                     1      4 5      8 9             16
  2197.                    +--------+--------+----------------+
  2198.                    |        |  1822L |                |
  2199.                    | Unused |  I2H   | Handling Type  |
  2200.                    |        |  Flag  |                |
  2201.                    +--------+--------+----------------+
  2202.                     17    20 21 22 24 25            32
  2203.                    +--------+-+------+----------------+
  2204.                    |        |T|Leader|                |
  2205.                    | Unused |R|Flags |  Message Type  |
  2206.                    |        |C|      |                |
  2207.                    +--------+-+------+----------------+
  2208.                     33                              48
  2209.                    +----------------------------------+
  2210.                    |                                  |
  2211.                    |           Source Host            |
  2212.                    |                                  |
  2213.                    +----------------------------------+
  2214.                     49                              64
  2215.                    +----------------------------------+
  2216.                    |                                  |
  2217.                    |         Destination Host         |
  2218.                    |                                  |
  2219.                    +----------------------------------+
  2220.                     65                     76 77    80
  2221.                    +-------------------------+--------+
  2222.                    |                         |        |
  2223.                    |       Message ID        |Sub-type|
  2224.                    |                         |        |
  2225.                    +-------------------------+--------+
  2226.                     81                              96
  2227.                    +----------------------------------+
  2228.                    |                                  |
  2229.                    |          Message Length          |
  2230.                    |                                  |
  2231.                    +----------------------------------+
  2232.  
  2233.                 Figure 7. IMP-to-Host 1822L Leader Format
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.                                   - 35 -
  2241.  
  2242.  
  2243.  
  2244.      1822L Host Access Protocol                             April 1983
  2245.      RFC 851
  2246.  
  2247.  
  2248.  
  2249.      Bits 1-4: Unused and set to zero.
  2250.  
  2251.  
  2252.      Bits 5-8: 1822L IMP-to-Host Flag:
  2253.  
  2254.           This field is set to decimal 14 (1110 in binary).
  2255.  
  2256.  
  2257.      Bits 9-16: Handling Type:
  2258.  
  2259.           This has the value assigned by the source host (see  section
  2260.  
  2261.           3.1).   This field is only used in message types 0, 5-9, and
  2262.  
  2263.           15.
  2264.  
  2265.  
  2266.      Bits 17-20: Unused and set to zero.
  2267.  
  2268.  
  2269.      Bit 21: Trace Bit:
  2270.  
  2271.           If equal to one, the source host designated this message for
  2272.  
  2273.           tracing as it proceeds through the network.  See 1822(5.5).
  2274.  
  2275.  
  2276.      Bits 22-24: Leader Flags:
  2277.  
  2278.           Bit 22: Available as a destination host flag.
  2279.  
  2280.           Bits 23-24: Reserved for future use, set to zero.
  2281.  
  2282.  
  2283.      Bits 25-32: Message Type:
  2284.  
  2285.           Type 0: Regular Message  -  All  host-to-host  communication
  2286.  
  2287.                occurs  via  regular  messages, which have several sub-
  2288.  
  2289.                types.  The sub-type field (bits 77-80) is the same  as
  2290.  
  2291.                sent in the host-to-IMP leader (see section 3.1).
  2292.  
  2293.           Type 1: Error in Leader - See 1822(3.4).
  2294.  
  2295.           Type 2: IMP Going Down - See 1822(3.4).
  2296.  
  2297.  
  2298.  
  2299.                                   - 36 -
  2300.  
  2301.  
  2302.  
  2303.      1822L Host Access Protocol                             April 1983
  2304.      RFC 851
  2305.  
  2306.  
  2307.  
  2308.           Type 3: NDM Reply - This is a reply to the  NDM  host-to-IMP
  2309.  
  2310.                message  (see  section  3.1).   It  will  have the same
  2311.  
  2312.                number of entries as the  NDM  message  that  is  being
  2313.  
  2314.                replying  to,  and  each  listed  1822L  name  will  be
  2315.  
  2316.                accompanied by a zero or a one (see figure 6).  A  zero
  2317.  
  2318.                signifies  that  the  name  is not effective, and a one
  2319.  
  2320.                means that the name is now effective.
  2321.  
  2322.           Type 4: NOP - The host should discard this message.   It  is
  2323.  
  2324.                used    during    initialization    of   the   IMP/host
  2325.  
  2326.                communication.  The Destination Host field will contain
  2327.  
  2328.                the  1822L  Address of the host port over which the NOP
  2329.  
  2330.                is being sent.  All other fields are unused.
  2331.  
  2332.           Type 5: Ready for Next Message (RFNM) - See 1822(3.4).
  2333.  
  2334.           Type 6: Dead Host Status - See 1822(3.4).
  2335.  
  2336.           Type 7: Destination Host or IMP  Dead  (or  unknown)  -  See
  2337.  
  2338.                1822(3.4).
  2339.  
  2340.           Type 8: Error in Data - See 1822(3.4).
  2341.  
  2342.           Type 9: Incomplete Transmission - See 1822(3.4).
  2343.  
  2344.           Type 10: Interface Reset - See 1822(3.4).
  2345.  
  2346.           Type 11: Name Server Reply - This reply to the  Name  Server
  2347.  
  2348.                Request  host-to-IMP  message  contains a word with the
  2349.  
  2350.                selection policy and the number of  physical  addresses
  2351.  
  2352.                to  which  the  destination  name maps, followed by two
  2353.  
  2354.                words per physical address: the first word contains  an
  2355.  
  2356.  
  2357.  
  2358.                                   - 37 -
  2359.  
  2360.  
  2361.  
  2362.      1822L Host Access Protocol                             April 1983
  2363.      RFC 851
  2364.  
  2365.  
  2366.  
  2367.                1822L  address,  and  the  second  word  contains a bit
  2368.  
  2369.                signifying whether or not that  particular  translation
  2370.  
  2371.                is effective and the routing distance (in 6.4 ms units)
  2372.  
  2373.                to the address's IMP.   In  figure  8,  EFF  is  1  for
  2374.  
  2375.                effective and 0 for non-effective, and POL is a two-bit
  2376.  
  2377.                number indicating the selection  policy  for  the  name
  2378.  
  2379.                (see section 2.2.2):
  2380.  
  2381.                0: First reachable.
  2382.  
  2383.                1: Closest physical address.
  2384.  
  2385.                2: Load leveling.
  2386.  
  2387.                3: Unused.
  2388.  
  2389.  
  2390.  
  2391.  
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.                                   - 38 -
  2418.  
  2419.  
  2420.  
  2421.      1822L Host Access Protocol                             April 1983
  2422.      RFC 851
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.                  1             16 17            32 33            48
  2430.                 +----------------+----------------+----------------+
  2431.                 |                |                |                |
  2432.                 |      0E00      |      000B      |      0000      |
  2433.                 |                |                |                |
  2434.                 +----------------+----------------+----------------+
  2435.                  49            64 65            80 81            96
  2436.                 +----------------+----------------+----------------+
  2437.                 |                |                |                |
  2438.                 |   dest. name   |      0000      |      0000      |
  2439.                 |                |                |                |
  2440.                 +----------------+----------------+----------------+
  2441.                  97           112 113          128 129          144
  2442.                 +-+--------------+----------------+-+--------------+
  2443.                 |P|              |                |E|              |
  2444.                 |O|  # of addrs  |  1822L addr #1 |F| routing dist |
  2445.                 |L|              |                |F|              |
  2446.                 +-+--------------+----------------+-+--------------+
  2447.                 145           160 161          176
  2448.                 +----------------+-+--------------+
  2449.                 |                |E|              |
  2450.                 |  1822L addr #2 |F| routine dist |       etc.
  2451.                 |                |F|              |
  2452.                 +----------------+-+--------------+
  2453.  
  2454.                     Figure 8. Name Server Reply Format
  2455.  
  2456.  
  2457.  
  2458.           Type 12: Port List Reply - This is the  reply  to  the  Port
  2459.  
  2460.                List  Request  host-to-IMP  message.   It  contains the
  2461.  
  2462.                number of names that map to this  physical  host  port,
  2463.  
  2464.                followed by two words per name: the first word contains
  2465.  
  2466.                an 1822L name that maps to this port,  and  the  second
  2467.  
  2468.                contains  either a zero or a one, signifying whether or
  2469.  
  2470.                not that  particular  translation  is  effective.   The
  2471.  
  2472.                format  is  identical  to  the type 3 NDM Reply message
  2473.  
  2474.  
  2475.  
  2476.                                   - 39 -
  2477.  
  2478.  
  2479.  
  2480.      1822L Host Access Protocol                             April 1983
  2481.      RFC 851
  2482.  
  2483.  
  2484.  
  2485.                (see figure 6).
  2486.  
  2487.           Type 15: 1822L Name or Address Error - This message is  sent
  2488.  
  2489.                in  response  to  a  type  0  message  from a host that
  2490.  
  2491.                contained an erroneous Source Host or Destination  Host
  2492.  
  2493.                field.  Its sub-types are:
  2494.  
  2495.                0: The Source Host 1822L name is not authorized or  not
  2496.  
  2497.                     effective.
  2498.  
  2499.                1: The Source Host 1822L address  does  not  match  the
  2500.  
  2501.                     host port used to send the message.
  2502.  
  2503.                2: The Destination Host 1822L name is not authorized.
  2504.  
  2505.                3:  The  physical  host  to  which  this   singly-homed
  2506.  
  2507.                     Destination Host name translated is authorized and
  2508.  
  2509.                     up, but not effective.  If the host  was  actually
  2510.  
  2511.                     down,  a  type  7 message would be returned, not a
  2512.  
  2513.                     type 15.
  2514.  
  2515.                4: The Source or  Destination  Host  field  contains  a
  2516.  
  2517.                     1822L  name,  but the host being addressed is on a
  2518.  
  2519.                     non-C/30 IMP (see figure 4 in section 2.2.4).
  2520.  
  2521.                5: The multi-homed Destination Host name is authorized,
  2522.  
  2523.                     but has no available effective translations.
  2524.  
  2525.                6: A logically-addressed uncontrolled packet  was  sent
  2526.  
  2527.                     to a dead or non-effective host port.  However, if
  2528.  
  2529.                     it is resubmitted, there may be another  effective
  2530.  
  2531.                     host  port to which the IMP may be able to attempt
  2532.  
  2533.  
  2534.  
  2535.                                   - 40 -
  2536.  
  2537.  
  2538.  
  2539.      1822L Host Access Protocol                             April 1983
  2540.      RFC 851
  2541.  
  2542.  
  2543.  
  2544.                     to send the packet.
  2545.  
  2546.                7: Logical addressing is not in use in this network.
  2547.  
  2548.                8-15: Unassigned.
  2549.  
  2550.           Types 13-14,16-255: Unassigned.
  2551.  
  2552.  
  2553.      Bits 33-48: Source Host:
  2554.  
  2555.           For type 0 messages, this field contains the 1822L  name  or
  2556.  
  2557.           address  of  the  host  that  originated  the  message.  All
  2558.  
  2559.           replies to the message should be sent to the host  specified
  2560.  
  2561.           herein.   For  message types 5-9 and 15, this field contains
  2562.  
  2563.           the source host field used in a previous type 0 message sent
  2564.  
  2565.           by this host.
  2566.  
  2567.  
  2568.      Bits 49-64: Destination Host:
  2569.  
  2570.           For type 0 messages, this field contains the 1822L  name  or
  2571.  
  2572.           address  that  the  message  was  sent  to.  This allows the
  2573.  
  2574.           destination host to detect  how  it  was  specified  by  the
  2575.  
  2576.           source  host.   For  message  types  5-9  and 15, this field
  2577.  
  2578.           contains the destination host field used in a previous  type
  2579.  
  2580.           0 message sent by this host.
  2581.  
  2582.  
  2583.      Bits 65-76: Message ID:
  2584.  
  2585.           For message types 0, 5, 7-9,  and  15,  this  is  the  value
  2586.  
  2587.           assigned  by  the  source  host to identify the message (see
  2588.  
  2589.           section 3.1).  This field is also used by  message  types  2
  2590.  
  2591.  
  2592.  
  2593.  
  2594.                                   - 41 -
  2595.  
  2596.  
  2597.  
  2598.      1822L Host Access Protocol                             April 1983
  2599.      RFC 851
  2600.  
  2601.  
  2602.  
  2603.           and 6.
  2604.  
  2605.  
  2606.      Bits 77-80: Sub-type:
  2607.  
  2608.           This field is used as a modifier by message types 0-2,  5-7,
  2609.  
  2610.           9, and 15.
  2611.  
  2612.  
  2613.      Bits 81-96: Message Length:
  2614.  
  2615.           This field is contained in type 0, 3, 11,  and  12  messages
  2616.  
  2617.           only,  and  is  the  actual  length  in  bits of the message
  2618.  
  2619.           (exclusive of leader, leader padding, and hardware  padding)
  2620.  
  2621.           as computed by the IMP.
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.                                   - 42 -
  2654.  
  2655.  
  2656.  
  2657.      1822L Host Access Protocol                             April 1983
  2658.      RFC 851
  2659.  
  2660.  
  2661.  
  2662.      4  REFERENCES
  2663.  
  2664.  
  2665.      [1]  Specifications for the Interconnection of a Host and an IMP,
  2666.  
  2667.           BBN Report 1822, December 1981 Revision.
  2668.  
  2669.  
  2670.      [2]  A. Malis, The ARPANET Short Blocking  Feature,  Request  For
  2671.  
  2672.           Comments 852, April 1983.
  2673.  
  2674.  
  2675.      [3]  E. C. Rosen et. al., ARPANET Routing Algorithm Improvements,
  2676.  
  2677.           Internet  Experimenter's  Note  183  (also  published as BBN
  2678.  
  2679.           Report 4473, Vol. 1), August 1980, pp. 55-107.
  2680.  
  2681.  
  2682.      [4]  J. Postel,  Assigned  Numbers,  Request  For  Comments  820,
  2683.  
  2684.           January 1983, p. 11.
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.                                   - 43 -
  2713.  
  2714.  
  2715.  
  2716.      1822L Host Access Protocol                             April 1983
  2717.      RFC 851
  2718.  
  2719.  
  2720.  
  2721.                                    INDEX
  2722.  
  2723.  
  2724.  
  2725.  
  2726.      1822...................................................... 4
  2727.      1822 address.............................................. 6
  2728.      1822 host................................................. 5
  2729.      1822L..................................................... 4
  2730.      1822L address............................................. 7
  2731.      1822L host................................................ 5
  2732.      1822L name................................................ 6
  2733.      address selection policy................................. 12
  2734.      authorized................................................ 9
  2735.      blocking................................................. 22
  2736.      closest physical address................................. 13
  2737.      connection............................................... 22
  2738.      destination host..................................... 33, 41
  2739.      effective................................................ 10
  2740.      first reachable.......................................... 12
  2741.      handing type......................................... 29, 36
  2742.      host downs............................................... 13
  2743.      leader flags......................................... 29, 36
  2744.      link field............................................... 34
  2745.      load leveling............................................ 13
  2746.      logical addressing........................................ 4
  2747.      message ID........................................... 34, 41
  2748.      message length........................................... 42
  2749.      message type......................................... 30, 36
  2750.      multi-homing.............................................. 4
  2751.      name server...................................... 24, 32, 37
  2752.      NDM.................................................. 10, 30
  2753.      NDM reply............................................ 10, 37
  2754.      NOC....................................................... 9
  2755.      NOP........................................... 5, 20, 32, 37
  2756.      priority bit............................................. 29
  2757.      regular message...................................... 30, 36
  2758.      RFNM................................................. 22, 37
  2759.      source host.......................................... 33, 41
  2760.      standard message......................................... 30
  2761.      sub-type............................................. 34, 42
  2762.      symmetric................................................. 5
  2763.      trace bit............................................ 29, 36
  2764.      uncontrolled packet.................................. 18, 30
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.                                   - 44 -
  2772.  
  2773.  
  2774.