Select Page

Windows Server DHCP lease cleanup

Tiny piece of housekeeping, note for self for future use.

Previous reservations are wedged in the DHCP database, and not accessible through the DHCP MMS snap-in. Scope reconciliation shows the rogue entries.

Solution is to delete the reservations from the DHCP database.

Show all DHCP clients, i.e active leases and reservations

NETSH DHCP SERVER SCOPE [scope] SHOW CLIENTS

Remove individual, expired reservations

NETSH DHCP SERVER SCOPE [scope] DELETE LEASE [IP ADDRESS]

I could have done this with PowerShell, but NETSH was fast and easy.

ZENworks Configuration Management – imaging, PXE and DHCP

ZENworks imaging can use the Preboot eXecution Environment – PXE – to start it’s imaging engine.

When the imaging server components (TFTP server, Imaging engine, Proxy DHCP) are running on the same server as the DHCP server there are certain configuration changes that need to be made.

Read the ZCM10 documentation for more.

Three steps to happiness – I’ll document this for Windows; SLES is broadly similar.

– set the Proxy DHCP to run correctly
– set Proxy DHCP to start automatically
– add DHCP option tag 60 to the DHCP scope

(more…)