On Wed, 25 Feb 2004 03:43:35 GMT, Sean <(E-Mail Removed)> wrote:
> Greetings to the group,
> I am running RH7.3 and ADSL through rp-pppoe. At bootup, everything
> comes up just fine. When my lease expires and PPPoE establishes a new IP,
> my network doesn't get updated (iptables.network is not re-run).
PPPoE has no "lease" time (it is not DHCP which is different protocol).
Although, dynamic PPPoE typically gets a new IP whenever it connects or
reconnects.
Whenever ppp or pppoe gets an IP (whether connecting manually or on
demand) /etc/ppp/ip-up runs and is given your local IP along with other
parameters (see man pppd). So update your firewall from ip-up (or
ip-up.local). Note that ip-up runs a root, but has minimal environment,
so use full paths.
SuSE automatically sets it firewall to update from ip-up, and I also run
my dynamic DNS client from there, so it all works for dialup or adsl.
--
David Efflandt - All spam ignored
http://www.de-srv.com/