none
DHCP Reservation Issues RRS feed

  • Question

  • Hi All,

    I migrated to Server 2012r2 DC's about a month ago, included in that was the migration of reserved IP addresses, this worked surprisingly well using the new bulk powershell import commands.

    Today is the first time I've attempted to add a new reservation, and unfortunately no joy.  I receive the following error "An error occurred while accessing the DHCP Database from the GUI, and similar errors when using powershell (FullyqualifiedErrorid : DHCP 20013)

    I have checked the logs, nothing helpful here.  I have ensured the AV isn't scanning the dhcp.mdb and also removed the folder from indexing, even gone as far as to reboot the server, all to no avail.

    The setup is as follows :

    2 DC's, failover DHCP configuration with 1 scope and 2 range exclusions.

    Can anyone help with this please ?

    Wednesday, November 1, 2017 12:46 PM

Answers

  • Hi,

    There is a similar issue with you :

    https://conormcginty.wordpress.com/2012/08/20/an-error-occurred-while-accessing-the-dhcp-database/

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    Logged into the DC and opened a command prompt with elevated privileges:

    Typed the following commands:

    netsh

    netsh> dhcp

    netsh dhcp> server

    netsh dhcp server> scope 10.20.30.0

    Changed the current scope context to 10.20.30.0 scope.

    netsh dhcp server scope> show reservedip

    This lists all the reserved ips for the scope. Found the origianl reservation for the pc that had supposedly been removed. This reservation was not showing in the GUI version but was preventing a new reservation for this mac address being added.

    Best Regards,
    Frank



    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Thursday, November 2, 2017 8:10 AM

All replies

  • Hi,

    There is a similar issue with you :

    https://conormcginty.wordpress.com/2012/08/20/an-error-occurred-while-accessing-the-dhcp-database/

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    Logged into the DC and opened a command prompt with elevated privileges:

    Typed the following commands:

    netsh

    netsh> dhcp

    netsh dhcp> server

    netsh dhcp server> scope 10.20.30.0

    Changed the current scope context to 10.20.30.0 scope.

    netsh dhcp server scope> show reservedip

    This lists all the reserved ips for the scope. Found the origianl reservation for the pc that had supposedly been removed. This reservation was not showing in the GUI version but was preventing a new reservation for this mac address being added.

    Best Regards,
    Frank



    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Thursday, November 2, 2017 8:10 AM
  • Hi,
    Just checking in to see if the information provided was helpful. Please let us know if you would like further assistance.

    Best Regards,

    Frank

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, November 6, 2017 2:17 AM
  • Hi,

    Was your issue resolved? 

    If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.
    If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.
    If no, please reply and tell us the current situation in order to provide further help.

    Best Regards,
    Frank

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, November 8, 2017 9:23 AM