Red Hat Bugzilla – Bug 78270
Static routes can't be set in /etc/sysconfig/static-routes as following the documentation
Last modified: 2014-03-16 22:32:21 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2b) Gecko/20021022
Description of problem:
Static routes can't be set in /etc/sysconfig/static-routes if following the
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Read the /usr/share/doc/initscripts-6.95/sysconfig.txt file
2. Set a static route on a particular network interface in
3. service network restart
4. netstat -nr
Actual Results: No static route is set on a particular interface mentioned in
static-routes as 'eth1 net 172.16.6.0 netmask 255.255.255.0 gw 192.168.0.1 eth1'
or 'eth1 net 172.16.6.0 netmask 255.255.255.0 gw 192.168.0.1'.
Expected Results: Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.16.6.0 192.168.0.1 255.255.255.0 UG 40 0 0 eth1
Documentation should be fixed since many people read it at first and then
configure their network settings. Didn't find any mention about
/etc/sysconfig/network-scripts/route-<DEV> in sysconfig.txt.
Documentation stuff fixed in the rawhide initscripts, along with some functionality.