Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2002 14:43:42 -0800 (PST)
From:      Will Froning <wfroning@angui.sh>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: DHCP Lease length [nevermind]
Message-ID:  <20020104144014.W72226-100000@angui.sh>
In-Reply-To: <20020104142504.M72226-100000@angui.sh>

next in thread | previous in thread | raw e-mail | index | archive | help

Got it.  renew is when it starts trying again.  rebind is when it
looks for a new server.  expire is when the actual lease expires.

So most likely this lease was last renewed at 20:44:34.

So my question now is: is there always a 2 hour wait between renew and
expire, or is the lease time just halfed?

Thanks,
Will

=>[please cc me as I'm not on the list]
=>
=>I was looking at /var/db/dhcp.leases on a dhcp client machine.  The
=>renew time does not match the dhcp-lease-time.
=>
=><snip>
=>
=>lease {
=>  interface "rl0";
=>  fixed-address 192.168.1.20;
=>  option subnet-mask 255.255.255.0;
=>  option time-offset -8;
=>  option routers 192.168.1.254;
=>  option domain-name-servers 192.168.1.11,192.168.1.12;
=>  option host-name "mybox";
=>  option domain-name "somenetwork.com";
=>  option broadcast-address 192.168.1.255;
=>  option dhcp-lease-time 14400;
=>  option dhcp-message-type 5;
=>  option dhcp-server-identifier 192.168.1.1;
=>  renew 5 2002/1/4 22:44:34;
=>  rebind 6 2002/1/5 00:14:34;
=>  expire 6 2002/1/5 00:44:34;
=>}
=>
=><snip>
=>
=>Logically, I would think the renew time and expire time would be 4
=>hours different.  Any words of wisdom?
=>
=>Thanks,
=>Will
=>
=>

-- 
Will Froning
Unix Sys. Admin.
wfroning@angui.sh


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020104144014.W72226-100000>