In October 1993, the first automated way to allocate IP addresses was introduced: the Bootstrap Protocol (BOOTP). Even though it was a major improvement over the traditional method, BOOTP had some limitations, as it was not able to configure every parameter so the network administrator still had to manually configure some settings on devices.
Because of these disadvantages and lack of functionality, BOOTP was eventually upgraded to the Dynamic Host Configuration Protocol (DHCP), which was initially released in 1997 and underwent periodic upgrades over the years.
DHCP address allocation is a four-step process:
- DHCP Discover
- DHCP Offer
- DHCP Request
- DHCP ACK
A DHCP server can be configured to provide IP addresses in a number of different ways, including:
- Dynamic allocation
- Automatic allocation
- Static allocation
Network administrators who want to configure a DHCP server also need to configure DHCP scopes as part of this process. A scope is a group of IP addresses for a particular section of the network. Each subnet usually has its own scope. A number of parameters can be configured inside the defined DHCP scopes, such as:
- IP address range
- Subnet mask
- Lease duration
- Default gateway
- DNS server
- WINS server
One of the major advantages offered by DHCP is the ability to lease an IP address, meaning assigning it on a temporary basis. Usually, when the client leaves the network, that particular assigned IP address is then free to be allocated to another device by the DHCP server.
In DHCP, there is a special field available that helps extend the capabilities of this automatic configuration process. Many different configuration options can be found in this field, which are also present in the DHCP RFC.