From owner-freebsd-questions Fri Jan 4 14:37:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from angui.sh (angui.sh [216.27.181.149]) by hub.freebsd.org (Postfix) with ESMTP id 4D19537B419 for ; Fri, 4 Jan 2002 14:37:36 -0800 (PST) Received: from localhost (wfroning@localhost) by angui.sh (8.11.6/8.11.4) with ESMTP id g04Mhgr15776 for ; Fri, 4 Jan 2002 14:43:42 -0800 (PST) (envelope-from wfroning@angui.sh) Date: Fri, 4 Jan 2002 14:43:42 -0800 (PST) From: Will Froning To: Subject: Re: DHCP Lease length [nevermind] In-Reply-To: <20020104142504.M72226-100000@angui.sh> Message-ID: <20020104144014.W72226-100000@angui.sh> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. => => => =>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; =>} => => => =>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