From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4 Description of problem: If ethernet interface is configured with static network settings in the ifcfg-eth$ file and then switched to DHCP using system-config-network, it leaves the network settings in the ifcfg-eth$ file and just changes BOOTPROTO=dhcp. That causes the interface to get network settings via DHCP, when the interface is activated, with the exception of the gateway. If the gateway entry is not set to blank, the interface will not have get a gateway via DHCP. If the static gateway setting that was left behind is removed, the interface gets a static route added to the gateway, which is desirable. Version-Release number of selected component (if applicable): system-config-network-1.3.26-1 How reproducible: Always Steps to Reproduce: 1. configure a network interface with valid static settings using system-config-networking 2. modify ifcfg-eth$ to include a gateway 3. activate the interface 4. modify interface to get settings via dhcp on a network with a good dhcp server 5. reactivate the interface. Interface will receive network settings from DHCP with the exception of the gateway. Actual Results: If the gateway entry is not set to blank, the interface will not have get a gateway via DHCP. Expected Results: If the static gateway setting that was left behind is removed, the interface gets a static route added to the gateway, which is desirable. Additional info: This behavior would be very confusing to most people.
Hi, I just found this exact bug with my system. I spent half of last night and a few hours today trying to figure out what was wrong with my NAT server until my wife told me that she was able to communicate with the outside world. Is this project's repository externally available somewhere? I am interested to see if I can fix this & submit the patch. Thanks, Weston Schmidt
It would be nice if system-config-network removed all entries in the ifcfg-* file relating to the old static IP information to make the config file look clean
on the other hand, people want to switch between static and dynamic without entering all information again... :-/
*** This bug has been marked as a duplicate of 149780 ***