You are on page 1of 18

6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

CONTACT HOMELAB    

DIMITRIS
TONIAS
G(R)EEK IT PRO

HOME WINDOWS OFFICE WEB SOFTWARE WINDOWS SERVER

VMWARE FREE TOOLS

Implement DHCP SEARCH …

Failover in Windows
Server 2016 IN THE SPOTLIGHT

 February 22, 2018  Dimitris Tonias  Windows Server


2016

Disable autoplay
videos on
By using Failover on DHCP Server, what we do is share the load Facebook
between the two servers with load balancing as well as provide
fault tolerance. Thus, even if one of the two DHCP servers is not
online, then the clients continue to be served by the second
server.

The DHCP Failover can be con gured with two basic modes.

Load Balance Mode, where both DHCP servers are active at


the same time and the load is shared between them.

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 1/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

Hot Standby Mode, where one DHCP server is active (as


primary) and the other is passive (as secondary) so that
Disable autoplay
when the primary is unavailable, secondary is automatically
enabled. videos on
Facebook
These two modes can be applied either at the DHCP Scope level,
 December 11, 2016
for each scope separately, or at the Server level for all Scopes
universally. Here’s how to disable
autoplay videos on
your Facebook news
Con gure DHCP Failover in Windows feed when you’re
Server 2016 browsing on your PC,
smartphone and
tablet.
In order to implement this scenario, we will assume that we have
two DHCP servers, DC01 and DC02, which they are both DCs and
READ MORE
DNS servers as well. These extra roles are not required, though.

We assume that the DHCP role has been installed on the two
servers and the appropriate Scopes have been con gured on one
DHCP server. Install Remote
Server
Administration
DHCP Failover – Load Balance Mode Tools (RSAT) in
Windows 10

 December 23,
Open the DHCP console, right-click IPv4, and then click Con gure
2017
Failover.

Windows 10, go
back to the
previous
version

 August 22,
2017

Remove
hyperlinks from
Excel sheets

 September 8,
2017
In the window that will appear, you will see the list of available
Scopes that you can set for failover. Select all is turned on by
default, you can turn it o and select only those you want to Show or hide
app list in
con gure. Click Next to continue.

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 2/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

Windows 10
Start menu

 September 10,
2017

Install Windows
Admin Center
on Windows
Server 2016

 April 22, 2018

Display default
desktop icons
on Windows 10

 February 7,
2016

Recently added
apps on
Windows 10
Start menu

 August 30,
2017
Click the Add Server button to select the second DHCP server from
the list of authorized DHCP servers or simply type the hostname
or IP address in the corresponding eld and click Next to
Con gure
continue. Reservations in
DHCP Server
2016

 February 19,
2018

Increase virtual
machine’s hard
disk space on
VMware
Workstation

 September 6,
2017

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 3/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

GET MORE
STUFF
Subscribe to our mailing
list and get interesting
stu and updates to your
email inbox.

Enter your email here

I consent to my
submitted data being
collected via this form*

SIGN UP NOW

we respect your privacy and


take protecting it seriously

In the next step, you’ll need to go through some settings.

In the Relationship Name eld, type a name for the speci c


“relationship” of the two servers.
In the Mode eld, select Load Balance.
In the Load Balance Settings eld, select the load percent of
each server to share with each other.
In the State Switchover Interval eld, you can leave it blank.
This setting is used for Hot Standby mode.
In the Enable Message Authentication eld, you can enable
it if desired, and then enter a password in the Shared
Secret eld. This password is used to authenticate
messages sent between the two servers participating in
DHCP Failover.

Click Next to continue.

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 4/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

Finally, click Finish to complete the Failover set up.

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 5/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

Immediately after, the corresponding progress window will


appear and as everything went well you will see the Con gure
failover successful message.

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 6/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

DHCP Failover – Hot Standby Mode

The steps to con gure Hot Standby mode are the same as those
described above, but we’ll only stop at the last step that is a bit
di erent.

In the Relationship Name eld, type a name for the speci c


“relationship” of the two servers.
In the Mode eld, select Hot Standby.
In the Hot Standby Settings eld, select the percentage of
addresses that the standby server will reserve.
In the State Switchover Interval eld, select the time that
will be required until the status of the DHCP Server change
from passive to active.
In the Enable Message Authentication eld, you can enable
it if desired, and then enter a password in the Shared
Secret eld. This code is used to authenticate messages
sent between the two servers participating in DHCP Failover.

Click Next to continue.

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 7/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

Immediately after, the corresponding progress window will


appear and as everything went well you will see the Con gure
failover successful message.

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 8/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

View and edit DHCP Failover settings

So, after you have set up your DHCP Failover on your server, you
may need to view again how it was con gured and possibly edit
some of its settings. This is done through the DHCP Properties
window.

Right-click on IPv4 and then click Properties. In the window that


opens, go to the Failover tab. Here, you can see the status of
failover settings, edit and delete them.

Correspondingly, through the settings window of each DHCP


Scope, you can view the failover settings for each Scope
separately.

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 9/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

Force Scope and Relationship replication

If you’ve made changes to a server and want to force the


replication from one partner server to another, then this is how
it’s done.

To replicate Scope settings, right-click a Scope, and then click


Replicate Scope.

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 10/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

Correspondingly, to replicate settings of all Scopes, right-click on


IPv4 and then click Replicate Failover Scopes.

Finally, to replicate settings of all Scopes in a particular


relationship, right-click on a Scope and then click Replicate
Relationship.

In any case, the corresponding con rmation message will be


displayed.

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 11/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

Remove (decon gure) DHCP Failover

Removing DHCP Failover settings between two partner servers is


very easy and fast, again at both server and Scope level.

To remove a DHCP Failover Scope, right-click on the Scope and


then Decon gure Failover.

You will need to con rm your action and then the corresponding
message will be displayed.

When removing the DHCP Failover, Scopes and Relationships will


be removed from the partner server.

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 12/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

DHCP Failover via PowerShell

Of course, all of the above actions can be done through


PowerShell. However, due to the fact that DHCP Failover settings
do not change often, it might have been quicker and easier to do
it using the DHCP console instead of PowerShell’s advanced
parameters. So I will not focus more on this point, apart from
mentioning the basic cmdlets.

Add-DhcpServerv4Failover
Add-DhcpServerv4FailoverScope
Get-DhcpServerv4Failover
Remove-DhcpServerv4Failover
Remove-DhcpServerv4FailoverScope
Set-DhcpServerv4Failover
Invoke-DhcpServerv4FailoverReplication

If you are interested, you can search for more information about
the parameters you will need through Microsoft documentation.

Related Posts:
1. Add new IPv4 Scope in DHCP Server 2016
2. Add or remove bindings in DHCP Server 2016
3. Con gure DHCP Server 2016 Filters
4. Con gure Reservations in DHCP Server 2016

   

 DHCP DHCP SERVER WINDOWS SERVER 2016

About Dimitris Tonias  143


Articles

My name is Dimitris Tonias, IT Pro,


G(r)eek, focused on Server,
Virtualization, and Cloud
technologies.

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 13/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

PREVIOUS ARTICLE NEXT ARTICLE

RELATED ARTICLES

Installing Install DNS Show


Active Server role hidden
Directory on les and
on Windows folders in
Windows Server Windows
Server 2016 Server
2016 2016

7 COMMENTS ON IMPLEMENT DHCP FAILOVER IN


WINDOWS SERVER 2016

Jarren Breger JULY 27, 2018 AT 19:00

This perfectly explains everything. Great job! I was


confused on why the scopes didn’t replicate over.

REPLY

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 14/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

Denis MARCH 11, 2019 AT 11:33

is it possible to replicate the scopes automatically when a


change is made to a one dhcp server? in the dhcp load
balancing mode, are the scopes automatically replicated?
Thanks!!

REPLY

rem MARCH 12, 2019 AT 13:01

Hi,

Thx for this topic.


On 2012R2 server, we have a limiation of 31 failover
relations.
Is it the case on 2016 ?
Thx

REPLY

Dimitris Tonias MARCH 14, 2019

AT 22:37

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 15/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

To be honest I’m not quite sure about this. I


can’t nd any o cial reference from Microsoft
that this limitation has changed in WS2016, so I
assume that the limit is the same one with
2012R2 server.

REPLY

Andrew Serekedde MAY 27, 2019 AT 08:37

Hi,
Any chance you could share one write up on Data
Deduplication. Thanks for the others. Helps alot.

REPLY

Joel M JUNE 5, 2019 AT 18:57

Thank you for the great article.


One question I have, however; does the secondary DHCP
server need to be authorized during this process? I didnt
see it mentioned here, nor was it mentioned in any other
articles I have seen…

REPLY

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 16/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

Dimitris Tonias JUNE 11, 2019 AT

20:03

Yes, having a DHCP server authorized means


that it can issue IP addresses to clients.

REPLY

Leave a Reply

Your email address will not be published.

Comment

Name *

Email *

Website

POST COMMENT

CONTACT HOMELAB

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 17/18
6/16/2019 Implement DHCP Failover in Windows Server 2016 - Dimitris Tonias

Copyright © 2017 | Powered by WordPress and Fusioned Enterprise Hosting

https://www.dtonias.com/implement-dhcp-failover-windows-server-2016/ 18/18

You might also like