On Tue, Feb 26, 2002 at 12:40:16PM -0600, Darrell Dieringer wrote: > > Actually, the external interface does get its IP via dhcp (cable > modem). However, I am always assigned the same IP. I'm not sure how > long my dhcp lease is, but I always get the same IP address whenever I > reboot / reconnect. > > The external interface is eth0. The file /etc/dhcpc/dhcpcd-eth0.info > tells me the following... > LEASETIME=604800
It's 7 days. If you use dhcpcd, take a look at the manpage; you could renew your ip before it expires. Ramin > RENEWALTIME=302400 > REBINDTIME=529200 > > I don't know how to interpret those numbers. If those numbers somehow > translate to a dhcp lease of exactly fourteen days, that would provide > an explanation to the "fourteen day reboot" problem. (Come to think > of it, I don't know whether simply re-appling the fw rules would have > been sufficient - I'll tell everyone in fourteen days, I guess.) > > How do others handle reloading their firewall rules when their dhcp > lease is renewed or a new IP is assigned? Actually, that sounds like > a FAQ item, but one I haven't paid attention to since I didn't think > it this was a problem before. > > I know other listers mentioned the fourteen day problem before. Has > anyone who has experienced this been able to determine the > explanation. > > I know this is getting a little OT for netfilter if it really is a > dhcp issue, but your continued assistance is greatly appreciated. > > Thanks, > > Darrell