mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-06 17:14:02 +00:00
![]() Introduction of a new setting ipv4.link-local, which enables link-local IP addresses concurrently with other IP address assignment implementations such as dhcp or manually. No way is implemented to obtain a link-local address as a fallback when dhcp does not respond (as dhcpd does, for example). This could be be added later. To maintain backward compatibility with ipv4.method ipv4.link-local has lower priority than ipv4.method. This results in: * method=link-local overrules link-local=disabled * method=disabled overrules link-local=enabled Furthermore, link-local=auto means that method defines whether link-local is enabled or disabled: * method=link-local --> link-local=enabled * else --> link-local=disabled The upside is, that this implementation requires no normalization. Normalization is confusing to implement, because to get it really right, we probably should support normalizing link-local based on method, but also vice versa. And since the method affects how other properties validate/normalize, it's hard to normalize that one, so that the result makes sense. Normalization is also often not great to the user, because it basically means to modify the profile based on other settings. The downside is that the auto flag becomes API and exists because we need backward compatibility with ipv4.method. We would never add this flag, if we would redesign "ipv4.method" (by replacing by per-method-specific settings). Defining a default setting for ipv4.link-local in the global configuration is also supported. The default setting for the new property can be "default", since old users upgrading to a new version that supports ipv4.link-local will not have configured the global default in NetworkManager.conf. Therefore, they will always use the expected "auto" default unless they change their configuration. Co-Authored-By: Thomas Haller <thaller@redhat.com> |
||
---|---|---|
.. | ||
common.ent.in | ||
meson.build | ||
NetworkManager-dispatcher.xml | ||
NetworkManager-wait-online.service.xml | ||
NetworkManager.conf.xml | ||
NetworkManager.xml | ||
nm-cloud-setup.xml | ||
nm-initrd-generator.xml | ||
nm-online.xml | ||
nm-openvswitch.xml | ||
nm-settings-dbus.xsl | ||
nm-settings-ifcfg-rh.xsl | ||
nm-settings-keyfile.xsl | ||
nm-settings-nmcli.xsl | ||
nmcli-examples.xml | ||
nmcli.xml | ||
nmtui.1.in | ||
nmtui.xml |