RFC 1534 DRAFT STANDARD DHCP · BOOTP · CONFIGURATION

Interoperation Between DHCP and BOOTP

Rules for DHCP clients and servers that communicate with BOOTP participants.

On rfc-editor.org ↗
PUBLISHED
October 1993
AUTHORS
R. Droms
STREAM
IETF
DHCP MESSAGE TYPE OPTION
51, as identified in the memo
BOOTP AUTOMATIC ADDRESSES
Configurable and off by default
DOI
10.17487/RFC1534
ERRATA
Reported errata

RFC text

Contents
Original text · RFC Editor View on rfc-editor.org ↗
Network Working Group                                           R. Droms
Request for Comments: 1534                           Bucknell University
Category: Standards Track                                   October 1993


                 Interoperation Between DHCP and BOOTP

Status of this Memo

   This RFC specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" for the standardization state and status
   of this protocol.  Distribution of this memo is unlimited.

Abstract

   DHCP provides a superset of the functions provided by BOOTP. This
   document describes the interactions between DHCP and BOOTP network
   participants.

1. Introduction

   The Dynamic Host Configuration Protocol (DHCP) provides a mechanism
   for transmitting configuration parameters to hosts using the TCP/IP
   protocol suite.  The format of DHCP messages is based on the format
   of BOOTP messages, so that, in certain circumstances, DHCP and BOOTP
   participants may exchange messages.  This document specifies the ways
   in which DHCP and BOOTP participants may interoperate.

   DHCP introduces a small change in terminology intended to clarify the
   meaning of one of the fields.  What was the "vendor extensions" field
   in BOOTP has been re-named the "options" field in DHCP.  Similarly,
   the tagged data items that were used inside the BOOTP "vendor
   extensions" field, which were formerly referred to as "vendor
   extensions", are now termed simply "options".  This document will
   refer to BOOTP vendor extensions and DHCP options uniformly as
   "options".

   Throughout this document, DHCP messages that include a 'DHCP message
   type' option will be referred to by the type of the message; e.g., a
   DHCP message with 'DHCP message type' option type 1 will be referred
   to as a "DHCPDISCOVER" message.

2. BOOTP clients and DHCP servers

   The format of DHCP messages is defined to be compatible with the
   format of BOOTP messages, so that existing BOOTP clients can
   interoperate with DHCP servers.  Any message received by a DHCP
   server that includes a 'DHCP message type' (51) option is assumed to
   have been sent by a DHCP client.  Messages without the DHCP Message
   Type option are assumed to have been sent by a BOOTP client.  Support
   of BOOTP clients by a DHCP server is optional at the discretion of
   the local system administrator.  If a DHCP server that is not
   configured to support BOOTP clients receives a BOOTREQUEST message
   from a BOOTP client, that server silently discards the BOOTREQUEST
   message.

   If a DHCP server is configured to support BOOTP clients, it may be
   configured to supply static addresses, automatic addresses or both.
   Static addresses are those that have been previously assigned by a
   system administrator and are stored in a database available to the
   DHCP server.  Automatic addresses are those selected by the DHCP
   server from its pool of unassigned addresses.

   Since BOOTP clients may not be prepared to receive automatic
   addresses, the decision to allow a DHCP server to return automatic
   addresses must be under the control of the system administrator.  If
   a DHCP server supports supplying automatic addresses to BOOTP
   clients, this feature must be configurable, and the feature must
   default off.  Enabling of the feature must be the result of an active
   decision by the system administrator.

   If a DHCP server returns a automatic address, the BOOTP client will
   not be aware of the DHCP lease mechanism for network address
   assignment.  Thus the DHCP server must assign an infinite lease
   duration to for automatic addresses assigned to BOOTP clients.  Such
   network addresses cannot be automatically reassigned by the server.
   The local system administrator may choose to manually release network
   addresses assigned to BOOTP clients.

   A DHCP server that supports BOOTP clients MUST interact with BOOTP
   clients according to the BOOTP protocol.  The server MUST formulate a
   BOOTP BOOTREPLY message rather than a DHCP DHCPOFFER message (i.e.,
   the server MUST NOT include the 'DHCP message type' option and MUST
   NOT exceed the size limit for BOOTREPLY messages).  The server marks
   a binding for a BOOTP client as BOUND after sending the BOOTP
   BOOTREPLY, as a non-DHCP client will not send a DHCPREQUEST message
   nor will that client expect a DHCPACK message.

   DHCP servers MAY send any DHCP Options to a BOOTP client as allowed
   by the "DHCP Options and BOOTP Vendor Extensions" RFC [2].

   In summary, a DHCP server:

      o MAY support BOOTP clients,

      o May return automatic addresses to BOOTP clients,

      o MUST provide a configuration switch if returning automatic
        addresses to BOOTP clients,

      o MUST default this optional configuration to OFF,

      o MUST abide by the BOOTP specification when interacting with
        BOOTP clients, and

      o MAY send DHCP options (those options defined in the DHCP options
        document but not in the BOOTP vendor extensions documents) to
        a BOOTP client.

3. DHCP clients and BOOTP servers

   A DHCP client MAY use a reply from a BOOTP server if the
   configuration returned from the BOOTP server is acceptable to the
   DHCP client.  A DHCP client MUST assume that an IP address returned
   in a message from a BOOTP server has an infinite lease.  A DHCP
   client SHOULD choose to use a reply from a DHCP server in preference
   to a reply from a BOOTP server.

4. References

   [1] Wimer, W., "Clarifications and Extensions for the Bootstrap
       Protocol", RFC 1532, Carnegie Mellon University, October 1993.

   [2] Alexander, S., and R. Droms, "DHCP Options and BOOTP Vendor
       Extensions", RFC 1533, Lachman Technology, Inc., Bucknell
       University, October 1993.

   [3] Droms, R., "Dynamic Host Configuration Protocol", RFC 1531,
       Bucknell University, October 1993.


5. Security Considerations

   Security issues are not discussed in this memo.

6. Author's Address

   Ralph Droms
   Computer Science Department
   323 Dana Engineering
   Bucknell University
   Lewisburg, PA 17837

   Phone:(717) 524-1145
   EMail: droms@bucknell.edu

ISO Plain Language

On this page
PROBLEMDHCP message formats are based on BOOTP, so DHCP and BOOTP clients and servers need rules for exchanging messages.
MECHANISMThe memo defines how DHCP servers identify BOOTP requests and how either kind of client may use a reply from the other kind of server.
COMPATIBILITY RULESServer support for BOOTP clients is optional; automatic addresses for them must be configurable and default off, with an infinite lease if assigned.

§1Why DHCP and BOOTP Can Interoperate

DHCP provides configuration parameters to hosts, and its message format is based on BOOTP. This means DHCP and BOOTP participants may exchange messages in some circumstances. The RFC defines the required behavior and refers to both BOOTP vendor extensions and DHCP options simply as options.

DHCP uses a message format based on BOOTP. That shared format lets the two systems exchange some messages, but they need clear rules for doing so.

§2DHCP Servers Serving BOOTP Clients

A DHCP server treats a received message that includes the DHCP message type option as coming from a DHCP client. Without that option, it assumes the message came from a BOOTP client. A server may support BOOTP clients; if it is not configured to do so, it silently discards their BOOTREQUEST messages.

A supporting server may provide static addresses or automatic addresses selected from its pool. Automatic-address support must be configurable and default off. If it assigns an automatic address to a BOOTP client, it must give an infinite lease because that client does not know the DHCP lease mechanism. The server must send a BOOTREPLY, not a DHCPOFFER, and follow BOOTP rules.

A DHCP server can be set up to answer BOOTP clients, but it does not have to. If it gives one an automatically selected address, that address cannot expire through the DHCP lease mechanism.

§3DHCP Clients Using BOOTP Servers

A DHCP client may use a reply from a BOOTP server if the returned configuration is acceptable. It must treat an IP address from that BOOTP server as having an infinite lease. When replies are available from both kinds of server, the client should prefer the DHCP server's reply.

The memo says that it does not discuss security issues.

A DHCP client may accept a suitable BOOTP reply. It treats the returned address as having no lease end and should prefer a DHCP server's reply when available.

§4References