How DHCP server works in Windows Network

  1. DHCP server uses database file named dhcp.mdb stored in C:windowssystem32dhcp folder.
  2. A backup copy the DB in the C:windowssystem32dhcpbackup folder by default.
  3. During service startup, If the original DB file is not found the service loads the DB from backup folder
  4. DHCP service writes to the registry whenever a dhcp lease is handed out to clients
  5. The Registry path is HKEY_LOCAL_MACHINESOFTWAREMicrosoftDhcpServerConfiguration
  6. During proper service shutdown, it takes backup copies of both dhcp.mdb and Registry
  7. The backup information of Registry is stored in Dhcpcfg file in DHCP DB folder
  8. Whenever a successful lease is released, it first writes the details to registry and those later gets updated to DB
  9. When run reconciliation, the service will cross checks the lease entries in Registry and DB and reports for any inconsistences which will be fixed by eliminating extra entries in registry that doesn’t match with entries in DB
  10. You can configure the Conflict detection to a non-zore value in IPv4 Properties Advanced tab such that DHCP server verifies the IP-address existene on the network by pinging the IP-Address  before handing over to the clients.

Leave a Reply

Your email address will not be published. Required fields are marked *