{"id":8163,"date":"2022-03-11T14:25:40","date_gmt":"2022-03-11T12:25:40","guid":{"rendered":"https:\/\/tekmart.co.za\/t-blog\/?p=8163"},"modified":"2022-03-11T14:27:45","modified_gmt":"2022-03-11T12:27:45","slug":"configuring-dhcp-failover-for-windows-server","status":"publish","type":"post","link":"https:\/\/tekmart.co.za\/t-blog\/configuring-dhcp-failover-for-windows-server\/","title":{"rendered":"Step by step guide in configuring DHCP failover for Windows Server"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time-approximately:<\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<h2 class=\"wp-block-heading\"><strong>DHCP is a critical service, and network admins should take the time to create fault tolerance. Windows Server makes it easy to configure both failover and load balancing.<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.ttgtmedia.com\/rms\/onlineimages\/garn_damon.jpg\" alt=\"Damon Garn\"\/><\/figure>\n\n\n\n<p>By <a href=\"https:\/\/www.techtarget.com\/contributor\/Damon-Garn\">Damon Garn<\/a><\/p>\n\n\n\n<p>The role of the Dynamic Host Configuration Protocol, or\u00a0DHCP, server is a simple yet critical one. DHCP provides the IP address configuration to workstations, laptops, phones and tablets connected to an organization&#8217;s network. It may even provide IP address settings for some VMs, servers and network printers.<\/p>\n\n\n\n<p>Examples of IP address settings include the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>IP address and corresponding subnet mask;<\/li><li>default gateway, such as a router; and<\/li><li>name resolution server IP addresses, such as\u00a0DNS.<\/li><\/ul>\n\n\n\n<p>Many other configurations are possible, but these are the standard options.<\/p>\n\n\n\n<p>The settings provided by DHCP are critical. The router address enables clients to communicate outside their local network. Name resolution converts easy-to-remember hostnames to difficult-to-remember IP addresses, enabling easier file sharing, web browsing, email communications and access to just about every other network service.<\/p>\n\n\n\n<p>Initially, if the DHCP server fails, clients with existing leases maintain their addresses. By default, Windows leases are not renewed for eight days following the initial lease. That should give network admins sufficient time to fix the DHCP server. New clients, however, will not be able to lease addresses.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><br><strong>The importance of DHCP failover<\/strong><\/h3>\n\n\n\n<p>DHCP services are critical enough to warrant fault tolerance. Before Windows Server 2012, such fault tolerance was relatively cumbersome to implement and maintain. The more\u00a0recent Windows Server versions, however, include a straightforward way to manage DHCP redundancy.<\/p>\n\n\n\n<p>These settings are not just for fault tolerance, but can also provide load balancing for large networks where the DHCP servers support many transient clients on multiple subnets. For some administrators, the ability to load balance DHCP services may be just as critical as high availability.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Define redundancy requirements<\/strong><\/h3>\n\n\n\n<p>For larger DHCP implementations involving many clients, scopes, subnets and servers, be sure to develop a plan. Know which scopes benefit from DHCP failover; it may not be necessary to configure this feature for all of them. For example, lab and classroom scopes may not need this option.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>DHCP failover requirements<\/strong><\/h3>\n\n\n\n<p>The requirements for Windows-based DHCP failover are no different from a standard Windows DHCP deployment. Both servers must have the DHCP Server role installed, and an enterprise administrator must authorize the servers in Active Directory (AD).<\/p>\n\n\n\n<p>To begin the process, create a new scope, or choose an existing one. If you create a new scope, walk through the configuration wizard to define the values for the scope name, IP address range, subnet mask, default gateway name resolution and lease duration.<\/p>\n\n\n\n<p>Once the initial scope is created, you can configure failover or load-balancing options.<\/p>\n\n\n\n<p>Note that either or both DHCP servers can be VMs. They just need the appropriate network membership.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Steps to configure DHCP failover<\/strong><\/h3>\n\n\n\n<p>First, select a Windows Server system as the second DHCP server. Install the DHCP Server role on this device.<\/p>\n\n\n\n<p>Next, return to the original DHCP server, right-click the scope you wish to configure for failover and select&nbsp;<strong>Configure Failover<\/strong>. The wizard walks you through the remaining settings. The DHCP service must also be running on both systems.<\/p>\n\n\n\n<p>Here are the detailed steps.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Step 1. Select Configure Failover<\/strong><\/h4>\n\n\n\n<p>Right-click the selected DHCP scope, and select&nbsp;<strong>Configure Failover<\/strong>&nbsp;from the context menu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"400\" height=\"197\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Configuring-Failover-option-under-DHCP-scope-screen-snapshop.jpg\" alt=\"\" class=\"wp-image-8164\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Configuring-Failover-option-under-DHCP-scope-screen-snapshop.jpg 400w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Configuring-Failover-option-under-DHCP-scope-screen-snapshop-300x148.jpg 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><figcaption><strong>Configure Failover option under DHCP scope.<\/strong><\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Step 2. Specify the partner server<\/strong><\/h4>\n\n\n\n<p>In the&nbsp;<strong>Specify the partner server to use for failover<\/strong>&nbsp;box, type the server name, or use the&nbsp;<strong>Add Server<\/strong>&nbsp;button to browse to it in AD.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"900\" height=\"451\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Specify-partner-server-for-failover-screenshot.jpg\" alt=\"\" class=\"wp-image-8165\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Specify-partner-server-for-failover-screenshot.jpg 900w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Specify-partner-server-for-failover-screenshot-300x150.jpg 300w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Specify-partner-server-for-failover-screenshot-768x385.jpg 768w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Specify-partner-server-for-failover-screenshot-800x401.jpg 800w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><figcaption><strong>Specify partner server for failover.<\/strong><\/figcaption><\/figure>\n\n\n\n<p>The wizard validates the configuration of the partner server.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Step 3. Create new failover relationship<\/strong><\/h4>\n\n\n\n<p>Fill in the following values to configure a failover partnership (I have set some example values):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Relationship Name: DHCP-Server01-Server02<br>Mode: Hot standby<br>Enable Message Authentication: Check the box<br>Shared secret: abc123<\/pre>\n\n\n\n<p>For the&nbsp;<strong>Hot Standby Configuration<\/strong>&nbsp;mode, fill in the following values:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Mode: Hot standby<br>Hot Standby Configuration<br>Role of Partner Server: Standby<br>Addresses reserved for standby server: 10%<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"900\" height=\"995\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Creation-of-a-new-failover-relationship-screenshot.jpg\" alt=\"\" class=\"wp-image-8166\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Creation-of-a-new-failover-relationship-screenshot.jpg 900w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Creation-of-a-new-failover-relationship-screenshot-271x300.jpg 271w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Creation-of-a-new-failover-relationship-screenshot-768x849.jpg 768w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Creation-of-a-new-failover-relationship-screenshot-800x884.jpg 800w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><figcaption><strong>Create a new failover relationship.<\/strong><\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Step 4. Select Finish to complete configuration<\/strong><\/h4>\n\n\n\n<p>The wizard displays a settings summary. Select&nbsp;<strong>Finish<\/strong>&nbsp;to complete the configuration.<\/p>\n\n\n\n<p>Switch to the second DHCP server. In the DHCP console, note the scope has been replicated.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>DHCP load-balancing configuration<\/strong><\/h3>\n\n\n\n<p>The load-balancing settings are nearly the same. When configuring a load-balancing mode, instead of&nbsp;<strong>Hot standby<\/strong>&nbsp;in the&nbsp;<strong>Mode<\/strong>&nbsp;pulldown menu, select&nbsp;<strong>Load balance<\/strong>. Then, configure the following settings:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Mode for Load balance:<br>Load Balance Percentage<br>Local Server: 50%<br>Partner Server: 50%<\/pre>\n\n\n\n<p>The other settings remain the same as with failover mode. Define the appropriate load-balancing ratio. In the example, I set 50% of the addresses for each server.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"238\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Load-balance-mode-options-screenshot-1.jpg\" alt=\"\" class=\"wp-image-8168\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Load-balance-mode-options-screenshot-1.jpg 900w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Load-balance-mode-options-screenshot-1-300x79.jpg 300w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Load-balance-mode-options-screenshot-1-768x203.jpg 768w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2022\/03\/Load-balance-mode-options-screenshot-1-800x212.jpg 800w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><figcaption><strong>Load balance mode options.<\/strong><\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Manage DHCP failover<\/strong><\/h3>\n\n\n\n<p>Recall that DHCP logs information in Event Viewer. It also generates text-based logs at C:\\Windows\\System32\\DHCP. These detailed logs display lease generation attempts and provide invaluable information on DHCP functionality. Be sure to\u00a0check these logs\u00a0if you suspect any DHCP-related issues.<\/p>\n\n\n\n<p>The DHCP console displays current lease information in the Address Leases node. If you&#8217;ve configured your DHCP servers in load-balancing mode, use this node to see which server provided IP configurations to the various clients.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Test the configuration<\/strong><\/h3>\n\n\n\n<p>Testing is a key part of\u00a0disaster recovery planning, and DHCP failover is no different. Consider disabling one of your DHCP servers to ensure client devices can still lease IP address configurations within your mean time to recovery window.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Wrap up<\/strong><\/h3>\n\n\n\n<p>DHCP servers provide essential information to client computers, and Windows Server offers a simple configuration that supports either fault tolerance or load balancing. Take the time to consider the DHCP scopes on your servers and identify those that will benefit from redundancy. Then, follow these steps to add to the reliability and performance of your AD environment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time-approximately:<\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>DHCP is a critical service, and network admins should take the time to create fault tolerance. Windows Server makes it easy to configure both failover and load balancing. By Damon Garn The role of the Dynamic Host Configuration Protocol, or\u00a0DHCP, server is a simple yet critical one. DHCP provides the IP address configuration to workstations, laptops, phones and tablets connected<\/p>\n<p><a class=\"more-link\" href=\"https:\/\/tekmart.co.za\/t-blog\/configuring-dhcp-failover-for-windows-server\/\">Read More<\/a><\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,35,8,19,4,30,152,16,3,117,285,116,71,338,12],"tags":[],"class_list":["post-8163","post","type-post","status-publish","format-standard","hentry","category-best-practices-for-data-center-operations","category-data-center-facilities","category-data-center-hardware","category-data-centre-servers","category-datacenter-news","category-expert-advise-and-opinion","category-how-do-i","category-how-tos-and-other-useful-tips-and-tricks","category-industry-news-and-expert-advise","category-network-management-and-monitoring","category-network-management-software-and-network-analytics","category-network-security","category-network-services","category-tech-partners-curated-content","category-tekmart-enterprise-hardware-tips"],"_links":{"self":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/8163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/comments?post=8163"}],"version-history":[{"count":2,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/8163\/revisions"}],"predecessor-version":[{"id":8170,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/8163\/revisions\/8170"}],"wp:attachment":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/media?parent=8163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/categories?post=8163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/tags?post=8163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}