cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1040
Views
0
Helpful
4
Replies

can one LAN have two DHCP server?

thebeatlesguru
Level 1
Level 1

i wanna know can one LAN have two servers, if there can be two DHCP server,is that one for master ,one for slave?

if the two DHCP servers can work together ,when a client join the LAN ,which server should give the client a ip

4 Replies 4

a.manosca
Level 4
Level 4

On the same subnet, you cannot run two DHCP servers that assign addresses from the same range.

However, on the same subnet, you can have two DHCP servers that assign addresses from different ranges. Suppose you have a class C network, 192.168.1.0, and DHCP will give out addresses 192.168.1.10 through 192.168.1.150. You can run two DHCP servers on the subnet and let one distribute addresses .10 through .100 while letting the other pass out .101 through .150.

But here are some info on Planning DHCP networks:

http://www.microsoft.com/windows2000/en/server/help/default.asp?url=/windows2000/en/server/help/sag_DHCP_imp_PlanningNetworks.htm

Hope this helps.

thanks, i understand what u mean , but i wanna ask if there is two DHCP server that assign addresses from different ranges, when a new comer come into the subnet ,which server will assign a ip for the new comer

The DHCP request goes out to each server you have identified with the ip helper-address. The client negotiates with the first server to respond. I have seen only one instance of a problem configuring the DHCP in this manner and it was resolved by removing TCP/IP from the client interface and then configuring it again to use a DHCP server.

Hope this helps

Maybe this info from Microsoft can help:

When started, each DHCP client broadcasts a DHCP discover message (DHCPDISCOVER) to its local subnet to attempt to find a DHCP server. Because DHCP clients use broadcasts during their initial startup, you cannot predict which server will respond to a client's DHCP discover request if more than one DHCP server is active on the same subnet.

For example, if two DHCP servers service the same subnet and its clients, clients can be leased at either server. Actual leases distributed to clients can depend on which server responds first to any given client. Later, the server first selected by the client to obtain its lease might be unavailable when the client attempts to renew.

Here's the link:

http://www.microsoft.com/windows2000/en/server/help/default.asp?url=/windows2000/en/server/help/sag_dhcp_imp_bestpractices.htm