At 09:45 PM 4/10/2001, you wrote:
>Hi Darryl,
>
>Sounds exactly like the setup I want for home. How did you set this up?

How did I set what up?  The ppp0 line to auto dial ??  Just manually setup 
the ppp config files..  the main one is ifcfg-ppp0  this tells the system 
to dial on boot (As mentioned below)



Put the entries in my static-routes file as you mentioned, but no luck, if 
I drop the ppp0 line, the routes disappear and don't come back..  (unless I 
add them manually)

Darryl


>Here's my static-routes file from one of my network boxes. I presume that
>will only need to change the device name at the start of the lines from
>'eth0' to 'ppp0'.
>
>__BEGIN__
>eth0 net 10.2.0.0     netmask 255.255.0.0   gw 10.1.1.1
>eth0 net 10.4.0.0     netmask 255.255.0.0   gw 10.1.1.111
>eth1 net 158.43.128.0 netmask 255.255.255.0 gw 195.217.92.129
>__END__
>
>Gary
>
>On Thursday 04 October 2001 11:57 am, Darryl Harvey wrote:
> > Hi Gary,
> > It is a persistent link using pppd with ppp-watch to keep the link up
> >
> >
> >
> > IE: the box boots, it dials the connection.  the line ONBOOT="yes" is
> > present in ifcfg-ppp0
> >
> > This box is NOT running X, it is a server with a modem line as a private
> > link to a second network.
> >
> > I assume those files are being called, they have reference to stats-routes
> > in them, but I don't know the format for the data to put into
> > /etc/sysconfig/static-routes
> >
> >
> > Rgds,
> > dDrryl
> >
> > At 08:43 PM 4/10/2001, you wrote:
> > >Hi Darryl,
> > >
> > >how are you controlling the ppp link - directly, via kppp or some other
> > > route?
> > >
> > >If you do it directly, pppd will call /etc/ppp/ip-up after the link is
> > >established, and /etc/ppp/ip-down after the link has dropped.
> > >
> > >If you are using kppp, it has similar facilities in the config dialog.
> > >
> > >Other ppp wrappers should have similar facilities.
> > >
> > >Gary
> > >
> > >On Thursday 04 October 2001 10:47 am, Darryl Harvey wrote:
> > > > Hi all,
> > > >
> > > > I need a route added to my system each time the ppp0 network comes up.
> > > >
> > > > The command I issue to add the route is;
> > > > route -v add -host xxx.xx.xx.xx gw IP.of.ppp0.xxx dev ppp0
> > > >
> > > > If I add this route manually, it works fine.. Until ppp0 drops and then
> > > > the route is removed.
> > > >
> > > > When ppp0 line comes back up again, the route is not restored.  How can
> > > > I make it so it is automagically restored when the link is restored?
> > > >
> > > > I have heard about putting stuff in  /etc/sysconfig/static-routes but I
> > > > cannot find anything that will tell me the format of the entries, or if
> > > > this works for dynamic links (like ppp0 which is a modem link)
> > > >
> > > > Any advice welcome.
> > > >
> > > > Thanks
> > > > Darryl
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Redhat-list mailing list
> > > > [EMAIL PROTECTED]
> > > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > >
> > >--
> > >Gary Stainburn
> > >
> > >This email does not contain private or confidential material as it
> > >may be snooped on by interested government parties for unknown
> > >and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
>
>--
>Gary Stainburn
>
>This email does not contain private or confidential material as it
>may be snooped on by interested government parties for unknown
>and undisclosed purposes - Regulation of Investigatory Powers Act, 2000



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

Reply via email to