Dynamic Host Configuration Protocol (DHCP) is a protocol used by hosts to obtain various parameters necessary for the clients to operate in a network. You can configure DHCP on a Cisco device through the command line interface (CLI) or the Security Device Manager (SDM). DHCP configuration parameters include the following:
Component |
Description |
Address pool |
The address pool is the range of addresses which can be assigned to requesting hosts. The DHCP server only assigns addresses within the address pool. The DHCP server can also be configured to not assign specific addresses in the range, known as exclusions. |
Lease |
The lease is the length of time for which the assignment is valid. It contains the assigned IP address and other information for the client. Periodically and when the client reboots, it contacts the DHCP server to renew the lease on the IP address. |
DHCP options |
In addition to the IP address and subnet mask, the DHCP server can also deliver the following:
|
Binding |
A binding is an association of a MAC address with a specific IP address. When you create a binding, the client with the specified MAC address is assigned the same IP address each time it requests an address. For example, if you have servers which should be accessible from outside the local network, the servers' IP addresses should remain the same. A binding is also known as DHCP reservation. |
Interface |
The interface that responds to DHCP requests is identified automatically according to the IP address assigned to the interface. When you configure the DHCP service on a Cisco device, it compares the subnet address specified in the address pool with the IP addresses assigned to the router interfaces. If the interface has been assigned an IP address in the address pool, that interface will listen for and respond to DHCP requests.
|
A DHCP client uses the following process to obtain an IP address:
The DHCP lease process uses frame-level broadcasts. For this reason, DHCP requests typically do not pass through routers to other subnets. To enable DHCP across subnets:
Credit: Testout 640-802 CCNA Notes
ไม่มีความเห็น