If it is just for static routes on a system with multiple nics, I prefer using the route-<interface> in sysconfig.

 

i.e. /etc/sysconfig/network-scripts/route-eth1

 

192.168.1.0/24 via 10.0.0.250

192.168.2.0/24 via 10.0.0.250

192.168.3.0/24 via 10.0.0.250

 

This way the routes get cleaned up and re-added with an /etc/init.d/network restart, unlike /etc/rc.local

 

J.J.


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 6/2/2006