Bug 163062
Summary: | Default route not set for ath0 device after upgrade to Fedora Core 4 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Anderson <david> |
Component: | system-config-network | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | notting |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-05-19 10:31:14 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
David Anderson
2005-07-12 18:01:32 UTC
What happens if you take the GATEWAY= line out? Yup, that fixes it. However, if I use system-config-network to switch to using a static IP address, and then switch back again to using DHCP, then the line is back (and hence the default route from DHCP is not used, which means I get no default route). Worked in FC2, so one of the changes in the meantime will be the cause. I believe the dhclient script was fixed to not set a gateway route if one was specified; with it in the config file, it appears that one is. Perhaps s-c-network should take the line out when you switch to a dynamic config? "Perhaps s-c-network should take the line out when you switch to a dynamic config?" - I think you're about right. If you switch in s-c-n to "obtain IP settings from DHCP" then it ought to mean just that and not "but retain the gateway from your previous static IP settings even though they're greyed-out and in a different part of the dialogue box". However, if you drop the GATEWAY= line then it has to be manually remembered and re-entered by the user when he switches back to static settings. (At present it's still in there and in s-c-n it's greyed-out in the static IP settings part of the dialogue). It would be inconsistent for s-c-n to automatically remember two of the static IP settings but not the third. Or perhaps the change in dhclient should be reversed? Or a different parameter used for overriding the DHCP-supplied gateway, e.g. DHCP_STATIC_GATEWAY= or OVERRIDE_GATEWAY=YES ?? This bug appears to be a duplicate of 149780, and the bug is really in s-c-n for making a setting that it shouldn't... Having said that though (#6), the bug can't be fixed just by fixing future versions of s-c-n, because there will be people, like me, upgrading from previous versions of Fedora Core that have DHCP and GATEWAY=. As the version of s-c-n in FC4 still sets BOTH of these, it'll be happenning for a long time to come still (e.g. people upgrading from FC4 to FC5 or FC6...). |