kritop
asked on
DHCP Server and fixed IP's by MAC Address
I want to setup an Windows 2000 or 2003 DHCP server. But its essential that the clients get fixed IP's by their MAC Address. I tried to edit the dhcp.mdb to add reserved ip's, but I couldn't find any tool to edit this file. I tried dhcmp.exe from the Resource Kit and the DHCP Objects DLL. I don't want to add every IP and MAC Adress by Hand over the Add Reservedip Tab in Windows, because there are up to 2000 MAC adresses which need an IP :))
ASKER
I tried Access, it couldn't be opened, because the DB Engine of the dhcp.mdb is only similar, but not the same like Access!
ASKER
When I could edit the dhcp.mdb I could import the adresses because I got them in a file.
You should be able to use dhcpcmd.exe to script your reservations; it's from NT4, so there's no warranty it'll be running properly on a W2k DHCP server. I used it successfully on a W2k server, though.
How to Use the Dhcpcmd.exe Tool Included with Support Tools
http://support.microsoft.com/?kbid=232213
How to Use the Dhcpcmd.exe Tool Included with Support Tools
http://support.microsoft.com/?kbid=232213
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thx Stoner79 this should work with a litte script :)
cheers