I’ve just finished a quick and dirty perl script to help me in moving my DHCP server from a Micro$oft 2003 Server to Linux.
This script reads the dump file created by netsh and writes a dhcpd.conf file.
First step, on the Microsoft DHCP host, dump the configuration:
C:\temp>netsh dhcp server \\servername dump > dhcp.dump
Second step, use the perl script:
perl ./w2ldhcpcfg.txt -i dhcp.dump -o dhcpd.conf
On the net, there is a rexx script too. It can be found here.