The default route would be eth0 if you haven't specified defaultroute in
your /etc/ppp/options file.
If you automated your connection using ppp-on, try pinging outside sites and
you won't get any
response, assuming you have resolv.conf properly setup, since eth0 as the
defaultroute.
In short the purpose of defaultroute in your options file, overrides eth0 as
the defaultroute making
ppp0 as the new defaultroute.

-----Original Message-----
From: Dave Freeman <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, April 26, 1998 10:32 AM
Subject: Re: Auto-Start PPP and Default Gateway


On 26 Apr 98 at 9:39, Benjamin de los Angeles Jr. wrote:

>> What I would like to do now is change the default route so that
>> the ppp link on the RH5 box is the default route for the RH5 box
>> (I'll change the rest of the LAN once I know that's working).  Can
>> someone point out which files I need to alter to make this change
>> take place?

> Add 'defaultroute' in your /etc/ppp/options file that should make
> your ppp interface the defaultroute for your LAN.

The only problem with that being that I already have a default route
defined in /etc/sysconfig/network as follows:

GATEWAY=192.168.0.1
GATEWAYDEV=eth0

I am _guessing_ that the change from using a default gateway on
another machine on the LAN to using this machine as default gateway
with PPP going will involve changing this information.  I'm not
entirely sure how to change it (safely) though.




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to