Bug 78270

Summary: Static routes can't be set in /etc/sysconfig/static-routes as following the documentation
Product: [Retired] Red Hat Linux Reporter: Lokhin <lokhin>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-11-20 18:19:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lokhin 2002-11-20 18:18:55 UTC
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
initscripts' documentation.

Version-Release number of selected component (if applicable):

How reproducible:

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 netmask gw eth1'
or 'eth1 net netmask gw'.

Expected Results:  Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface   UG       40 0          0 eth1

Additional info:

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.

Comment 1 Bill Nottingham 2002-11-20 18:33:24 UTC
Documentation stuff fixed in the rawhide initscripts, along with some functionality.