08-08-2007 02:39 AM - edited 03-05-2019 05:46 PM
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
08-08-2007 02:54 AM
hi moses
y cant u think off going on for manual binding based on the mac address of the clients ?
do refer this link for more options..
regds
08-08-2007 03:03 AM
ok but when i use the command host address [mask | /prefix-length], i receive the following message:
rea(dhcp-config)#host 10.9.9.151 /24
% This command may not be used with network, origin or vrf pools.
I can not proceed .
Thanks
moses
08-08-2007 03:08 AM
When a DHCP client that has previously had a DHCP-assigned address is started again, the client goes into an INIT-REBOOT state. The client will attempt to verify that it can still use the same address by sending a DHCPRequest packet, populating the DHCP Option Field "DHCP Requested Address" with the previously assigned IP address.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: