[CentOS] Persisting iproute2 routes and rules
Justin Yao
jyaojyao at gmail.comFri Sep 11 20:35:00 UTC 2009
- Previous message: [CentOS] Persisting iproute2 routes and rules
- Next message: [CentOS] Persisting iproute2 routes and rules
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
you can add the routes to: /etc/sysconfig/network-scripts/route-eth0 /etc/sysconfig/network-scripts/route-eth1 etc. check script /etc/sysconfig/network-scripts/ifup-routes for details On Fri, Sep 11, 2009 at 2:06 PM, Diogo Sperb Schneider <diogo at kildare.ind.br > wrote: > Greetings! > > I have defined a few routes and rules with: > > ip route add ... > ip rule add ... > > And now I'd like to persist those so they're loaded when the system boots > up. > > I'm doing this by means of calling a specific script from > /etc/rc.d/rc.local but I believe there must be something cleaner than > that, like another existing file. > > Thanks in advance, > Diogo > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090911/3b1483be/attachment-0001.html>
- Previous message: [CentOS] Persisting iproute2 routes and rules
- Next message: [CentOS] Persisting iproute2 routes and rules
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list