How to export and import DHCP reservations

D

David Bui

My company will change the network mask from 24 to 22 bit
mask and we have more than 100 reservations. I'd like to
know how to export/import all the DHCP reservations
without having to manually recreate them. Or is there a
better way to do it rather than export the reservations
and then delete the dhcp scope and then import them back
in.

Thank you

Dave.
 
B

Brian Oakes [MSFT]

Here is something you might want to try:

Use netsh to dump the existing information.

netsh dhcp dump > dhcp.txt

then modify what ever is needed. :)

then to reload then do a netsh -F dump.txt

Make sure you test this on a test server, but you can do alot of things with
Netsh. If you want to explore do a netsh from a cmd prompt then keep typing
in cmds as you get deeper and deeper. :)
--

Brian Oakes

This posting is provided "AS IS" with no warranties and confers no rights.
Please reply to the newsgroup so that others may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top