How to Configure DHCP Failover in Windows Server 2022

Posted on 18th June 2023

Introduction

In this article, we will show you how to configure DHCP failover in Windows Server 2022. DHCP failover allows you to have two DHCP servers that share the same IP address range and scope. If one DHCP server goes down, the other DHCP server will take over and provide IP addresses to clients. This is a great way to provide redundancy for your DHCP server.

Prerequisites

  • Two DHCP servers that are configured with the same IP address range and scope

Configuring DHCP Failover

  1. Log in to the first DHCP server.
  2. Open the DHCP console.
  3. Right-click on the DHCP server and select Add/Remove Failover Partner.
  4. Enter the IP address of the second DHCP server and click OK.
  5. Right-click on the DHCP server and select Properties.
  6. Click on the Failover tab.
  7. Select the Enable DHCP Failover checkbox.
  8. Select the Load Balance option and click Configure.
  9. Select the Percentage of clients option and enter the percentage of clients that will be serviced by each DHCP server. For example, if you enter 50, then 50% of clients will be serviced by the first DHCP server and 50% will be serviced by the second DHCP server. Click OK.
  10. Select the Maximum Client Lead Time option and enter the maximum amount of time that a client can lease an IP address. For example, if you enter 8, then the client can lease the IP address for up to 8 days. Click OK.
  11. Click OK to close the DHCP server properties.

You have now configured DHCP failover on the first DHCP server.

Testing DHCP Failover

To test DHCP failover, you will need to disable the DHCP server on the first DHCP server. To do this, follow these steps:

  1. Log in to the first DHCP server.
  2. Open the DHCP console.
  3. Right-click on the DHCP server and select Properties.
  4. Click on the General tab.
  5. Uncheck the Enable DHCP server checkbox.
  6. Click OK to close the DHCP server properties.

The first DHCP server is now disabled. The second DHCP server should now be providing IP addresses to clients.

Conclusion

In this article, we showed you how to configure DHCP failover in Windows Server 2022. DHCP failover is a great way to provide redundancy for your DHCP server. We hope you found this article to be helpful.

Configuring DHCP Failover in Windows Server 2022

In this article, we will continue our series on configuring DHCP failover in Windows Server 2022. In the previous article, we configured a failover relationship between two DHCP servers. In this article, we will discuss how to configure DHCP failover for failover clusters.

DHCP failover for failover clusters is a new feature in Windows Server 2022. It allows you to configure a DHCP server cluster and have the DHCP server services automatically fail over to another node in the cluster if the active node fails.

To configure DHCP failover for failover clusters, you will need to first create a failover cluster. For more information on how to create a failover cluster, see the following article:

https://docs.microsoft.com/en-us/windows-server/failover-clustering/failover-clustering-overview

Once you have created a failover cluster, you will need to add the DHCP server role to the cluster. For more information on how to add the DHCP server role to a failover cluster, see the following article:

https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-failover-clusters

After you have added the DHCP server role to the failover cluster, you will need to configure the failover relationship between the two DHCP servers. For more information on how to configure the failover relationship, see the following article:

https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-failover-clusters#configure-the-failover-relationship

Once you have configured the failover relationship, you will need to configure the DHCP server cluster. For more information on how to configure the DHCP server cluster, see the following article:

https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-failover-clusters#configure-the-dhcp-server-cluster

After you have configured the DHCP server cluster, you will need to configure the DHCP scope. For more information on how to configure the DHCP scope, see the following article:

https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-failover-clusters#configure-the-dhcp-scope

Once you have configured the DHCP scope, you will need to configure the failover settings for the scope. For more information on how to configure the failover settings for the scope, see the following article:

https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-failover-clusters#configure-failover-settings-for-the-scope

After you have configured the failover settings for the scope, you will need to activate the scope. For more information on how to activate the scope, see the following article:

https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-failover-clusters#activate-the-scope

Once you have activated the scope, you will need to configure the DHCP server options. For more information on how to configure the DHCP server options, see the following article:

https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-failover-clusters#configure-dhcp-server-options

After you have configured the DHCP server options, you will need to configure the DHCP client. For more information on how to configure the DHCP client, see the following article:

https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-failover-clusters#configure-the-dhcp-client

Once you have configured the DHCP client, you will need to test the failover. For more information on how to test the failover, see the following article:

https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-failover-clusters#test-the-failover

After you have tested the failover, you will need to verify the failover. For more information on how to verify the failover, see the following article:

https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-failover-clusters#verify-the-failover

If you have any questions about configuring DHCP failover for failover clusters, please post them in the comments section below.