permanent static routes on CentOS/Red Hat Enterprise Linux
I am building a few new CentOS 4.x servers, and they need two permanent host static routes to function properly. I've googled for "the proper" way to do this in RHEL4, but so far the only thing I can figure out is to put the route commands in /etc/rc.local. Red Hat's documentation mentions optional "route-ethN" files located in /etc/sysconfig/network-scripts, but I can't find any decent examples.
How do I configure the route-eth0 file to be the equivalent of the following commands? Is there a better way that I'm missing?
/sbin/route -host 10.30.1.232 gw 10.20.1.254
/sbin/route -host 10.30.1.233 gw 10.20.1.254
|