Bug 90858
Summary: | ifup breaks with missing default route | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Pete Zaitcev <zaitcev> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED DUPLICATE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | aleksey, grunwald, rvokal |
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: | 2006-02-21 18:53: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: | |
Embargoed: |
Description
Pete Zaitcev
2003-05-14 19:11:17 UTC
Just so you don't have to unearth an old ifup, here's the line: # DHCP likes to create duplicate routes. Fix that up. NUMDEFROUTES=`ip -o route | \ grep "^default" | \ awk '{ nlines++ } END { print nlines }'` if [ -n "$NUMDEFROUTES" -a "$NUMDEFROUTES" -gt 1 ]; then <<==== 268 # remove the default route for the new device (old route wins) ip route del default dev ${DEVICE} fi *** This bug has been marked as a duplicate of 79448 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |