Partager via


Multi-Site deployment topologies for DHCP Failover

The two modes of configuring DHCP Failover Load Balance and Hot Standby enables a wide range of deployment topologies involving failover deployment between the DHCP servers present in the same site or spread across multiple sites.

The most rudimentary one is the single-site deployment, where both the servers in a failover relationship are located at the same physical site. The two servers can be either in a Load Balance or Hot Standby mode and serve a set of subnets which are in the same site. Load balance mode is more suited for this kind of deployment because both servers can respond to DHCP client requests without any network latency. The clients remain agnostic of which server is serving the IP Addresses and the other DHCP options. 

There are a lot of variations possible in the multi-site deployment scenarios. The deployment can be done involving 2 or more sites. Below are some of the standard topologies.

Symmetric Relationship

The deployment construct of two DHCP servers backing up each other for two different set of scopes via two failover relationships is extensible to more than two sites. In the scenario shown below, the site 1 and the site 2 each have a local DHCP server servicing clients in that site. To ensure high availability of the DHCP service at both the sites, one can setup two failover relationships in Hot Standby mode. One of the failover relationships will comprise all subnets/scopes at site 1. It will have the DHCP server at site 1 as the active server with the DHCP server at site 2 as the standby. The second failover relationship will comprise all subnets/scopes at site 2. It will have the DHCP server at site 2 as the active server and the DHCP server at site 1 as the standby.

Figure 1: Symmetric Model

Ring Topology

The symmetric model can still be enhanced and visualized as a ring topology involving multiple sites where a server at each site - in addition to being the active server for the local network – is the standby server for another site. The failover relationships can be set up to form a ring topology (as shown in the illustration below) through the DHCP servers at different sites.

For example, in the illustration in Figure below, in the event of DHCP server 1 being down, the computers and devices on site 1 will be provided DHCP service by DHCP server 4 located at site 4 and likewise for all the other sites. In such a deployment each DHCP server will have 2 failover relationships - one for which it is active (this will have the subnets/scopes of the local site) and the other for which it is standby (this will have the subnets/scopes of the remote site)

 

Figure 2: Ring Topology

 

Hub and Spoke Model

The other variation in case of a multi-site deployment is where each remote site has a local server which is configured to provide the DHCP service to the computers and devices on the local network. That is it acts as a primary active server for the local network.  Another DHCP server at a central office or data center acts as a secondary for all the remote sites.

In a normal mode of operation, computers and devices on a given site receive IP addresses and other network configuration (options) from the DHCP server located at the same site. However, in the event of the local DHCP server being down, the DHCP server from the central site would provide the service. When deployed in this fashion, each of the remote site DHCP servers will have single failover relationship with the hub DHCP server. The hub DHCP server will have as many failover relationships as the number of remote sites (spokes) - for each of which its a secondary/standby server.

Hot standby mode of operation is best suited to such kind of deployments where a central office or data center server acts as a standby backup server to a server at a remote site, which is local to the DHCP clients. In such deployments, it is undesirable to have computers and devices on a site being served by the DHCP server at the remote site unless the local DHCP server becomes unavailable because of delays associated with communication over the inter-site link and unwarranted traffic on the inter-site link.

 

Figure 3: Hub-and-Spoke Model

Besides these deployment topologies, DHCP failover can be deployed in several other variations of aforementioned deployment topologies.

You can also have a DHCP server be part of a load balance and a hot standby failover relationship (each for a different set of scopes of course) at the same time.

Team DHCP

Comments

  • Anonymous
    January 01, 2003
    Chris, with DHCP failover you do not need to use split scope. You should configure server 1 and server 2 with a failover relationship for scope 10.10.1.0/24.

  • Anonymous
    January 01, 2003
    Victor, DHCP failover does not support more than 2 servers hosting the same set of scopes. This as per the IETF DHCP failover spec. You will need to use a combination of DHCP failover and Windows clustering to achieve what you want. Seehttp://technet.microsoft.com/en-us/library/dn338983.aspx#cluster.

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    January 01, 2003
    Marc, as far as I know, capability to configure 2 IP helpers has been in routers for quite some time.

  • Anonymous
    January 01, 2003
    Salah, you can look at http://technet.microsoft.com/en-us/library/dn338983.aspx#cluster which talks about the first option that I mentioned above.

  • Anonymous
    January 01, 2003
    Victor, see this link for setting up DHCP server on a Windows failover cluster -http://technet.microsoft.com/en-us/library/ee405263(v=WS.10).aspx

  • Anonymous
    January 01, 2003
    Steven, You need to configure the DHCP relay agent/IP helpers on switch/router to forward the traffic to IP addresses of both the DHCP servers in the failover relation.

  • Anonymous
    January 01, 2003
    Ian, a failover relationship can be only between 2 DHCP servers and is associated with a set of scopes.
    lets say you hub site has scopes 1 thru 5 and are setup for DHCP failover on server1 and server 2 at the hub. You can have a server3 at a spoke site with a failover relationship (with scopes 6 thru 10) to server 1 or server 2 serving as standby. But if you already have server 3 and server 4 in a failover relationship (with scopes 6 thru 10), you cannot have another failover relationship with server1 or server 2 for the same scopes.
    If you need more than one level of redundancy, you can combine DHCP Failover with Windows clustering.
    For example, server 1 and server 2 are on a Windows clustered and the clustered DHCP server has a failover relationship with server 3 which is standalone or again on a Windows cluster.

  • Anonymous
    January 01, 2003
    Victor, the steps for setting up DHCP server on a Windows failover cluster has not changed between 2008R2 and 2012R2.

  • Anonymous
    January 01, 2003
    Marc, as far as I know, capability to configure 2 IP helpers has been in routers for quite some time.

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    January 01, 2003
    Are you considered a super-nerd when you get excited about DHCP? This is truly awesome and at the same time soooo overdue! Good Work!

  • Anonymous
    January 01, 2003
    Hi Marc, no - you need to configure the router so that it sends the DHCP client packet to both the DHCP servers at the same time.

  • Anonymous
    January 01, 2003
    Praveen, the standby DHCP server will respond to retransmission of client messages. Most DHCP clients (including Windows) do multiple retransmissions until they get a response. There is a seconds field in the DHCP message in which the client is supposed to send how long it has been retransmitting. If this is more than 6 seconds, the standby DHCP server will respond.

  • Anonymous
    April 30, 2013
    In a symmetric model (or any multi-site model really), how does the network know where to send DHCP requests?

  • Anonymous
    February 20, 2014
    Any idea if is possible to have a hub site active / active pair also server as stand by for a spoke site active / passive configuration?

  • Anonymous
    April 29, 2014
    If we split scopes, for example Server 1 handles DHCP for 10.10.1.1-100 and Server 2 handles DHCP for 10.10.1.101-200. Can we still have a failover relationship for these two servers with 2 backup servers?

  • Anonymous
    July 20, 2014
    The comment has been removed

  • Anonymous
    September 01, 2014
    The comment has been removed

  • Anonymous
    September 11, 2014
    thanks for the response, please how do I go about the Clustering since am currently using two Virtual machines has my DHCP servers. Any documentation I can use please?

  • Anonymous
    September 17, 2014
    hi, the example in the link above for the clustering is for Windows server 2008 R2. its not going to work in my environment because am using virtual machines running windows server 2012 R2. Can I have a scenario that works for 2012 R2 or a documentation on how to go about it.

    thanks.

  • Anonymous
    September 18, 2014
    The comment has been removed

  • Anonymous
    September 18, 2014
    The comment has been removed

  • Anonymous
    September 19, 2014
    Perfect!!, thank you very much. I have a last question but maybe it is not the apropiate site. Is a standard feature for all routers (configure 2 ip helpers) or only for new / premium routers?



  • Anonymous
    March 11, 2015
    The comment has been removed