DHCP help on Win2k Server

Ordo1999

Banned
Mar 8, 2003
118
0
0
I have DHCP setup and running fine, I have it set up so every 5 hours a PC is susposed to get a new IP. But, they don't they always get the same one... Why is that? Can you give me some pointers?
 

FBody24

Junior Member
Aug 1, 2002
2
0
0
Systems running DHCP will ask for the same IP when they renew. If thay IP is still available, then they keep it. Is there a reason you want them to change IP's?
 

Saltin

Platinum Member
Jul 21, 2001
2,175
0
0
I assume you mean that you set the DHCP lease time to 5 hours. As already stated, a DHCP client will always attempt to renew the current lease, starting at 50% of the lease time. So at 2.5 hours, the client will request a renewal of the lease, and the IP won't change.

5 hour lease times are very short. What's the reasoning behind this? Usually you would only set a low lease time if you have more machines than addresses and the machines are on/off alot.

In a normal network, the default of 8 days is quite suitable, but 5 hours is too fast under almost any circumstance I can think of. All you are doing is creating extra broadcast traffic as clients attempt to renew thier leases often.
 

dawks

Diamond Member
Oct 9, 1999
5,071
2
81
They should naturally recieve the same IP when they try to renew it. That is as long as the computer is running during that 5 hour period.

My computer is on 24/7 and I have had the same IP for over a year now, via DHCP.

If you need, you restrict an IP and assign it to a specific MAC address. That way, only that specific computer can obtain that IP from the server.