Solved

DHCP Question

Posted on 2014-07-23
5
202 Views
Last Modified: 2014-07-28
Simple question ...

My DHCP server is running Windows 2003 R2. The subnet mask is 255.255.254.0, effectively giving me 510 IP addresses.

I am running out of IP addresses.

Can I change the subnet mask to 255.255.252.0, giving me 1022 IP addresses -WITHOUT- losing all of my reservations?

This is a simple, flat network here.

Thanks.
0
Comment
Question by:glenj1978
[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
5 Comments
 
LVL 7

Expert Comment

by:CorinTack
ID: 40215329
The closest you can get is exporting your reservations first, creating the new range, then importing them.

See the following article (and the first few comments) for how to accomplish this (the comments are necessary to understand what you need to do to get the reservations to import with the altered IP scope): http://koolbeans.wordpress.com/2007/07/31/howto-import-and-export-dhcp-reservations-in-server-2003/
0
 
LVL 9

Expert Comment

by:Sandeep Gupta
ID: 40216056
since you are changing the subnet mask thus you have to flush all the existing with .254.

This is very simple change of not more than 5 minutes..with minimum impact
0
 
LVL 16

Accepted Solution

by:
vivigatt earned 500 total points
ID: 40216468
Check this article:
http://support.microsoft.com/kb/255999

It does not mention how to keep your reservations, but check this article:
http://www.mpking.com/2013/08/using-netsh-to-export-and-import-dhcp.html

So now, a path is clear:
Use the netsh "dump" method described in the 2nd article to export your reservations

Extend your DHCP scope by resubnetting (use http://subnet-calculator.com if you need help with subnet ranges, starting and ending addresses etc) as described in the 1st artcile.

Import the DHCP reservations as described in the 2nd article.

Voilà !
0
 

Author Comment

by:glenj1978
ID: 40222826
Sandeep ...

I realize its a 2 minute change to change the subnet mask and instantly have 1022 IP addresses to give out, but I don't want to lose my 125 address reservations and have to re-enter them manually.

With all the millions of little utilities that have been written by everyone and their mother over the last 30 years, you'd think SOMEBODY would have written one that exports the reservations, changes the subnet mask, and imports the reservations back. Ugh :)
0
 
LVL 16

Expert Comment

by:vivigatt
ID: 40224687
The 2nd article I mention describes exactly how to export and import a list of DHCP reservations.
You will need to edit some text file but it should not be too complex.
If you can't figure it out, just run the command:
netsh dhcp server dump > dhcpcfg.txt

Open in new window

and attach the dhcpcfg.txt file to your reply, I'll create the modified text file for you and I'll let you know how to use it...
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

Suggested Solutions

Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
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 …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

738 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