[ previous ] [ next ] [ threads ]
 
 From:  "Chad R. Larson" <clarson at eldocomp dot com>
 To:  "m0n0wall at wenck dot com dot au" <m0n0wall at wenck dot com dot au>, "m0n0wall at lists dot m0n0 dot ch" <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] DHCP Server - Expiry ?
 Date:  Thu, 13 Nov 2003 15:41:11 -0700
At 03:56 PM 11/12/2003, Phil Greenway wrote:
>These were Linux (mandrake) machines that were having the drop outs. I've 
>actually made them static and we've not had a drop out since.
>
>But yeh from the ipconfig on an XP box, it appears to be 10 minutes.

If you look at Diagnostics->System Logs->DHCP you can see the clients 
renewing.  That's one way to figure out how long the lease is.  But, 
better, here's the relevant line from a 'ps auxw':
-=-=-=-=-=-=-=-=-=-=-
root   137  0.0  7.8  1776 1412  ??  INs   3:29PM   0:00.00 
/usr/local/sbin/dhcpd -cf /var/etc/dhcpd.conf fxp0
-=-=-=-=-=-=-=-=-=-=-

And the contents of /var/etc/dhcpd.conf:
-=-=-=-=-=-=-=-=-=-=-
option domain-name "eldocomp.com";
option domain-name-servers 172.20.128.1,172.20.128.3;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
ddns-update-style none;
subnet 172.20.128.0 netmask 255.255.224.0 {
     range 172.20.128.143 172.20.128.143;
     option routers 172.20.128.246;
}
-=-=-=-=-=-=-=-=-=-=-

So, yes. It is 10 minutes (600 seconds).  And yes, you could change it.

On the other hand, it will honor a request for a lease of up to two 
hours.  Perhaps you can attack the problem on the client side.  Just ask 
for a longer lease. 

-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is addressed, and
may contain information that is privileged, confidential and exempt from disclosure under applicable
law. If you are not the intended addressee, nor authorized to receive for the intended addressee,
you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or
any information contained in the message. If you have received this message in error, please
immediately advise the sender by reply email, and delete the message. Thank you.