dhcpcd-discuss

Re: How to obtain lease duration, renew time and rebind time?

Roy Marples

Wed May 25 17:01:49 2016

On 25/05/2016 17:03, Shahid Mahmood wrote:
> Hi,
> How can I obtain lease duration, renew time and rebind time from the
> currently running dhcpcd session?

$ dhcpcd -V4 | grep "dhcp.*time"
051 dhcp_lease_time                              uint32 request
058 dhcp_renewal_time                            uint32 request
059 dhcp_rebinding_time                          uint32 request

$ sudo dhcpcd -U4 wlp4s0 | grep "dhcp.*time"
dhcp_lease_time=3600

Roy

Follow-Ups:
Re: How to obtain lease duration, renew time and rebind time?Shahid Mahmood
References:
How to obtain lease duration, renew time and rebind time?Shahid Mahmood
Archive administrator: postmaster@marples.name