[CentOS] Persisting iproute2 routes and rules
David Hrbáč
hrbac.conf at seznam.czSat Sep 12 20:29:06 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 ]
Diogo Sperb Schneider napsal(a): > 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 Hi, --[ File: /etc/sysconfig/static-routes ]--(0644, root, root, 122)--------------- any net 192.168.36.0 netmask 255.255.255.0 gw 192.168.38.254 any net 192.168.37.0 netmask 255.255.255.0 gw 192.168.38.253 David Hrbáč
- 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