Many thanks
I added my routes to file /etc/sysconfig/static-routes
They initially failed as the calling script
/etc/sysconfig/network-scripts/ifup-routes.
was using the route command not the ip route command.
So I changed the ifup-routes script to use ip route.
Note I used the ip route replace command.
All seems to work now.
Paul
>
> From: "Tarek W." <ticallion@terra.net.lb>
> Date: 2003/08/18 Mon PM 10:16:06 GMT
> To: paul.walling@ntlworld.com
> Subject: Re: [LARTC] IFUP scripts
>
>
> in case ur talking about RHL, I usually spike my
> /etc/rc.d/init.d/network at the end of the start section, that way I can
> override any unwanted routing rules the ifup scripts inject into my
> tables, especially useful if u have several nics on the same subnet
>
> On Tue, 2003-08-19 at 00:36, paul.walling@ntlworld.com wrote:
> > Hi,
> > can someone tell me the script to hook my routing commands
> > into so that after my ethernet interface has gone down and
> > subsequently been started again the routes are restored.
> > I have been looking at ifup in the /etc/sysconfig/network
> > scripts directory.
> >
> > Many thanks
> >
> > Paul
> >
> > -----------------------------------------
> > Email provided by http://www.ntlhome.com/
> >
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
>
-----------------------------------------
Email provided by http://www.ntlhome.com/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/