|
Home > Archive > General Discussion > July 2001 > DHCP problems ....
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
DHCP problems ....
|
|
|
| another little problem !!
I have DHCP setup on a win2k site. The lease time is 8days (default). The IP scope is 172.16.1.1/24 ti 172.16.1.254/24
Now for some reason, when I switch off one or two computers, the computers do NOT release the IP ? When I go into DHCP manager on the DHCP server, I find that even after the computer has switched off, the IP is still reserved for that computer ??
Funny enough, when I switch the computer back on, it has the same IP address that it had before I switched it off... Its as though the Server never knew that the computer was switched off ?
Does anyone know how I can get the computers to release their IP address before switching themselves off ?
ThAnKs,
ando | |
| Joe Blacke 2001-07-24, 8:26 am |
| DHCP clients are not like WINS clients. They do not release their IP addresses when being shut down, whereas WINS clients let the WINS server know to release the IP address associated with their registered name. A DHCP clients keeps it's assigned address when shutting down, so that upon reboot it can try to renew the lease with the DHCP server. If a DHCP server is unavailable, it will contact the default gateway to make sure it can communicate on the network. If it can communicate on the network, it continues to use the assigned IP address until it's lease expires.
If you need to make sure that clients release their IP address when being shut down, because you do not have enough addresses available, then you may try setting the lease time to a shorter period. If that isn't acceptable, then you can try to create a logoff/shutdown script that includes the ipconfig /release switch, and then import the script into a GPO. | |
| mrgrunge 2001-07-24, 8:33 am |
| Absolutely correct! The DHCP will not assign a new address until the lease time is up. The computers will keep the same IP address during this period. | |
|
| ah right, thanks for that !
I'll try make a script, although this is another thing I've never done before !! |
|
|
|
|