How to create static routes on startup with CentOS4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

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 
server.

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?

Thanks!

Eric



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux