On Mon, 26 Feb 2001, Peter Kiem wrote:

> I am running both a modem (ppp0) and an ADSL connection (ppp1 through PPPoE).
>  I am routing all my traffic via the ADSL and only have the modem service
> still cause that's where my static IPs are routed to.
>
> When the modem redials it sets the default route (and nameservers) and because
> I have /etc/ppp/ip-up.local set up it runs my firewall IPChains ruleset.
>
> How do I...
>
> 1) Stop the modem service from setting the default route and nameservers?
> 2) Make the ADSL set the default route and nameservers?
> 3) Auto-run the firewall IPChains ruleset on the ADSL startup as well?
>
>
For #1, you need to modify /etc/sysconfig/network-scripts/ifcfg-ppp0 and
set "PEERDNS=no" or "RESOLV_MODS=no", and "DEFROUTE=no".

For #2, I am not sure, because I have not used PPPoE, but if its
settings are in ifcfg-ppp1, try adding "PEERDNS=yes" and ""DEFROUTE=yes"

Hopefully, someone who uses PPPoE can confirm/deny #2, and answer #3.

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to