Solved

clients keep losing dhcp address

Posted on 2014-12-11
3
480 Views
Last Modified: 2014-12-15
We are a Windows 2008 domain environment.
Our dhcp range is 192.168.1.50 to 192.168.1.200 subnet mask of 255.255.255.0

We have basically run out of ip addresses
We changed our subnet mask to 255.255.252.0 which now gave us almost 750 more ip addresses.
We then changed our dhcpk scope to 192.168.0.20 to 192.168.0.240.

After rebooting Windows 7 client the computer did not receive an address.
After an ipconfig /release and renew it received a new address.

After rebooting the clients lose the address again.

Tried multiple clients with same result.

Removed scope and recreated the original scope still using the new subnet mask abd everything works fine.

Is there something needed if dhcp server is 192.168.1.20 but giving out addresses on 192.168.0.x  
All the ip addresses fall within the subnet mask.
Any thoughts are appreciated
0
Comment
Question by:Ekuskowski
3 Comments
 
LVL 11

Assisted Solution

by:rharland2009
rharland2009 earned 250 total points
ID: 40494885
Just to clarify, you said after deletion and recreation of the scope you have normal operation, right?
I think the problem may have been with some orphaned info inside the original scope.
Historically, if I've changed the mask on a DHCP box I have to delete and recreate the scope to get normal operation.
0
 
LVL 16

Accepted Solution

by:
vivigatt earned 250 total points
ID: 40496202
Use this site:
http://www.subnet-calculator.com/
I assume that you created a scope of  192.168.0.20 to 192.168.1.240 or even 192.168.0.20 to 192.168.3.240 (and not 192.168.0.20 to 192.168.0.240 as you wrote).
You may envisage that your new scope overlaps with the old one so that existing clients can still use their previous IP addresses. Windows clients will try to reuse such an address (preferred IP address).

These articles might help:
http://superuser.com/questions/470585/how-to-force-windows-7-to-ask-for-a-fresh-ip-address-from-dhcp-server.
http://mikepeth.blogspot.fr/2012/02/windows-dhcp-running-out-of-ips-and.html
 
You could shorten the DHCP lease to a small amount of time, tweak the Cleanup Interval and Grace Period and see if this is any better.

If nothing works, record a trace of a DHCP transaction that is not working (use Wireshark or MS NetMon), filter on UDP 67 and 68 and post the trace, we can then examine it and see what is going wrong...
0
 

Author Closing Comment

by:Ekuskowski
ID: 40501728
I'm accepting these two answers because it gets me in the right direction,  I'm not sure when we are going to try again with the scope change.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Server 2008 DHCP replication 12 69
Sonicwall router blocking NAS drive from the network 20 83
Problem with configuring nic with powershell 5 71
CENTOS DHCP Server / PXE/TFTP 14 79
Ever wondered why you had to use DHCP options (dhcp opt 60, 66 or 67) in order to use PXE? Well, you don't!
A Cisco router can be configured as a DHCP Server. There are advantages and disadvantages in making your Cisco router work as DHCP Server. Almost all the features for windows DHCP can be configured on Cisco-based DHCP server. Some of the features me…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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…

809 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