0

How i can view the lease expire and lease obtained information in Max osx. I know that i can check it in windows using ipconfig /all. but ifconfig in mac does not give all this information. so where i can find this information in mac?

2 Answers 2

2

Try "ipconfig getpacket en0"

(Yes, this is on OS X). Change en0 to whatever the number is of your network adapter (usually en0 for Ethernet, en1 for Airport, etc.) That should give you the DHCP info.

For general info, use the "networksetup" command (at various paths depending on OS X version).

See more options here: http://aplawrence.com/MacOSX/ipconfig.html

1
  • no it does not show the lease expire and lease obtained information(dates)
    – user57221
    Dec 6, 2010 at 20:41
1

Look in /private/var/db/dhcpclient/leases

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .