Bug 169526
Summary: | lost Gateway when I change static IP by DHCP | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | claude pirault <claude.pirault> |
Component: | system-config-network | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | bertho, kai |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-07-19 13:51:51 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
claude pirault
2005-09-29 12:25:54 UTC
The same happened to me. The problem seems to be in the switch from static IP to dhcp. System-config-network leaves the GATEWAY, IPADDR and NETMASK parameter untouched in the updated file /etc/sysconfig/network-scripts/ifcfg-xxx. This in effect distrurbs the function of /sbin/dhclient-script, which explicitely wants to set the gateway from ifcfg-xxx. However, when the dhcp address is on a different subnet, then no default gateway will be set by dhclient-script because the gateway is unreachable and no communication out if the subnet is possible. There seems to be an easy route to a fix. A switch from static to dhcp should lose its memory of the previously set static gateway, netmask and IP altogether. This should be a trivial workaround until a better way can be found. -- Greetings Bertho Same here. It seems there are a lot of other bug reports here which also addressed this issue some times ago (#167593, #162902, #169113, #149780), discussing if this is an dhclient or system-config-network problem. Anyway this is still not fixed. But right now it's very uncomfortable for e.g. laptop users who often have to switch between static IP and DHCP. Regards, Kai. |