Link to home
Start Free TrialLog in
Avatar of kritop
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 :))  
Avatar of Gnart
Gnart

You would have to type in the MAC in one approach or another.  Have you try Access?  .MDB is access data type.

cheers
Avatar of kritop

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!
Avatar of kritop

ASKER

When I could edit the dhcp.mdb I could import the adresses because I got them in a file.
Avatar of oBdA
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
ASKER CERTIFIED SOLUTION
Avatar of Rob Stone
Rob Stone
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kritop

ASKER

thx Stoner79 this should work with a litte script :)