Solved

Short DHCP leases not all showing on Server 2008.  Too short?

Posted on 2014-12-03
4
450 Views
Last Modified: 2014-12-09
I have a Wlan and that is designed for clients to connect, print, then move back to another Wlan.  I made the DHCP lease 20 minutes so many more clients could connect and print over an hour than I had addresses.  I had read that you could go as short as 1 minute without problems, except for the additional network traffic on that VLAN for DHCP requests, acks.....  

However, I'm seeing that DHCP scope as being full, or almost full, much of the time (491 total addresses) when looking at the statistics.  But when I look at the address leases, only about 150 or so show up.  That 150 usually is about the same as the current number of wireless clients I have on that VLAN.  When it shows a having no addresses left (in statistics) to hand out, it stops handing them out, even though the address leases don't show that many.

This just doesn't make sense to me.  All the other DHCP scopes look correct.  The number of used IP addresses in statistics is the same as the number of leases that are shown.

I've deleted and recreated the scope a few times, but the same thing always happens.

I'm wondering if the lease is too short, where the server won't reassign an address for a set amount of time, no matter how short you set your lease. But that doesn't correspond to what I've read.  

Any ideas?

To nip one idea in the bud, we have just the one DHCP server.  There isn't another server handing out the other addresses in a split scope scenario.  The addresses showing are #.#.#.21, #.#.#.22, #.#.#.30, #.#.#.42... when looking at the list of address leases.
0
Comment
Question by:davebuhl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
JeffG2583 earned 250 total points
ID: 40479662
I know in Server 2000-2003 there was a "grace period" for DHCP leases no longer in use. It sounds like this is what you're running into. Try adding the following registry key and restart the DHCP service on the server.

 HKLM/System/CurrentControlSet/Services/DHCPServer/Parameters
 DWORD value: LeaseExtension
 Value measure: minutes

I would set this to something like 10 minutes.
0
 
LVL 16

Assisted Solution

by:vivigatt
vivigatt earned 250 total points
ID: 40480620
Maybe these articles will help you:
http://technet.microsoft.com/en-us/library/cc783573%28v=ws.10%29.aspx
http://blogs.technet.com/b/csstwplatform/archive/2009/12/17/configuring-a-short-dhcp-lease-for-wireless-users.aspx
In particular, check the following registry keys (in addition to the LeaseExtension key that JeffG2583 mentioned):

HKLM/System/CurrentControlSet/Services/DHCPServer/Parameters
DWORD value: DatabaseCleanupInterval
HKLM/System/CurrentControlSet/Services/DHCPServer/Parameters
DWORD value: DynamicDNSQueueLength
0
 
LVL 2

Author Comment

by:davebuhl
ID: 40484829
Thanks.  I made a couple of changes and will see how that affects it on Monday.
0
 
LVL 2

Author Closing Comment

by:davebuhl
ID: 40489496
I added LeaseExtension and modified the DatabaseCleanupInterval.

The combination of your two suggestions appears to be working perfectly.

Thanks for the help!
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

687 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