/etc/rc.d/init.d/network shipped in initscripts has a bug that prevents the addition of interface indpendant static routes in /etc/sysconfig/static-routesfrom working. Here is a patch, the problem would apear to be a typo. --- /etc/rc.d/init.d/network Wed Apr 26 18:00:11 2000 +++ /etc/rc.d/init.d/network.orig Wed Apr 26 17:59:44 2000 @@ -69,7 +69,7 @@ # Add non interface-specific static-routes. if [ -f /etc/sysconfig/static-routes ]; then grep "^any" /etc/sysconfig/static-routes | while read ignore type +dest netmask mask gw gateway; do - [ "${gateway}" != "${gateway##[0-9]}" ] && \ + [ "${gateway}" != "${gateway##[0-9}" ] && \ /sbin/route add -$type $dest $netmask $mask $gw $gateway done fi
Apologies, the patch seems to be reversed.
The same again. See bug id 11603 (http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=11603) and my comments to bug id 11591 (http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=11591)
*** This bug has been marked as a duplicate of 11591 ***