Solved

DHCP Migration 2008 to 2012R2

Posted on 2014-01-15
6
725 Views
Last Modified: 2014-01-16
Dear Experts,

Im in the process of migrating, DHCP from 2008 to 2012R2.
I create all the scope detail, reservations...

At first the scope overlaps with the 2008 scope, 172.16.2.1 - 200
I stop the 2008 DHCP service, perform an IP release/renew on a test machine and nothing.
Checking the event logs shows

The IP address lease 172.16.2.1 for the Network Card with network address xxxxxxxxx has been denied by the DHCP server xxxxxxxx (The DHCP Server sent a DHCPNACK message).

I have since deleted the Scope totally and placed it on a differnet range. 172.16.4.1 - 172.16.4.200

Now I just get a timeout that the DHCP server can not be contacted. The 2012 r2 server is authorised but im not sure why it wont give out addresses.
0
Comment
Question by:Rio_10
  • 2
  • 2
  • 2
6 Comments
 

Author Comment

by:Rio_10
ID: 39782046
I did some more testing and it appears to be an issue with the subnet on the scope.

its doesnt seem to work with a 255.255.252.0 subnet but does with a 255.255.0.0
the DHCP server is on 172.16.10.201 with 255.255.252.0 so the scope was set with 172.16.2.1 -200 with 255.255.252.0. This should work but the clients do not get an IP, any reason why
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 39784086
Is this all one subnet, or multiple VLAN's

Does the server's own IP address range agree with the range being given out by the DHCP server including the subnet mask?

Might be worth getting wireshark or network monitor to see what is coming through

BTW I haven't tried into a 2012 server yet but you can normally dump the DHCP settings, amend as needed and re-import if you aren't aware using:

netsh dhcp server \\dhcpserverip scope 172.16.0.0 dump > dhcp.txt

then can edit the dhcp.txt file as needed, delete the scope manually and re-import with:

netsh exec dhcp.txt

Might be worth checking what IP address is showing as bound to the DHCP server, double check it is authorised, look in NETSTAT -AN that dhcp port is listning etc.

Steve
0
 
LVL 51

Accepted Solution

by:
Netman66 earned 250 total points
ID: 39784372
Based on the server's IP and mask, the network range is 172.16.8.1-172.16.11.255.

You can't give out 172.16.2.0 network addresses as it's not on the same network.

Adjust the scope to be in the network range above and it should work.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 43

Assisted Solution

by:Steve Knight
Steve Knight earned 250 total points
ID: 39787245
Netman66, Had misread the subnet mask earlier, though wouldn't the original request and offer work, though the dhcp client would then not be able to communicate with the DHCP server to complete the transaction.

If he wants those addresses 255.255.240.0 is smallest logical, /20 at a quick look though why you would want a flat network of that size without VLAN's seems unusual.

Would seem more logical to split off into smaller more manageable chunks and issue DHCP for different scopes within that?

Steve
0
 
LVL 51

Expert Comment

by:Netman66
ID: 39787278
@Steve

You can make it work, but you would need to mask the server so it's on all local networks (thus why it worked when giving out /16 addy) and create scopes for each vlan.  The server will assign an address based on the incoming subnet.

You also need to ensure that inter-vlan routing is working or at least between the server vlan and all the others for this to work.

So, that being said, change the subnet mask on your dhcp server to 255.255.0.0 to cover all class B addresses - or figure out what mask will allow your server to live in each local subnet.
0
 

Author Closing Comment

by:Rio_10
ID: 39787789
Thanks guys, the subnet was incorrect. I created 255.255.240.0 and all is ok
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
Home Optimum Online Internet timeout problems. DNS issue? 36 1,530
SBS2011 DNS for external FQDN 6 60
Manual DNS and blocking mapped drives 8 88
Secondary DC 3 51
This article is intended as an extension of a blog on Aging and Scavenging by the MS Enterprise Networking Team. In brief, Scavenging is used as follows: Each record in a zone which has been dynamically registered with an MS DNS Server will have…
If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

914 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

15 Experts available now in Live!

Get 1:1 Help Now