Tuesday, May 29, 2012

HOWTO: Import and Export DHCP reservations in server 2003

HOWTO: Import and Export DHCP reservations in server 2003 Load-balancing your DHCP has been well documented, but the matter of synchronizing your IP reservations has always the fly in the ointment. But no more. To export DHCP reservations, from the source server: netsh dhcp server [ip address] scope [scope address] dump>reserv.txt Open up 'reserv.txt' in a text editor, do a Find->Replace for the source server IP, change to the destination server IP. Trim out everything in the file except for the reservations themselves. On the destination server, make sure your scope is already created, and run the following command: netsh exec C:\reserv.txt Tada. The only problem is that as your add more and more reservations, you'll need to add them to each server that you are load balancing. It's easier to do that than to do another export.



Submit your suggestion / comments / complaints / Takedown request on lookyp.com@gmail.com

No comments:

Post a Comment