Share via


DHCP Failover 2016 - Reservations doesnt replicate

Question

Wednesday, December 18, 2019 11:47 AM

Hi All

I have enabled DHCP failover on my two DHCP servers in load balance mode method. I have multiple scopes and categorized them into 3 Failover relationship scopes. Issue is on one of the scope i have made some reservations and i dont see them being replicated on to my partner server even after a week. I know if i use "Replicate scope " option to see the reservations and leases information to be intact on my partner server but i dont want to have my attention in doing this manually each time. Is it by design the reservations wont replicate automatically or there is something issue with my DHCP setup ? Please suggest.

Regards

Prasad

All replies (2)

Wednesday, December 18, 2019 1:10 PM ✅Answered | 1 vote

Hi,

up to now it is by design that DHCP-Servers do not replicate automatically.

A replication of the configuration can be triggered manually, e.g. like you did per "replicate scope" button. In Addition you can automate this process with the help of powershell and task scheduler, 

1. Invoke-DhcpServerv4FailoverReplication -Force -> save as ".ps1" File

2. Create Scheduled Task to run "powershell.exe" in a schedule you want to have. Use start a programm: powershell.exe and enter the path of your ".ps1" File (see step1) as parameter

Works fine for me!

regards, pat


Thursday, December 19, 2019 2:26 AM ✅Answered

Hi,

>>Is it by design the reservations wont replicate automatically or there is something issue with my DHCP setup ?

Two DHCP servers in a failover relationship synchronize the IP address lease information on a continual basis there by keeping their respective databases up-to-date with client information and in sync with each other. 

And the other configuration, like, options change, reservation will not be auto replicated.

Once you create an IP reservation on one of the servers, you need to sync it to the other DHCP server using MMC or PowerShell cmdlet.

You can refer the following link about the tool: DHCP Failover Auto Config Sync:

https://blogs.technet.microsoft.com/teamdhcp/2012/11/27/automatic-syncing-of-scope-configuration-changes-between-2-dhcp-failover-servers/

Hope this can help you, if you have anything unclear, please let me know.

Have a nice day!

Ellen

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 [email protected].