From Bugzilla Helper: User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.16-3 i686) Description of problem: "ip route flush dev [dev]" should be done when network is stopped or restarted. Not doing so causes various kinds of weird problems when old IP addresses appear again. This kind of behaviour is most noticeable when both static & DHCP addresses are switched on the same interface. Currently scripts try to remove the current IP address from list using "ip addr del" command, however if you change your interface IP address from DHCP to static the system will keep the DHCP address even after restart and will show it in "ifconfig" - that's because the DHCP address would not be deleted, and the new static IP address will be appended to the list of addresses, and as result will not show in ifconfig (but will show in "ip addr"). Also dhcpcd is not killed on "service network stop". Personally I find pump a better solution as it had useful commands such as pump -R, pump -s. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Configure an interface with static IP, bootproto=static 2. Now run dhcpcd - it will replace the address with a dynamic one 3. Now do service network restart - the main address of the interface will still be dynamic one, and static IP address will be appended to the list in "ip addr", but will not be visible in ifconfig. Actual Results: Not all of the IP addresses are removed from the interface during "service network stop". Expected Results: All of the IP addresses should be removed from the interfaces during "service network stop". Additional info:
Addresses should be flushed with initscripts-6.40.1-1 or later.