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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

DHCP issue on router

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?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: DHCP issue on router

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..

5 REPLIES

Re: DHCP issue on router

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

New Member

Re: DHCP issue on router

Sorry should have stated that I didn't want to give the client a static address.

Hall of Fame Super Silver

Re: DHCP issue on router

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

Re: DHCP issue on router

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..

Re: DHCP issue on router

nice one Satish this 4 point :)

156
Views
4
Helpful
5
Replies