Solved

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

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

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Join & Write a Comment

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now