Subject: Re: pppd questions
To: Steve Quint <Squint@flash.net>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 07/22/1997 15:34:31
> Can anyone explain why the defaultroute option in pppd doesn't work on some
> configurations.  Is it simply a matter of running gated?

I think it's more a matter of NOT running gated & routed.

It works fine for me.

> Also, I've written a Perl script (invoked from the 'ppp-up' script) that
> performs a 'netstat -rn' to obtain the IP numbers of the server and my
> assigned IP, so that the script can run the 'route add default xxx' command
> as well as a ipnat script.  My questions is:  Is there a more efficient way
> of getting those IP number?

I'd say just get "defaultroute" to work. Don't run any routing daemon,
and you should be fine.

Take care,

Bill