add ipv4.link-local=fallback
Summary
This allows to set an IPv4 link-local address until a DHCP lease has been obtained and drop it at that point.
See discussions in #1555, #1562 (closed)
Purpose
The current ipv4.link-local=enabled setting probably violates RFC3927[1] which says:
a host SHOULD NOT have both an operable routable address and an IPv4
Link-Local address configured on the same interface.
This implements a solution that is more standard and conforms to what others are doing.
Link: https://github.com/systemd/systemd/issues/13316 Link: https://datatracker.ietf.org/doc/html/rfc3927#section-1.9 [1]
Checklist
Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:
-
the subject for all commits is concise and explicative -
the message for all commits explains the reason for the change -
the source is properly formatted -
any relevant documentation is up to date -
you have added unit tests if applicable -
the NEWS file is updated when the change deserves to be mentioned, for example for new features, behavior changes, API deprecations, etc.