TechSpot

Is there a way I can find out when the DHCP lease will expire for a internet ip

By FreewareTown
May 3, 2008
  1. is there a way I can find out when the DHCP lease will expire for a internet ip address
     
  2. jobeard

    jobeard TS Ambassador Posts: 9,322   +622

    depends upon how you are wired.

    if your system is directly cabled to the modem, then just use
    run->cmd /k ipconfig /all
    it will be shown at the bottom.

    if you have a router between the modem and the system, then
    log into the router and view the WAN settings
     
  3. FreewareTown

    FreewareTown TS Rookie Topic Starter

    it is not displayed in the router, is there a site or a utility that can tell me?
     
  4. THNDR143

    THNDR143 TS Member Posts: 43

    ...

    By default, the time limit is set to 24 hours (most cable modems). some are set to 1 week.
     
  5. Bobbye

    Bobbye Helper on the Fringe Posts: 16,335   +36

    What are you trying to determine? Are you getting a security warning about an expired security certificate?
     
  6. raybay

    raybay TS Evangelist Posts: 7,241   +9

    You might get some clues from the notes on modifying the registry. This information on Windows Server 2003 might be helpful, if not exact.

    You have to modify the registry. However, serious problems might occur if you modify the registry even slightly incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the (322756) article in the Microsoft Knowledge Base:

    DHCP checks for expired leases by using the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DhcpServer\Parameters\DatabaseCleanupInterval

    By default, when the DHCP Server service is running on Windows Server 2003-based computers, the DatabaseCleanupInterval value is set to 60 (1 hour). When the DHCP Server service is running on a Windows 2000-based computer, the DatabaseCleanupInterval value is set to 1440 (1 day). When the DHCP lease is released, the DHCP server unregisters the DNS record.

    You can configure the client's DHCP lease to expire automatically when the client computer is shut down for Windows 2000-based DNS clients or for later versions of DNS clients. To do this, follow these steps:


    1. Click Start, point to Administrative Tools, then click DHCP
    2. Expand the scope for which you want to change the DHCP expiration lease, right-click Scope Options, then click Configure Options.
    3. Click the Advanced tab.
    4. Click the list that is next to Vendor Class, then click Microsoft Windows Options.
    5. Click to select the 002 Microsoft Release CHCP Lease on Shutdown Option check box, then click
     
  7. jobeard

    jobeard TS Ambassador Posts: 9,322   +622

    please reply with make/model of the router --
    I think you are looking in the wrong location as I've never seen a router yet that did not document
    the settings on the WAN side to the modem or ISP.
     
  8. jobeard

    jobeard TS Ambassador Posts: 9,322   +622

    All this will only document the LAN settings, not the WAN/ISP settings where the public IP address is set. If that's what you need (ie Lan settings) then IPCONFIG /ALL is sufficient.
     
  9. FreewareTown

    FreewareTown TS Rookie Topic Starter

    the router is a 2wire 3800HGV-B and the ISP is ATT
     
  10. raybay

    raybay TS Evangelist Posts: 7,241   +9

    Your IP will tell you if you call tech support. Or you should be able to call up this information on your router. If not, download the free version of Network Magic.
     
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...