[CentOS] Persisting iproute2 routes and rules
John R Pierce
pierce at hogranch.comSat Sep 12 21:32:49 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 ]
David Hrbáč wrote: > Diogo Sperb Schneider napsal(a): > >> I have defined a few routes and rules with: >> >> ip route add ... >> ip rule add ... >> > > --[ 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 > but how do you add ip rule ... with that? AFAIK, that file is processed with the legacy route(8) command, which has somewhat different syntax than the newer ip(8) command
- 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