NetworkManager/clients
Thomas Haller 800e226334
device: add "ipv4.dhcp-client-id=ipv6-duid" property for RFC4361
RFC4361 intends to set the same IAID/DUID for both DHCPv4 and DHCPv6.
Previously, we didn't have a mode for that.

Of course, you could always set "ipv4.dhcp-client-id" and
"ipv6.dhcp-duid" to (the same) hex string, but there was no
automatic mode. Instead we had:

- "ipv4.dhcp-client-id=duid" which sets the client ID to a stable,
  generated DUID. However, there was no option so that the same
  DUID/IAID would be automatically used for DHCPv6.

- there are various special values for "ipv6.dhcp-duid" which generate
  a stable DUIDs. However, those values did not work for
  "ipv4.dhcp-client-id".

Solve that by adding "ipv4.dhcp-client-id=ipv6-duid" which indicates to use
the DUID from DHCPv6's "ipv6.dhcp-duid" setting. As IAID it will prefer "ipv4.dhcp-iaid"
(if set), but fallback to "ipv6.dhcp-iaid".

https://tools.ietf.org/html/rfc4361

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/618

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/718
2021-01-11 18:59:01 +01:00
..
cli device: add "ipv4.dhcp-client-id=ipv6-duid" property for RFC4361 2021-01-11 18:59:01 +01:00
cloud-setup cloud-setup: assign incremental iface_idx for Azure,GCP get_config() result 2021-01-08 16:32:50 +01:00
common device: add "ipv4.dhcp-client-id=ipv6-duid" property for RFC4361 2021-01-11 18:59:01 +01:00
tests Correct python black rules 2020-10-29 09:35:10 +01:00
tui all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
meson.build all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-online.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00