I am using Telocity/DirecTV DSL, with static IP via dhcp client. My dhcp client attempts to overwrite /etc/resolv.conf, removing my private nameserver entry - this prevents the firewall machine from resolving local LAN addresses. My firewall is Debian unstable, and attempts to change resolv.conf when the initial negotiation occurs. I see an option in dhclient.conf to "prepend domain-name-servers aaa.bbb.ccc.ddd", but have not tried that yet - I edited resolv.conf and set the immutable bit for now.
Darrell 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 > 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 > > > > -----Original Message----- > > > > Any chance one of the interfaces gets its ip address via dhcp? > > > >