Discussion Locked

DHCP and Netware

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
We have a NetWare 4.11 server with DHCP turned on and the lease expires every 10 days (as opposed to the obligitory 3 days). For the second time in the last month and a half, our DHCP table is corrupt (cause unknown) and we are working with our corporate IT department to rebuild the table but they are saying that us in the local IT department have to go around to each workstation (100+), and manually release the IP address manually before re-building the table. Is there a way to automaticallyrelease the IP addresses without the hassle of going to each workstation to release the IP addresses - the last time we did this, it took about 2 hours to do? I think that there might be a way to do this, but am not sure - any help is appreciated.

9 replies

by acurrin

If you are using NAT, and have a simple routing scheme, you could change the IP network number, and the PCs would be forced to obtain a new address on the new network when they booted.

If you can't resolve the corruption problem, consider setting the lease to an obscenely long number (assuming you have enough addresses) like 9999 days, so the workstations have a nearly permanent IP address. Unload DHCPSRVR and DHCPIO, backup the table after it has been rebuilt and have an easily replaceablecopy of the table.

Without the original table, clearing the leases from the server is no option.

by gregc

I agree with the first answer, no way to do it from the server. You need to be sure you are running the 2.10R version of DHCP it has a fix for the corruption problem. That version is included in SP7 and higher, or you can just download it from Novell as filename dhcp21r.exe . Hope this helps!

Greg

by dkamp

One possible solution is the following from Novell knowledgebase. After One boot cycle all machines will be begging for a FRESH IP, then your DHCP table will build itself again.

edit the Windows 95 registry to tell the machine to release its lease whenever the system is shut down. The registry settings for this are:
Key:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\DHCP
Name: ReleaseLeaseOnShutdown
Type: DWORD
Data: 0x00000001 (1)
If this value is not present, or the data value is set to 0x00000000 (0), this functionality will not be enabled.

If you would like to automate this process (of editing the registry) you can create a file called DHCP.REG
----------contents of DHCP.REG----------
REGEDIT4
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\DHCP]
"ReleaseLeaseOnShutdown"=dword:00000001

----------contents of DHCP.REG----------

and then in the system login script somewhere after they have mapped their drives add

#REGEDIT [path to file, ie \\my_server\volume\path\]DHCP.REG

there are other options to use, like checking to see if the machine is a Win95/98 machine (or WINNT,
because WindowsNT uses adifferent registry setting), or inserting a "/s" option in-between the REGEDIT and the path\file to have REGEDIT insert the option without telling the client "Information in DHCP.REG
has been successfully entered into the registry" and making them hit [OK].

David

by jschling

Sure, but you will need access to your NW server that is doing the DHCP. Go into the DHCP tables and expire the IP addresses, this will force new ones out and rebuild your table. We have 1 DHCP with frame relay controlling 40 other network segments. This is easier to manage.

This discussion is closed to new replies.