Solved

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

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
Resolve DNS query failed errors for Exchange
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 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