Link to home
Start Free TrialLog in
Avatar of techmiss
techmissFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Windows DHCP - Non Split Scopes

Hi all,

What happens when there are two DHCP servers on a domain both authorised to to serve a 10.10.0.0 scope in DHCP (same IP Range)?  Will clients always choose one server or will it be randomly split between both?

(FYI I have set up split scopes on two other Windows Servers (2008 R2) but cannot do in this instance as all the leases are currently on a 2003 Server.)

Cheers

K
ASKER CERTIFIED SOLUTION
Avatar of xcas
xcas
Flag of Ukraine image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The client broadcasts a DHCP Request packet, both servers send their DHCP Offer, and the client answers with a DHCP Acknowledge on the request it received first.

The reason why you would configure a split scope in such cases is this: if the scope isn't splited, assume both DHCP-servers can assign the 10.10.0.0 - 10.10.255.255 range.
Client 1 requests DHCP
=> Server 1 offers 10.10.0.1
=> Server 2 offers 10.10.0.1
Client accepts 10.10.0.1 offer from Server 1.
Everything fine :)
Client 2 requests DHCP
=> Server 1 offers 10.10.0.2 (as 10.10.0.1 is already acknowledged by client 1)
=> Server 2 offers 10.10.0.1 (as this server didn't receive an acknowledgement)
Client accepts 10.10.0.1 offer from Server 2 (as it did come before the server 1 offer).
Now there are two clients with 10.10.0.1, which WILL give you problems.

So set up a split scope by mutually excluding ranges, and avoid problems.
Avatar of Brian Pierce
If the client does no have an IP then the client will essentially get its IP from whichever server responds first with a DHCP offer.

If the client already hads and IP and is trying to renew its lease it will contact the DHCP server from which the original lease was obtained to have it renewed.
Avatar of techmiss

ASKER

Thanks

K