Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Sep 1999 11:11:30 -0400
From:      Mitch Collinsworth <mkc@Graphics.Cornell.EDU>
To:        "Paul T. Root" <proot@iaces.com>
Cc:        mailist@whoweb.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: dhcpd lease time-outs 
Message-ID:  <199909071511.AA229147091@broccoli.graphics.cornell.edu>
In-Reply-To: Your message of "Tue, 07 Sep 1999 09:25:13 CDT." <199909071425.JAA06627@iaces.com> 

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

Cool.  I'll check again.  I take it this is recent.  I thought it
was only a week or so since I last looked.  (Man, knowledge rot
happens quick when you have a 3-day weekend!  :-)

-Mitch


>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




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