Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

DHCP problem still exists

I am trying to configure a DHCP server on a Cisco router so it assigns the same ip each time to a specific PC. I use the following commands:

rea#config t

Enter configuration commands, one per line. End with CNTL/Z.

rea(config)#ip dhcp pool net10.9.9.x/24

rea(dhcp-config)#host 10.9.9.151 /24 ?

<cr>

rea(dhcp-config)#host 10.9.9.151 /24

% This command may not be used with network, origin or vrf pools.

Why i can not do that .

Thanks

moses

2 REPLIES
New Member

Re: DHCP problem still exists

Re: DHCP problem still exists

Hi Moses, [ Pls Rate if HELPS ]

You need to use below command syntax for the requirement:

Router(config)#ip dhcp pool name

Router(dhcp-config)#host address [mask | /prefix-length]

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

Router(dhcp-config)#client-identifier unique-identifier

!!Specifies the unique identifier for DHCP clients. This command is used for DHCP requests.DHCP clients require client identifiers. The unique identification of the client is specified in dotted hexadecimal notation, for example, 01b7.0813.8811.66, where 01 represents the Ethernet media type.

Router(dhcp-config)# hardware-address hardware-address type

!!(optional) Specify the Hardware address of CLient. This is used during BootP request.

Router(dhcp-config)# client-name name

!!(optional)Specify the name of the client. Should not include the domain name ie., FQDN.

PLS RATE if HELPS

Best Regards,

Guru Prasad R

142
Views
0
Helpful
2
Replies