DHCP with failover automatic synchronization issue

adam900331 361 Reputation points
2021-01-20T11:42:37.237+00:00

Hello!

I have a two node DHCP configuration in failover load balance mode (DHCP_1 and DHCP_2). I create some Allow and Deny filter in DHCP_1, but when I force manually replication, the filters do not replicate to DHCP_2. I found a script(DhcpFailoverAutoConfigSync) which can be resolve this issue, but it is not working. The DHCP server os is Windows Server 2019. The script was tested on only Windows Server 2012, should it be the problem with the script? It is not compatible with Windows Server 2019?

This is the script what I tested:
https://gallery.technet.microsoft.com/scriptcenter/Auto-syncing-of-configurati-6eb54fb0

Does it have any solution to automate the synchronization between two DHCP server when I change something in config?

Thanks.

Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,021 questions
0 comments No comments
{count} votes

Accepted answer
  1. Candy Luo 12,656 Reputation points Microsoft Vendor
    2021-01-21T03:11:47.987+00:00

    Hi ,

    For server configuration, there is no way to sync it. e.g.: server policies and Filters. As a workaround, you can use PowerShell cmdlet to add it:

    Get-DhcpServerv4Filter -List Allow -ComputerName myserver.FQDN | Add-DhcpServerv4Filter -Force  
    

    58916-image.png

    58940-image.png

    Here is a similar thread discussed before:

    syncing dhcp policies between failover hosts

    Best Regards,

    Candy

    --------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Gabriel Luiz 41 Reputation points MVP
    2022-06-09T21:11:13.26+00:00

    Your answer was very good.

    Is there official Microsoft documentation stating that policies and filters are not replicated?

    Why is this configuration not synced? What to stop Microsoft from implementing these synchronizations?

    1 person found this answer helpful.
    0 comments No comments

  2. Gabriel Luiz 41 Reputation points MVP
    2022-06-09T21:12:00.67+00:00

    @Candy Luo I want to understand why!

    1 person found this answer helpful.
    0 comments No comments