DHCP Configuration Task List
To configure manual bindings, use the following commands beginning in global configuration mode:
Step | Command | Purpose |
1 | Router(config)# ip dhcp pool name | Creates a name for the a DHCP server address |
|
| pool and places you in DHCP pool configuration |
|
| |
|
|
|
2 | Specifies the IP address and subnet mask of the | |
| client. | |
|
| The prefix length specifies the number of bits that |
|
| comprise the address prefix. The prefix is an |
|
| alternative way of specifying the network mask of |
|
| the client. The prefix length must be preceded by |
|
| a forward slash (/). |
|
|
|
3 | Specifies a hardware address for the client. | |
|
| |
| or |
|
| Specifies the distinct identification of the client in | |
| ||
|
| 01b7.0813.8811.66, where 01 represents the |
|
| Ethernet media type. |
|
|
|
4
Configuring a DHCP Server Boot File
The boot file is used to store the boot image for the client. The boot image is generally the operating system the client uses to load. To specify a boot file for the DHCP client, use the following command in DHCP pool configuration mode:
Command | Purpose |
Configuring the Number of Ping Packets
By default, the DHCP server pings a pool address twice before assigning the address to a requesting client. If the ping is unanswered, the DHCP server assumes (with a high probability) that the address is not in use and assigns the address to the requesting client. To change the number of ping packets the DHCP server should send to the pool address before assigning the address, use the following command in global configuration mode:
Command | Purpose |
Router(config)# ip dhcp ping packets Specifies the number of ping packets the DHCP server sends to
numbera pool address before assigning the address to a requesting cli- ent. The default is two packets.