ip: configurable address pool and lease time of DHCP server in shared mode

Introduce a new options to NMSettingIpConfig. When set, ipv4.shared-dhcp-range
and ipv4.shared-dhcp-lease-time can be passed to dnsmasq to allow configuration
of DHCP server address pool range and lease time.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/941
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2028
This commit is contained in:
Roman Pavelka
2024-08-30 19:03:12 +02:00
committed by Lubomir Rintel
parent 0209a55d24
commit 38d1bcee3b
23 changed files with 1654 additions and 572 deletions

3
NEWS
View File

@@ -24,6 +24,9 @@ USE AT YOUR OWN RISK. NOT RECOMMENDED FOR PRODUCTION USE!
name server is reached only via the device that specifies it.
* Support OCI in nm-cloud-setup
* Added support for ethtool FEC mode
* Add new ipv4.shared-dhcp-range and ipv4.shared-dhcp-lease-time,
which allows you to customize the DHCP range and lease time offered
by DHCP server in `shared` connection method.
=============================================
NetworkManager-1.50