Cisco Systems 32369 Configuring a DHCP Server Boot File, Configuring the Number of Ping Packets

Models: 32369

1 52
Download 52 pages 12.05 Kb
Page 8
Image 8
Configuring a DHCP Server Boot File

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

 

 

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

 

 

 

2

Router(config-dhcp)# host address [mask

Specifies the IP address and subnet mask of the

 

/prefix-length ]

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

Router(config-dhcp)# hardware-address

Specifies a hardware address for the client.

 

hardware-address type

 

 

or

 

 

Router(config-dhcp)# client-identifier

Specifies the distinct identification of the client in

 

unique-identifier

dotted-hexadecimal notation, for example,

 

 

01b7.0813.8811.66, where 01 represents the

 

 

Ethernet media type.

 

 

 

4Router(config-dhcp)# client-namename (Optional) Specifies the name of the client using any standard ASCII character. The client name should not include the domain name. For example, the name mars should not be specified as mars.cisco.com.

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

Router(config-dhcp)# bootfile filename Specifies the name of the file that is used as a boot image.

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.

8Release 12.0(1)T

Page 8
Image 8
Cisco Systems 32369 manual Configuring a DHCP Server Boot File, Configuring the Number of Ping Packets, Release 12.01T