DHCP problem still exists

Unanswered Question
Aug 8th, 2007

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
guruprasadr Wed, 08/08/2007 - 21:00

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

Actions

This Discussion