Configuring DHCP

DHCP Configuration Task List

Configuring the DHCP Address Pool Subnet and Mask

To configure a subnet and mask for the newly created DHCP address pool, which contains the range of available IP addresses that the DHCP Server may assign to clients, use the following command in DHCP pool configuration mode:

Command

Purpose

 

 

Router(dhcp-config)# network network-number

Specifies the subnet network number and mask of the DHCP

[mask /prefix-length]

address pool.

 

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 (/).

 

 

Note You can not configure manual bindings within the same pool that is configured with the network command. To configure manual bindings, see the “Configuring Manual Bindings” section.

Configuring the Domain Name for the Client

The domain name for a DHCP client places the client in the general grouping of networks that make up the domain. To configure a domain name string for the client, use the following command in DHCP pool configuration mode:

Command

Purpose

 

 

Router(dhcp-config)# domain-namedomain

Specifies the domain name for the client.

 

 

Configuring the IP Domain Name System Servers for the Client

DHCP clients query DNS IP servers when they need to correlate host names to IP addresses. To configure the DNS IP servers that are available to a DHCP client, use the following command in DHCP pool configuration mode:

Command

Purpose

 

 

Router(dhcp-config)# dns-serveraddress

Specifies the IP address of a DNS server that is available to a DHCP client.

[address2 ... address8]

One IP address is required; however, you can specify up to eight IP

 

 

addresses in one command line.

 

 

Configuring the NetBIOS Windows Internet Naming Service Servers for the Client

Windows Internet Naming Service (WINS) is a name resolution service that Microsoft DHCP clients use to correlate host names to IP addresses within a general grouping of networks. To configure the NetBIOS WINS servers that are available to a Microsoft DHCP client, use the following command in DHCP pool configuration mode:

Cisco IOS IP Configuration Guide

IPC-70

Page 116
Image 116
Cisco Systems 78-11741-02 Configuring the Dhcp Address Pool Subnet and Mask, Configuring the Domain Name for the Client