[CentOS] How to create static routes on startup with CentOS4?

Tue Apr 15 16:36:09 UTC 2008
Eric B. <ebenze at hotmail.com>


I'm working with the iproute2/iptables toolset on my CentOS4 server to 
create custom routing rules.  However, I'm a bit at a loss how to create 
these permanently so that they are automatically reloaded upon reboot of the 

I know that iptables has a config file in /etc/sysconfig/iptables that is 
loaded by /etc/init.d/iptables startup script.

Is there anything that works similarly for the iproute2 ruleset?  I can't 
seem to find anything in /etc/init.d/network except for references to static 
routes using /sbin/route, which isn't good enough if one wants to use 
multiple routing tables.  Nor can I find anything in /etc/init.d/ that would 
seem applicable to the iproute2 system.

Any ideas/suggestions?  Do I have to create my own custom startup script for 
this?  Or is there somewhere already existant I can put iproute2 commands?