From owner-freebsd-questions Tue Sep 7 7:27:47 1999 Delivered-To: freebsd-questions@freebsd.org Received: from iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (Postfix) with ESMTP id 8A74A14E22 for ; Tue, 7 Sep 1999 07:27:34 -0700 (PDT) (envelope-from proot@iaces.com) Received: (from proot@localhost) by iaces.com (8.9.3/8.9.3) id JAA06627; Tue, 7 Sep 1999 09:25:13 -0500 (CDT) From: "Paul T. Root" Message-Id: <199909071425.JAA06627@iaces.com> Subject: Re: dhcpd lease time-outs In-Reply-To: <199909071412.AA228413571@broccoli.graphics.cornell.edu> from Mitch Collinsworth at "Sep 7, 99 10:12:51 am" To: mkc@Graphics.Cornell.EDU (Mitch Collinsworth) Date: Tue, 7 Sep 1999 09:25:13 -0500 (CDT) Cc: mailist@whoweb.com, freebsd-questions@FreeBSD.ORG X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG v3 is in beta now. And dynamic updating of host names into DNS is a big draw. If I get a spare hour at work, I'm going to bring it up. In a previous message, Mitch Collinsworth said: > > Are you catching dhcp activity to a log file with syslog? > I have this in my syslog.conf: > > daemon.* /var/log/dhcplog > > and /var/log/dhcplog contains a log of all dhcpd activity. Quite > handy when time comes to debug a problem. > > Also why are you using dhcpd v3? Last time I looked at the isc dhcpd > web page they were still insisting that v3 is very alpha yet, and > unless you have a need for one of its new features you should stick > with v2 for now. Not saying you don't, but if what you've shown of > your config file is the whole thing, you can certainly do it with v2. > > Anyhow your config looks reasonable to me, but I'm running v2. I > don't know how many v3 users you'll find on freebsd-questions. > > -Mitch > > > >I'm using isc-dhcpd V3.alpha on FreeBSD v3.0 and have > >lease time-outs configured for 86400 seconds (for both > >max-lease-time and default-lease-time) in the > >/etc/dhcpd.conf file. > > > >However, winipcfg on my win98 box and the dhcpd.leases > >file on my FreeBSD server both indicate that leases > >are timing out after only 3 seconds. I know that > >dhcpd is reading the config file because I can change > >other parameters and see them take effect when I > >manually renew the lease. I've tried placing the > >lease time-out definitions within the config file > >both globally and within the ip address grouping for > >my private network, but the lease is always delivered > >with a 3 second time out. > > > >Log files provided below. Does anyone have any > >suggestions? > > > ># cat /etc/dhcpd.conf > >server-identifier 192.168.1.1; > > > >subnet 192.168.1.0 netmask 255.255.255.0 { > > option subnet-mask 255.255.255.0; > > option broadcast-address 192.168.1.255; > > option routers 192.168.1.1; > > max-lease-time 86400; > > default-lease-time 86400; > > range 192.168.1.10 192.168.1.253; > >} > > > ># cat dhcpd.leases > >lease 192.168.1.10 { > > starts 6 1999/09/04 15:20:47; > > ends 6 1999/09/04 15:20:50; > > hardware ethernet 00:a0:cc:24:85:30; > > uid 01:00:a0:cc:24:85:30; > > client-hostname "AMD400"; > >} > >lease 192.168.1.10 { > > starts 6 1999/09/04 15:20:48; > > ends 6 1999/09/04 15:20:51; > > hardware ethernet 00:a0:cc:24:85:30; > > uid 01:00:a0:cc:24:85:30; > > client-hostname "AMD400"; > >} > >lease 192.168.1.10 { > > starts 6 1999/09/04 15:20:49; > > ends 6 1999/09/04 15:20:52; > > hardware ethernet 00:a0:cc:24:85:30; > > uid 01:00:a0:cc:24:85:30; > > client-hostname "AMD400"; > >} > >lease 192.168.1.10 { > > starts 6 1999/09/04 15:20:50; > > ends 6 1999/09/04 15:20:53; > > hardware ethernet 00:a0:cc:24:85:30; > > uid 01:00:a0:cc:24:85:30; > > client-hostname "AMD400"; > >} > > > > > >Jon > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- I don't have the authority to approve that. --from "Excuses, Excuses" *the* compendium of excuses by Leigh W. Rutledge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message