Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 How network DHCP works ?

views
     
neuromancerx
post Jun 10 2023, 04:13 PM

Enthusiast
*****
Junior Member
879 posts

Joined: Jan 2007
QUOTE(narf03 @ Jun 10 2023, 03:54 PM)
I know DHCP supposed to provide ip to machines, but need to know how they handle when things dont go well.

ie
1) do DHCP communicate with each other ? assuming many DHCP in the network with the same setting, will they fight or work together ?
2) multiple DHCP in a network, what will happen when a new machine come in ? get ip from a random DHCP ? any idea which 1 get priority?
3) if a machine already used a fixed ip, but that fixed ip is in dynamic ip address range, will that IP get offered ?
*
1. Yes if they are part of cluster. No if they are independent from each other
2. Client will use the first DHCP OFFER information that it get.
3. Depends. Some DHCP server have the option to check (usually using ping) if that IP is being use in the network before it offer that ip.
neuromancerx
post Jun 11 2023, 07:42 PM

Enthusiast
*****
Junior Member
879 posts

Joined: Jan 2007
QUOTE(Roadwarrior1337 @ Jun 10 2023, 04:15 PM)
No3 is incorrect. Dhcp server will register the machines and IPs it has assigned to so it doesn’t assign the same ip to a different machine. All machine record will be registered into the dhcp table
*
We are taking about a client that manually configured their static ip using DHCP pool range. I know MS DHCP had the conflict detection option.

https://www.msnoob.com/enable-address-confl...hcp-server.html

 

Change to:
| Lo-Fi Version
0.0163sec    1.03    6 queries    GZIP Disabled
Time is now: 23rd December 2025 - 11:26 PM