Bug 3400

Summary: can't add static routes via aliased interface
Product: [Retired] Red Hat Linux Reporter: cliff
Component: initscriptsAssignee: David Lawrence <dkl>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: cliff
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-06-14 21:39:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description cliff 1999-06-11 00:53:01 UTC
If you add a static route via an aliased address on an
ethernet card, at least for non-linuxconf aliases and
static routes added via control-panel, it will never get
added.

The problem is in /etc/sysconfig/network-scripts/ifup-post

/etc/sysconfig/network-scripts/ifup-routes ${DEVICE}

if [ "$ISALIAS" = no ] ; then
    /etc/sysconfig/network-scripts/ifup-aliases ${DEVICE}
fi

Routes are added, then aliases brought up.  Moving the
ifup-routes command after the ifup-aliases seems to
fix the problem without any negative effects.

Cliff

Comment 1 Jay Turner 1999-06-14 18:03:59 UTC
This issue has been forwarded to a developer for further action.

Comment 2 Bill Nottingham 1999-06-14 21:39:59 UTC
fixed in initscripts > 4.20