Configuring DHCP

DHCP Configuration Task List

Configuring a DHCP Database Agent or Disabling DHCP Conflict Logging

A DHCP database agent is any host—for example, an FTP, TFTP, or rcp server—that stores the DHCP bindings database. You can configure multiple DHCP database agents and you can configure the interval between database updates and transfers for each agent. To configure a database agent and database agent parameters, use the following command in global configuration mode:

Command

Purpose

 

 

Router(config)# ip dhcp database url

Configures the database agent and the interval between database updates

[timeout seconds write-delay seconds]

and database transfers.

 

 

If you choose not to configure a DHCP database agent, disable the recording of DHCP address conflicts on the DHCP Server. To disable DHCP address conflict logging, use the following command in global configuration mode:

Command

Purpose

 

 

Router(config)# no ip dhcp conflict logging

Disables DHCP address conflict logging.

 

 

Excluding IP Addresses

The DHCP Server assumes that all IP addresses in a DHCP address pool subnet are available for assigning to DHCP clients. You must specify the IP address that the DHCP Server should not assign to clients. To do so, use the following command in global configuration mode:

Command

Purpose

 

 

Router(config)# ip dhcp excluded-address

Specifies the IP addresses that the DHCP Server should not assign to

low-address [high-address]

DHCP clients.

 

 

Configuring a DHCP Address Pool

You can configure a DHCP address pool with a name that is a symbolic string (such as “engineering”) or an integer (such as 0). Configuring a DHCP address pool also places you in DHCP pool configuration mode—identified by the (dhcp-config)# prompt—from which you can configure pool parameters (for example, the IP subnet number and default router list). To configure a DHCP address pool, complete the required tasks in the following sections.

Configuring the DHCP Address Pool Name and Entering DHCP Pool Configuration Mode

To configure the DHCP address pool name and enter DHCP pool configuration mode, use the following command in global configuration mode:

Command

Purpose

 

 

Router(config)# ip dhcp pool name

Creates a name for the DHCP Server address pool and places you in DHCP

 

pool configuration mode (identified by the dhcp-config# prompt).

 

 

 

 

 

Cisco IOS IP Configuration Guide

 

 

 

 

 

 

 

 

IPC-69

Page 115
Image 115
Cisco Systems 78-11741-02 manual Excluding IP Addresses, Configuring a Dhcp Address Pool, Database transfers, Dhcp clients