question

James-8084 avatar image
0 Votes"
James-8084 asked LimitlessTechnology-2700 answered

DHCP Failover issue - long delay for client to receive IP

We have 2 DHCP servers (both Windows 2012 R2 Core) in a hot failover configuration on separate subnets/sites connected over MPLS. Clients are the majority of the time taking a long time to receive an IP. I have figured out that the cause is something to do with the failover configuration.

From comparing the DHCP logs of both servers, what I can see happening is the following:
- Client sends a discover for an IP
- The standby server immediately sees the discover, gives out event ID 36 'packet dropped because of client ID hash mismatch' error (as it should because it is not the active partner). It is expecting the active partner to assign an IP.
- The active partner has no DHCP logs for this initial and many subsequent discovers, but at some point later it finally responds and assigns an IP. It can be anything from 5 minutes to 3 hours for it to assign an IP. Other times it assigns an IP at a perfectly synchronised time with the hot standby partner's initial event ID 36 error, so there is no delay.

We have the network configured correctly with ip-helpers pointing to both servers and I am 99% sure that both servers always receive the DHCP discover even though the active partner ignores it. We have tried recreating the failover configuration. I don't know how I can do a packet capture on Core servers to trace any network issues.
We see the same behaviour both ways - going from site 1 to site 2 and from site 2 to site 1 regardless of which lease range it is.
Servers are reconciled and replicated with no issues.

Hoping someone has some suggestions to resolve this!

windows-dhcp-dns
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hi @James-8084

DHCP usually might take a bit longer time because it involves a series of transactions, not with a single server but with all the devices on the network during the initial request, as it sends a broadcast message. Below are some troubleshooting steps that you can try out.

-Disabling the IPv6
-Upgrading NIC drivers
-BIOS update to workstation
-Changing network cables
-Rebooting the switches
-Rebooting the router

Below threads discusses the same issue and you can try out some troubleshooting steps from this and see if that helps you to sort the Issue.

DHCP Client not receiving IP address until manual renewal
https://docs.microsoft.com/en-us/answers/questions/631452/dhcp-client-not-receiving-ip-address-until-manuall.html

DHCP failover 2012-2016 problem
https://docs.microsoft.com/en-us/answers/questions/55154/dhcp-failover-2012-2016-problem.html

Hope this resolves your Query!!


--If the reply is helpful, please Upvote and Accept it as an answer–

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.