Sunday, August 14, 2016

1.2.2 BOOTP and DHCP differences / 1.2.3 Major DHCP features

1.2.2 BOOTP and DHCP differences

The Internet community first developed the BOOTP protocol to enable configuration of diskless workstations. BOOTP was originally defined in RFC 951 in 1985. As the predecessor of DHCP, BOOTP shares some operational characteristics. Both protocols are client/server based and use UDP ports 67 and 68. Those ports are still known as BOOTP ports.
The four basic IP parameters include:
  • IP address
  • Gateway address
  • Subnet mask
  • DNS server address
BOOTP does not dynamically allocate IP addresses to a host. When a client requests an IP address, the BOOTP server searches a predefined table for an entry that matches the MAC address for the client. If an entry exists, then the corresponding IP address for that entry is returned to the client. This means that the binding between the MAC address and the IP address must have already been configured in the BOOTP server.
There are two primary differences between DHCP and BOOTP:
  • DHCP defines mechanisms through which clients can be assigned an IP address for a finite lease period. This lease period allows for reassignment of the IP address to another client later, or for the client to get another assignment, if the client moves to another subnet. Clients may also renew leases and keep the same IP address.
DHCP provides the mechanism for a client to gather other IP configuration parameters, such as WINS and domain name. 

1.2.3 Major DHCP features
There are three mechanisms used to assign an IP address to the client:
  • Automatic allocation – DHCP assigns a permanent IP address to a client.
  • Manual allocation – The IP address for the client is assigned by the administrator. DHCP conveys the address to the client.
  • Dynamic allocation – DHCP assigns, or leases, an IP address to the client for a limited period of time.
The focus of this section is the dynamic allocation mechanism. Some of the configuration parameters available are listed in IETF RFC 1533:
  • Subnet mask
  • Router
  • Domain Name
  • Domain Name Server(s)
  • WINS Server(s)
The DHCP server creates pools of IP addresses and associated parameters. Pools are dedicated to an individual logical IP subnet. This allows multiple DHCP servers to respond and IP clients to be mobile. If multiple servers respond, a client can choose only one of the offers.

No comments:

Post a Comment