Solved

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

Posted on 2014-12-03
4
436 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IP address incorrect 8 91
EIGRP STUB 19 99
DHCP scope restore question Server 2003 to 2012R2 6 98
Server NIC binding order issues? 2 22
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…
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

756 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