From owner-freebsd-questions Tue Sep 7 13:39:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailout1.nyroc.rr.com (mailout1-0.nyroc.rr.com [24.92.226.81]) by hub.freebsd.org (Postfix) with ESMTP id 369301561A for ; Tue, 7 Sep 1999 13:39:46 -0700 (PDT) (envelope-from reichman@twcny.rr.com) Received: from mail1.twcny.rr.com ([24.92.226.139]) by mailout1.nyroc.rr.com (Post.Office MTA v3.5.3 release 223 ID# 0-59787U250000L250000S0V35) with ESMTP id com; Tue, 7 Sep 1999 16:37:52 -0400 Received: from twcny.rr.com ([24.95.188.113]) by mail1.twcny.rr.com (Post.Office MTA v3.5.2 release 221 ID# 0-53939U80000L80000S0V35) with ESMTP id com; Tue, 7 Sep 1999 16:37:51 -0400 Message-ID: <37D57796.DC4AA845@twcny.rr.com> Date: Tue, 07 Sep 1999 16:37:42 -0400 From: "Mark S. Reichman" X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 3.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Paul T. Root" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: dhcpd lease time-outs References: <199909071425.JAA06627@iaces.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG So.. Are you saying as my ip changes dhcpd V3 will update DNS with my new ip so folks can telnet, ftp, etc to my hostname even though my ip is not fixed? If this is true, how could one tell if their local Road Runner is running a dhcpd with this type of support? "Paul T. Root" wrote: > > 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 -- \|/ (@ @) +-----------oOO----(_)-------------------+ | Mark S. Reichman | | reichman@twcny.rr.com | | Radar Tech/Oracle Developer/Programmer | +-------------------------oOO------------+ |__|__| || || ooO Ooo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message