Skip navigation
This discussion is archived

Show / Find DHCP Lease Time

11695 Views 5 Replies Latest reply: Mar 11, 2009 7:44 AM by djh.me RSS
Prograham Level 1 Level 1 (0 points)
Currently Being Moderated
Jan 8, 2009 10:03 AM
I'm just wondering of a terminal command or any way to see my ip dhcp info: when it was obtained, when it expires, etc.

Thanks.

Brad
Mac OS X (10.5.6)
  • Kappy Level 10 Level 10 (221,005 points)
    Currently Being Moderated
    Jan 8, 2009 10:38 AM (in response to Prograham)
    The DHCP lease time is configured in your router. Consult the router's user manual on how to configure its settings.
    Mac Pro 2.66 Ghz; MacBook Pro C2D 2.33 Ghz; MacBook Pro 2.16 Ghz, Mac OS X (10.5.6), Intel iMac C2D 17 "; MacBook 2.0 Ghz; 30 GB iPod Video (Black); iPod Nano 2 GB
  • Kappy Level 10 Level 10 (221,005 points)
    Currently Being Moderated
    Jan 8, 2009 11:21 AM (in response to Prograham)
    You may look for a third-party utility that may provide the information, but it's not available through the Network preferences. I tried the Network Utility but it did not provide that information either.
    Mac Pro 2.66 Ghz; MacBook Pro C2D 2.33 Ghz; MacBook Pro 2.16 Ghz, Mac OS X (10.5.6), Intel iMac C2D 17 "; MacBook 2.0 Ghz; 30 GB iPod Video (Black); iPod Nano 2 GB
  • djh.me Level 1 Level 1 (0 points)
    Currently Being Moderated
    Mar 11, 2009 7:44 AM (in response to Prograham)
    Hi Brad

    You will find DHCP client lease information in an appropriately named interface file in the /var/db/dhcpclient/leases directory.

    Within the file will be the LeaseLength key and the value (in seconds), i.e. 86400 = one day.

    I hope that helps.

    Dominic.
    MacBook, Mac OS X (10.5.6)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.