09-24-2008 03:35 AM - edited 03-06-2019 01:33 AM
Soho 97 router running 12.3.
Configured as a DHCP server however when DHCP client reaches end of lease router gives it a new IP address. Is there anyway to allow the client to retain the IP address when lease ends or bind the client to a particular IP address?
Solved! Go to Solution.
09-24-2008 03:48 AM
Configure the lease as infinite to retain the IP Address.
Router(config-dhcp)# lease {days [hours][minutes] | infinite}
To bind the client to a particular IP Address
use following commands
ip dhcp pool name
host address [mask | /prefix-length]
hardware-address hardware-address type
HTH...rate if helpful..
09-24-2008 03:44 AM
u can give the client a static IP from the PC
and exclude that IP from the DHCP pool in the router with command
ip dhcp exclude-address [ip address]
good luck
if helpful Rate
09-24-2008 03:47 AM
Sorry should have stated that I didn't want to give the client a static address.
09-24-2008 03:48 AM
Gary
The normal behavior for DHCP is that when the lease reaches its end the client will receive the same address if it is available. Sometimes the DHCP server will have assigned that address to some other device (especially if the client has been off line for a while and if the address pool is small). From your description that seems to not be happening. Perhaps you can post the router configuration so that we can see it. Also it would help to know how many devices are receiving addresses from the router/server.
It is possible to statically bind an IP address to a specific MAC address. That might solve your issue. But if there are many devices that you want to do it for then it becomes a bit cumbersome.
HTH
Rick
09-24-2008 03:48 AM
Configure the lease as infinite to retain the IP Address.
Router(config-dhcp)# lease {days [hours][minutes] | infinite}
To bind the client to a particular IP Address
use following commands
ip dhcp pool name
host address [mask | /prefix-length]
hardware-address hardware-address type
HTH...rate if helpful..
09-24-2008 04:07 AM
nice one Satish this 4 point :)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide