Red Hat Bugzilla – Bug 70657
ifup-routes and static-routes do not use /sbin/ip
Last modified: 2014-03-16 22:29:45 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020509
Description of problem:
Please refer to the attachment, which is the text of an email
that I posted to redhat-devel mailing list in early August.
(1) the ifup-routes script needs to be changed so that uses /sbin/ip.
(2) the format of sysconfig/static-routes needs changing to cope with
(3) a method for creating and preserving routing policy state needs to be
(4) the relevant redhat network config tools would need changing as a result.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.the static-routes file cannot be used to preserve complex routing information.
Actual Results: inability to do src routing, configure multiple default routes,
ip policy state
Expected Results: the redhat scripts need to be updated to cope with more
complex routing states. My (small) changes to use /sbin/ip in the ifup-routes
script will add this enhancement.
Lots of suggestions in the attachment
Created attachment 68704 [details]
discussion of the use of /sbin/ip in the ifup-routes script
Created attachment 68706 [details]
some bash functions that are useful for manipulating routing policy
This was done for 8.0 differently.