Bizarre DHCP server error solved
Here’s a solution for one of the oddest errors I’ve ever seen. We had a PC which had been wiped and the OS reinstalled, but it could not get an IP address from DHCP. The error message we got was:
“An error occurred while renewing interface Local Area Connection : The name specified in the network control block (NCB) is in use on a remote adapter.”
So we wiped the OS and tried again (with a different version of Windows this time), same error. We did a bit of digging, and we found a reservation in DHCP (this is a DHCP server on Windows 2003 R2) for the machines MAC but with the PC’s original name. We deleted that reservation and tried again. Same error. We did everything we could to make it “take”… restarted the DHCP service, rebooted the client, etc. Packet captures showed nothing unusual either.
Upon further investigation, we found a second reservation in DHCP which looked odd; it had the same IP address as the first one that we deleted but it had an entirely different MAC and name. We deleted that reservation anyways, and BANG. It works fine.