GNOME Bugzilla – Bug 734021
nm-applet should support static address configuration together with dhcp/auto
Last modified: 2016-09-28 09:17:09 UTC
If I configure static params in a network profile (either wifi or ethernet), and later I select dhcp without clean the param fields, the network adapter takes the both configs, dhcp and static, with gateway of the static "disabled" config. The issue doesn't dissapear after reboot, it's hold on and I have to select static ipv4 config, and clean all param fields and then select dhcp.
I don't understand what you're doing, or how you're doing it, or what you expect to happen. Please put in the full details of how to reproduce your problem, with screenshots if necessary.
*** Bug 734337 has been marked as a duplicate of this bug. ***
Bug 734337 has a better explanation of how to reproduce the problem: --8<-- 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. --8<-- Looks like the route isn't fetched again from DHCP?
As I understand it, this is entirely an UI bug. So, it depends on which UI you are using. Note that NM support does using dhcp *and* static addresses together and it works how you would expect: dhcp *and* static addresses are both assigned. I agree that the UI either should expose all this functionality, or it should provide a consistently simplified subset of the full possibilities. (1) In case of nm-applet (nm-connection-editor), if you had static addresses and switch to "auto" all addresses will be cleared and that configuration elements are disabled. The only inconsistency for nm-applet happens if you edit a connection that has "auto" and static address configuration. In that case the static addresses are not displayed and you would not see them in the UI. Only when you modify&save the connection, the static addresses will be cleared out. Maybe nm-applet should not disable the static address configuration and provide the full flexibility(?). (2) gnome-control-center however does not clear the addresses when saving, but it does not show them either. So the situation here is worse because you think you are saving a purely auto connection, but the static addresses are not cleared. I reassign the component of this bug to address (1). I would reopen the duplicated 734337 to address (2) in gnome-control-center.
Change the subject from: "network manager applet use static ipv4 params even using dhcp" to: "nm-applet should support static address configuration together with dhcp/auto" Maybe we don't want to support such a configuration in nm-applet. However, when editing such a connection, it must be indicated to the user that the connection has some static addresses.
I'm generally for supporting static addresses with auto even in nm-applet.
*** Bug 632971 has been marked as a duplicate of this bug. ***
Fixed in bug 763937. *** This bug has been marked as a duplicate of bug 763937 ***