Bug 3400 - can't add static routes via aliased interface
can't add static routes via aliased interface
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-06-10 20:53 EDT by cliff
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-06-14 17:39:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description cliff 1999-06-10 20:53:01 EDT
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 14:03:59 EDT
This issue has been forwarded to a developer for further action.
Comment 2 Bill Nottingham 1999-06-14 17:39:59 EDT
fixed in initscripts > 4.20

Note You need to log in before you can comment on or make changes to this bug.