diff options
author | Thomas Haller <thaller@redhat.com> | 2022-04-01 08:39:56 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-04-07 10:20:46 +0200 |
commit | 2dc7a3d9f9135959adf415405bdcb05a7387c1d4 (patch) | |
tree | 78afe887fd987df7e75f6734825c40242df5068f /NEWS | |
parent | 7003b5eb708dd6722c583fcc825db04000847038 (diff) | |
download | NetworkManager-2dc7a3d9f9135959adf415405bdcb05a7387c1d4.tar.gz |
dhcp: set "src" for DHCPv4 routes
Let's set the "src" (RTA_PREFSRC) of DHCP routes.
This helps with source address selection.
This can matter if the interface also has static addresses
configured.
Systemd-networkd also does this ([1], [2]).
[1] https://github.com/systemd/systemd/commit/ac2dce5f36bb8b1a877ff765e6a4dfde6bfb2d49
[2] https://github.com/systemd/systemd/blob/5b89bff55f45235f72d30d90fd489fe2247ad00d/src/network/networkd-dhcp4.c#L395
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1995372
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1173
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -36,6 +36,8 @@ USE AT YOUR OWN RISK. NOT RECOMMENDED FOR PRODUCTION USE! * nmcli: add connection migrate command to move a profile to a specified settings plugin. This allows to convert profiles in the deprecated ifcfg-rh format to keyfile. +* Set "src" attribute for routes from DHCPv4 to the leased address. This + helps with source address selection. * Updated translations. * Various bugfixes and internal improvements. |