Re: routing


Subject: Re: routing
From: Greg Jetter (greg@lazymountain.com)
Date: Sun May 19 2002 - 15:58:05 AKDT


On Sunday 19 May 2002 08:45 am, James Gibson wrote:
> As you pointed out, it is pppd that calls /etc/ppp/ip-up. Unless Redhat
> did some serious tweaking that should work. But setting the route in the
> ip-up script is redundant.
>
> To answer Greg's question, 'pppd' has a 'defaultroute' option which is the
> usual way to perform that function. This has the side benefit of
> _removing_ that default route when the interface goes down.
>
> James Gibson
>
> On Sat, 18 May 2002, Jim Courtney wrote:
> > The last thing pppd does when the connection comes up is call
> > /etc/ppp/ip-up with the connection parameters as arguments. It should
> > look something like this, assuming you're only running one ppp
> > connection:
> >
> > /sbin/route add default gw $5
> >
> > You might want to execute your firewall script after that too.
> >
> > That's how I have my SuSE machine set up, using Roaring Penguin PPPoE.
> > Redhat might work differently, but I'll bet it's the same.
> >
> > JC
> >
> > At 08:27 PM 5/18/2002 -0800, Greg Jetter wrote:
> > >I had a route problem , for some unkown reason , linux forgot where the
> > >gateway was for my DSL connection , of course a simple nudg in an X
> > > term reminded it where to send packets ... my question is , about how
> > > the route is first configured on a redhat box. during what part of the
> > > boot process does this happen ?
> > >
> > >Where , at that is what file handles setting the routes and when during
> > > the boot process is the route set.?
> > >
> > >
> > >Greg
>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.

Thanks just what I was hopeing to find out , now to track down why it lost
it's configuration ....

Greg

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Sun May 19 2002 - 16:41:17 AKDT