[rhn-users] Stsic Route under RH ES3

rhn-users List Readers at Axoria Ltd role.rhn-users at axoria.net
Fri Mar 12 13:00:14 UTC 2004


On Fri, 2004-03-12 at 12:40, Frank.Humpohl at lsg.vanderlande.com wrote:

> simple question: how to set a static route under Red Hat?

Edit the /etc/sysconfig/static-routes file. The format goes something
like this: -

eth0 net 162.32.8.32/27 gw 162.32.8.10


... which is a bit like the "route add" command, but slightly altered so
it can be processed in a special way by the start-up scripts. I think
there are a couple of special cases.

If you can understand shell-scripts, then the thing that processes this
config file is here: /etc/rc.d/init.d/network and you can inspect that.

Hope this helps!


-- 
Best regards,
James.
________________________________________________________________________
Axoria Ltd UK: Internet Security, Dynamic Websites, Software Engineering
http://www.axoria.net/                                              E&OE






More information about the rhn-users mailing list