|
||||||||
Yeah the lease default is 2 hours (7200 seconds). If this is a business, I would increase that value to about 3 days personally. Just to cut down on network chatter. Go with at least a day (86400). Second you can also define how many lines you want to keep in your logs to save space. Default is 1000 I think, if you have only a handful of users, cut the DHCP log to 100. Or if you MUST keep more log data, setup an old PC as a remote log server. --------- Mensagem Original -------- From: Phill R Kenoyer <phill at bmg50 dot com> To: Christopher M. Iarocci <iarocci at eastendsc dot com> Cc: m0n0wall mailing list <m0n0wall at lists dot m0n0 dot ch> Subject: Re: [m0n0wall] Strange DHCP problem.... Date: 15/04/04 14:20 > > I guess it could be the ramdisk filling up. Whatever it is, it is > filling up and causing problems with my customers trying to access the > internet. > > I left the timeouts at default. > > On Apr 15, 2004, at 5:10 AM, Christopher M. Iarocci wrote: > > > I was under the impression this sort of stuff was kept on a ramdisk, > > not the CF card. It is strange that they are sticking around so long, > > but what do you have the timeout set for in the DHCP server? > > > > Chris > > > > > > Phill R Kenoyer wrote: > > > >> My Flash card is filling up with DHCP stuff. I only have like 15 > >> servers connecting to the box. I look in the dhcpd.leases file and > >> see stuff repeated over and over... Is this normal? It will fill > >> the dhcp file until it consumes all space on the flash card. > >> > >> $ ls -l /var/db/ > >> total 930 > >> -rw-r--r-- 1 root wheel 376769 Apr 14 20:32 dhcpd.leases > >> -rw-r--r-- 1 root wheel 470 Apr 14 20:44 dhcpd.leases.1082000675 > >> -rw-r--r-- 1 root wheel 470 Apr 14 20:44 dhcpd.leases.1082000676 > >> -rw-r--r-- 1 root wheel 470 Apr 14 20:44 dhcpd.leases.1082000677 > >> -rw-r--r-- 1 root wheel 470 Apr 14 20:44 dhcpd.leases.1082000678 > >> -rw-r--r-- 1 root wheel 470 Apr 14 20:44 dhcpd.leases.1082000679 > >> -rw-r--r-- 1 root wheel 0 Apr 14 20:44 dhcpd.leases.1082000680 > [snip] > >> lease 10.1.1.200 { > >> starts 4 2004/04/15 01:50:37; > >> ends 4 2004/04/15 03:50:37; > >> binding state active; > >> next binding state free; > >> hardware ethernet 00:0d:88:8e:20:fc; > >> uid "010015210216 374"; > >> client-hostname "000d8893e1a3 "; > >> } > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch > For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch > > > > > > |