Discussion Locked

Multiple DHCP Servers in same Subnet

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I Would like to know what happens When

1) i configure 2 DHCP servers with same range of IP Address ?

2)I configure 2 DHCP Server with different range of IP address & Scope ID ?

How will client system know from which DHCP it should request ?

5 replies

by oskiller

The best way to describe it is cluster****. Unless you are using a clustering/software solution that will allow DHCP servers to serve the same range of addresses, you cannot have the servers serve the same address ranges. Additionally, you should never put 2 DHCP servers on the same subnet it will lead to problems.

Finally, a client does not know which server to request from. It does not need to. DHCP is a broadcast request, and waits for a response from an available server. The only time itwill communicate with the server again is halfway through its lease when it wants to try and renew it.

by budgiesoft

Scenario 1 is bad.

Scenario 2 is good because it provides redundancy. The key issue is to make sure the IP ranges do not overlap.

Example DHCP conversation:
Workstation: Hi, I just booted up and I'm on the network. Is there a DHCP here?
DHCP2->Workstation: I'm here.
(100 ms later)
DHCP1->Workstation: I'm here.
Workstation -> DHCP2: ACKnowledged, send me an address please.
Workstation -> DHCP1: Negative ACKnowledge; request already handled
DHCP2 -> Workstation: Here is your new address, mask, default gateway, and DNS information
Workstation -> DHCP2: ACKnowledged, thanks for the information

Competition between DHCP servers is not bad. In the event one range fills up, the server should no longer respond to broadcasts.

Additionally, each workstation will attempt to release its address 1/2 through the lease period.

This discussion is closed to new replies.