Red Hat Bugzilla – Bug 75604
Routes in static-routes file not loading into routing table
Last modified: 2014-03-16 22:31:32 EDT
Description of Problem:
The /etc/sysconfig/static-routes file is not read properly when the
/etc/init.d/network script is launched and thus the static route entries are not
updated in the network routing table.
Version-Release number of selected component (if applicable):
The static-routes file is not read irregardless of tab or space separation
within the file.
Steps to Reproduce:
1. add entries into /etc/sysconfig/static-routes file
2. service network stop. Service network start
3. netstat -rn.
No entries from static-routes file seen in routing table.
A temporary fix to the problem was to copy an older
/etc/sysconfig/network-scripts/ifup-routes file from a RedHat 7.1 server onto
the 8.0 server. Ran service network restart and finally got the routing tables
to show up properly.
In addition, the /etc/sysconfig/network-scripts/ifup-routes script from RH7.3
functions correctly as well in RH8.0.
*** This bug has been marked as a duplicate of 74320 ***