Red Hat Bugzilla – Bug 66210
lease status information from dhcpcd
Last modified: 2008-05-01 11:38:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530
Description of problem:
I really need a way to get information about ip lease statistics from my dhcp
client. As far as I have been able to investigate, this is simply not possible -
even if one is willing to do some calculations on their his own. By lease status
i mean something like the pump -i eth0 -s output.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. start you dhcpcd configured box
2. try to find out the exact time of lease expiration(without looking at the clock)
Actual Results: cant be done
Expected Results: should be doable
It is even more frustrating after a random number of renewals, as the .info file
in /etc/dhcpc contains the lease time, but is in no way updated at ip renewal...
Based on current priorities, there's just about no chance I'll get to this, so rather than leave
it lying around, I will just close it and suggest talking to the upstream maintainer
(email@example.com) to see if he wants to implement it.
If you do come up with a patch to implement what you want, I'll be happy to look at it for
our dhcpcd package, though.