home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 1000s / rfc1084.txt < prev    next >
Text File  |  1988-12-08  |  16KB  |  451 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                       J. Reynolds
  8. Request for Comments: 1084                                          ISI
  9. Obsoletes: 1048                                           December 1988
  10.  
  11.  
  12.                   BOOTP Vendor Information Extensions
  13.  
  14.  
  15. Status of this Memo
  16.  
  17.    This memo describes an addition to the Bootstrap Protocol (BOOTP).
  18.    Comments and suggestions for improvements are sought.  Distribution
  19.    of this memo is unlimited.
  20.  
  21. Introduction
  22.  
  23.    This RFC is a slight revision and extension of RFC-1048 by Philip
  24.    Prindeville, who should be credited with the original work in this
  25.    memo.  This memo will be updated as additional tags are are defined.
  26.    This edition introduces Tag 13 for Boot File Size.
  27.  
  28.    As workstations and personal computers proliferate on the Internet,
  29.    the administrative complexity of maintaining a network is increased
  30.    by an order of magnitude.  The assignment of local network resources
  31.    to each client represents one such difficulty.  In most environments,
  32.    delegating such responsibility to the user is not plausible and,
  33.    indeed, the solution is to define the resources in uniform terms, and
  34.    to automate their assignment.
  35.  
  36.    The basic Bootstrap Protocol [RFC-951] dealt with the issue of
  37.    assigning an internet address to a client, as well as a few other
  38.    resources.  The protocol included provisions for vendor-defined
  39.    resource information.
  40.  
  41.    This memo defines a (potentially) vendor-independent interpretation
  42.    of this resource information.
  43.  
  44. Overview of BOOTP
  45.  
  46.    While the Reverse Address Resolution (RARP) Protocol [RFC-903] may be
  47.    used to assign an IP address to a local network hardware address, it
  48.    provides only part of the functionality needed.  Though this protocol
  49.    can be used in conjunction with other supplemental protocols (the
  50.    Resource Location Protocol [RFC-887], the Domain Name System [RFC-
  51.    1034]), a more integrated solution may be desirable.
  52.  
  53.    Bootstrap Protocol (BOOTP) is a UDP/IP-based protocol that allows a
  54.    booting host to configure itself dynamically, and more significantly,
  55.  
  56.  
  57.  
  58. Reynolds                                                        [Page 1]
  59.  
  60. RFC 1084                    BOOTP Extensions               December 1988
  61.  
  62.  
  63.    without user supervision.  It provides a means to assign a host its
  64.    IP address, a file from which to download a boot program from some
  65.    server, that server's address, and (if present) the address of an
  66.    Internet gateway.
  67.  
  68.    One obvious advantage of this procedure is the centralized management
  69.    of network addresses, which eliminates the need for per-host unique
  70.    configuration files.  In an environment with several hundred hosts,
  71.    maintaining local configuration information and operating system
  72.    versions specific to each host might otherwise become chaotic.  By
  73.    categorizing hosts into classes and maintaining configuration
  74.    information and boot programs for each class, the complexity of this
  75.    chore may be reduced in magnitude.
  76.  
  77. BOOTP Vendor Information Format
  78.  
  79.    The full description of the BOOTP request/reply packet format may be
  80.    found in [RFC-951].  The rest of this document will concern itself
  81.    with the last field of the packet, a 64 octet area reserved for
  82.    vendor information, to be used in a hitherto unspecified fashion.  A
  83.    generalized use of this area for giving information useful to a wide
  84.    class of machines, operating systems, and configurations follows.  In
  85.    situations where a single BOOTP server is to be used among
  86.    heterogeneous clients in a single site, a generic class of data may
  87.    be used.
  88.  
  89.    Vendor Information "Magic Cookie"
  90.  
  91.       As suggested in [RFC-951], the first four bytes of this field have
  92.       been assigned to the magic cookie, which identifies the mode in
  93.       which the succeeding data is to be interpreted.  The value of the
  94.       magic cookie is the 4 octet dotted decimal 99.130.83.99 (or
  95.       hexadecimal number 63.82.53.63) in network byte order.
  96.  
  97.    Format of Individual Fields
  98.  
  99.       The vendor information field has been implemented as a free
  100.       format, with extendable tagged sub-fields.  These sub-fields are
  101.       length tagged (with exceptions; see below), allowing clients not
  102.       implementing certain types to correctly skip fields they cannot
  103.       interpret.  Lengths are exclusive of the tag and length octets;
  104.       all multi-byte quantities are in network byte-order.
  105.  
  106.       Fixed Length Data
  107.  
  108.          The fixed length data are comprised of two formats.  Those that
  109.          have no data consist of a single tag octet and are implicitly
  110.          of one-octet length, while those that contain data consist of
  111.  
  112.  
  113.  
  114. Reynolds                                                        [Page 2]
  115.  
  116. RFC 1084                    BOOTP Extensions               December 1988
  117.  
  118.  
  119.          one tag octet, one length octet, and length octets of data.
  120.  
  121.          Pad Field (Tag: 0, Data: None)
  122.  
  123.             May be used to align subsequent fields to word boundaries
  124.             required by the target machine (i.e., 32-bit quantities such
  125.             as IP addresses on 32-bit boundaries).
  126.  
  127.          Subnet Mask Field (Tag: 1, Data: 4 subnet mask bytes)
  128.  
  129.             Specifies the net and local subnet mask as per the standard
  130.             on subnetting [RFC-950].  For convenience, this field must
  131.             precede the GATEWAY field (below), if present.
  132.  
  133.          Time Offset Field (Tag: 2, Data: 4 time offset bytes)
  134.  
  135.             Specifies the time offset of the local subnet in seconds
  136.             from Coordinated Universal Time (UTC); signed 32-bit
  137.             integer.
  138.  
  139.          End Field (Tag: 255, Data: None)
  140.  
  141.             Specifies end of usable data in the vendor information area.
  142.             The rest of this field should be filled with PAD zero)
  143.             octets.
  144.  
  145.       Variable Length Data
  146.  
  147.          The variable length data has a single format; it consists of
  148.          one tag octet, one length octet, and length octets of data.
  149.  
  150.          Gateway Field (Tag: 3, Data: N address bytes)
  151.  
  152.             Specifies the IP addresses of N/4 gateways for this subnet.
  153.             If one of many gateways is preferred, that should be first.
  154.  
  155.          Time Server Field (Tag: 4, Data: N address bytes)
  156.  
  157.             Specifies the IP addresses of N/4 time servers [RFC-868].
  158.  
  159.          IEN-116 Name Server Field (Tag: 5, Data: N address bytes)
  160.  
  161.             Specifies the IP addresses of N/4 name servers [IEN-116].
  162.  
  163.          Domain Name Server Field (Tag: 6, Data: N address bytes)
  164.  
  165.             Specifies the IP addresses of N/4 domain name servers RFC-
  166.             1034].
  167.  
  168.  
  169.  
  170. Reynolds                                                        [Page 3]
  171.  
  172. RFC 1084                    BOOTP Extensions               December 1988
  173.  
  174.  
  175.          Log Server Field (Tag: 7, Data: N address bytes)
  176.  
  177.             Specifies the IP addresses of N/4 MIT-LCS UDP log server
  178.             [LOGGING].
  179.  
  180.          Cookie/Quote Server Field (Tag: 8, Data: N address bytes)
  181.  
  182.             Specifies the IP addresses of N/4 Quote of the Day servers
  183.             [RFC-865].
  184.  
  185.          LPR Server Field (Tag: 9, Data: N address bytes)
  186.  
  187.             Specifies the IP addresses of N/4 Berkeley 4BSD printer
  188.             servers [LPD].
  189.  
  190.          Impress Server Field (Tag: 10, Data: N address bytes)
  191.  
  192.             Specifies the IP addresses of N/4 Impress network image
  193.             servers [IMAGEN].
  194.  
  195.          RLP Server Field (Tag: 11, Data: N address bytes)
  196.  
  197.             Specifies the IP addresses of N/4 Resource Location Protocol
  198.             (RLP) servers [RFC-887].
  199.  
  200.          Hostname (Tag: 12, Data: N bytes of hostname)
  201.  
  202.             Specifies the name of the client. The name may or may not
  203.             domain qualified: this is a site-specific issue.
  204.  
  205.          Boot File Size (Tag: 13, Data: 2)
  206.  
  207.             A two octet value (in network order) specifying the number
  208.             of 512 octet blocks in the default boot file.  Informs BOOTP
  209.             client how large the BOOTP file image is.
  210.  
  211.          Reserved Fields (Tag: 128-254, Data: N bytes of undefined
  212.          content)
  213.  
  214.             Specifies additional site-specific information, to be
  215.             interpreted on an implementation-specific basis.  This
  216.             should follow all data with the preceding generic tags 0-
  217.             127).
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226. Reynolds                                                        [Page 4]
  227.  
  228. RFC 1084                    BOOTP Extensions               December 1988
  229.  
  230.  
  231. Extensions
  232.  
  233.    Additional generic data fields may be registered by contacting:
  234.  
  235.           Joyce K. Reynolds
  236.           USC - Information Sciences Institute
  237.           4676 Admiralty Way
  238.           Marina del Rey, California  90292-6695
  239.  
  240.           or by E-mail as: JKREYNOLDS@ISI.EDU
  241.           (nic handle JKR1).
  242.  
  243.    Implementation specific use of undefined generic types (those in the
  244.    range 12-127) may conflict with other implementations, and
  245.    registration is required.
  246.  
  247.    When selecting information to put into the vendor specific area, care
  248.    should be taken to not exceed the 64 byte length restriction.
  249.    Nonessential information (such as host name and quote of the day
  250.    server) may be excluded, which may later be located with a more
  251.    appropriate service protocol, such as RLP or the WKS resource-type of
  252.    the domain name system.  Indeed, even RLP servers may be discovered
  253.    using a broadcast request to locate a local RLP server.
  254.  
  255. Comparison to Alternative Approaches
  256.  
  257.    Extending BOOTP to provide more configuration information than the
  258.    minimum required by boot PROMs may not be necessary.  Rather than
  259.    having each module in a host (e.g., the time module, the print
  260.    spooler, the domain name resolver) broadcast to the BOOTP server to
  261.    obtain the addresses of required servers, it would be better for each
  262.    of them to multicast directly to the particular server group of
  263.    interest, possibly using "expanding ring" multicasts.
  264.  
  265.    The multicast approach has the following advantages over the BOOTP
  266.    approach:
  267.  
  268.     - It eliminates dependency on a third party (the BOOTP server) that
  269.     may be temporarily unavailable or whose database may be incorrect or
  270.     incomplete.  Multicasting directly to the desired services will
  271.     locate those servers that are currently available, and only those.
  272.  
  273.     - It reduces the administrative chore of keeping the (probably
  274.     replicated) BOOTP database up-to-date and consistent.  This is
  275.     especially important in an environment with a growing number of
  276.     services and an evolving population of servers.
  277.  
  278.     - In some cases, it reduces the amount of packet traffic and/or the
  279.  
  280.  
  281.  
  282. Reynolds                                                        [Page 5]
  283.  
  284. RFC 1084                    BOOTP Extensions               December 1988
  285.  
  286.  
  287.     delay required to get the desired information.  For example, the
  288.     current time can be obtained by a single multicast to a time server
  289.     group which evokes replies from those time servers that are
  290.     currently up.  The BOOTP approach would require a broadcast to the
  291.     BOOTP server, a reply from the BOOTP server, one or more unicasts to
  292.     time servers (perhaps waiting for long timeouts if the initially
  293.     chosen server(s) are down), and finally a reply from a server.
  294.  
  295.    One apparent advantage of the proposed BOOTP extensions is that they
  296.    provide a uniform way to locate servers.  However, the multicast
  297.    approach could also be implemented in a consistent way across
  298.    multiple services.  The V System naming protocol is a good example of
  299.    this; character string pathnames are used to name any number of
  300.    resources (i.e., not just files) and a standard subroutine library
  301.    looks after multicasting to locate the resources, caching the
  302.    discovered locations, and detecting stale cache data.
  303.  
  304.    Another apparent advantage of the BOOTP approach is that it allows an
  305.    administrator to easily control which hosts use which servers.  The
  306.    multicast approach favors more distributed control over resource
  307.    allocation, where each server decides which hosts it will serve,
  308.    using whatever level of authentication is appropriate for the
  309.    particular service.  For example, time servers usually don't care who
  310.    they serve (i.e., administrative control via the BOOTP database is
  311.    unnecessary), whereas file servers usually require strong
  312.    authentication (i.e., administrative control via the BOOTP database
  313.    is insufficient).
  314.  
  315.    The main drawback of the multicast approach, of course, is that IP
  316.    multicasting is not widely implemented, and there is a need to locate
  317.    existing services which do not understand IP multicasts.
  318.  
  319.    The BOOTP approach may be most efficient in the case that all the
  320.    information needed by the client host is returned by a single BOOTP
  321.    reply and each program module simply reads the information it needs
  322.    from a local table filled in by the BOOTP reply.
  323.  
  324. Acknowledgments
  325.  
  326.    The following people provided helpful comments on the first edition
  327.    of this memo: Drew Perkins, of Carnagie Mellon University, Bill
  328.    Croft, of Stanford University, and co-author of BOOTP, and Steve
  329.    Deering, also of Stanford University, for contributing the
  330.    "Comparison to Alternative Approaches" section.
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338. Reynolds                                                        [Page 6]
  339.  
  340. RFC 1084                    BOOTP Extensions               December 1988
  341.  
  342.  
  343. References
  344.  
  345.    [RFC-951]   Croft, B., and J. Gilmore, "Bootstrap Protocol", Network
  346.                Information Center, SRI International, Menlo Park,
  347.                California, September 1985.
  348.  
  349.    [RFC-903]   Finlayson, R., T. Mann, J. Mogul, and M. Theimer, "A
  350.                Reverse Address Resolution Protocol", Network Information
  351.                Center, SRI International, Menlo Park, California, June
  352.                1984.
  353.  
  354.    [RFC-887]   Accetta, M., "Resource Location Protocol", Network
  355.                Information Center, SRI International, Menlo Park,
  356.                California, December 1983.
  357.  
  358.    [RFC-1034]  Mockapetris, P., "Domain Names - Concepts and
  359.                Facilities", Network Information Center, SRI
  360.                International, Menlo Park, California, November 1987.
  361.  
  362.    [RFC-950]   Mogul, J., "Internet Standard Subnetting Procedure",
  363.                Network Information Center, SRI International, Menlo
  364.                Park, California, August 1985.
  365.  
  366.    [RFC-868]   Postel, J., "Time Protocol", Network Information Center,
  367.                SRI International, Menlo Park, California, May 1983.
  368.  
  369.    [IEN-116]   Postel, J., "Internet Name Server", Network Information
  370.                Center, SRI International, Menlo Park, California, August
  371.                1979.
  372.  
  373.    [LOGGING]   Clark, D., Logging and Status Protocol", Massachusetts
  374.                Institute of Technology Laboratory for Computer Science,
  375.                Cambridge, Massachusetts, 1981.
  376.  
  377.    [RFC-865]   Postel, J., "Quote of the Day Protocol", Network
  378.                Information Center, SRI International, Menlo Park,
  379.                California, May 1983.
  380.  
  381.    [LPD]       Campbell, R., "4.2BSD Line Printer Spooler Manual", UNIX
  382.                Programmer's Manual, Vol II,  University of California at
  383.                Berkeley, Computer Science Division, July 1983.
  384.  
  385.    [IMAGEN]    "Image Server XT Programmer's Guide", Imagen Corporation,
  386.                Santa Clara, California, August 1986.
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394. Reynolds                                                        [Page 7]
  395.  
  396. RFC 1084                    BOOTP Extensions               December 1988
  397.  
  398.  
  399. Author's Address:
  400.  
  401.    Joyce K. Reynolds
  402.    USC/Information Sciences Institute
  403.    4676 Admiralty Way
  404.    Marina del Rey, CA 90292
  405.  
  406.    Phone:  (213) 822-1511
  407.  
  408.    EMail: JKREYNOLDS@ISI.EDU
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450. Reynolds                                                        [Page 8]
  451.