Solved

How to release unused DHCP ip addresses on cisco router

Posted on 2008-10-21
6
5,893 Views
Last Modified: 2009-12-16
Hi Guys,

I have a block of /25 ip addresses, and I have a dhcp configure on the router, now am receiving messages that says

Free addresses 0
Address in use : 109
Percentage addresses free : 0%

I know that I havent got as many users on that network as indicated, although there are some that comes in once in a while.

Please, how do I release the ip addresses that are not in use.

Thanks
0
Comment
Question by:lawre1108
  • 4
  • 2
6 Comments
 
LVL 7

Expert Comment

by:knightfox
ID: 22765232
Seems that you havent defined your lease time.. so the router is holding addresses I think the default is 8 days.

please run the following.

Router(dhcp-config)#lease DAYS HOURS MINUTES

To define the lease time of the addresses given to the client. You can make it infinite by using this command instead; lease infinite

You can also use the

Router#clear ip dhcp binding *

If you want to clear a certain binding not all of them, replace the * in the previous command with the IP address to be cleared.


/Fox

0
 

Author Comment

by:lawre1108
ID: 22765421
Thanks knightfox,

Apart from clearing the binding on the router does Router#clear ip dhcp binding * have any other effect on the performance of the router and network.

Thanks
0
 
LVL 7

Accepted Solution

by:
knightfox earned 500 total points
ID: 22765897
no.. to make sure you can clear just one entry first...

Router#clear ip dhcp binding x.x.x.x

/Fox
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 7

Expert Comment

by:knightfox
ID: 22765908
if you run the full clear binding it will force all of you clients to re-negotioate their leases when half of the lease time is reached.  If in the mean time another station is given the address then you  could have some conflicting issues.. Personaly I would clear the ones that you know are not in use, and wait until service ends to clear them all.

/Fox
0
 

Author Comment

by:lawre1108
ID: 22766213
Thanks agin knightfox

That will be big job, where we have over 100 pc and other devices connected to the network.

Is there any way of doing it without any conflict.

Thanks
0
 
LVL 7

Expert Comment

by:knightfox
ID: 22766294
wait until service ends, clear them out once your users go home to be on the safe side...

/Fox
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VM networking best practice and design consideration ? 14 92
forward schedule of change 1 65
Setting up a VPN 60 184
spanning tree loop even though stp is enabled 10 57
If you are thinking of adopting cloud services, or just curious as to what ‘the cloud’ can offer then the leader according to Gartner for Infrastructure as a Service (IaaS) is Amazon Web Services (AWS).  When I started using AWS I was completely new…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question