GNOME Bugzilla – Bug 734337
"Route" is not reset when change the network type
Last modified: 2015-03-09 15:56:28 UTC
Hi, Found something strange in the network applet. I would not have issue if I would have used the network "profile", but I didn't know this feature. Anyway, here is what I did : 1. Change me wired network from DHCP to a static one (address, mask and gateway) -> did some work 2. Change back my network to DHCP And here the problem began as the route stays locked to the one I previously entered for the static config. I tried to restart the network service (Fedora), this didn't work, and finally, I had to restart my computer to get my network back.
I'm guessing this is the same as bug 734021?
Yes. I think so. Is it more clear for you now?
(In reply to comment #2) > Yes. I think so. Is it more clear for you now? This is a better explanation than the one in the other bug, certainly. *** This bug has been marked as a duplicate of bug 734021 ***
lets keep this bug open, to address the UI question in gnome-control-center. Bug 734021 instead should address a similar issue for nm-applet. Reopening, but have a look at https://bugzilla.gnome.org/show_bug.cgi?id=734021#c4
Created attachment 283314 [details] [review] network: Don't save hidden configuration options When switching from a particular IPv4 or IPv6 "addresses" method to another, make sure that "address", "DNS" and "routes" are applied or ignored depending on that method's capabilities. For example, when switching from manual to automatic IPv4 "addresses" method, we need to make sure that the old IP address, gateway, etc. aren't actually used in the new setting.
Of course, the easiest way is to use the network "profile" feature, even if fixing a bug is always better.
*** Bug 742025 has been marked as a duplicate of this bug. ***
Attachment 283314 [details] pushed as 33b1858 - network: Don't save hidden configuration options