Files
luci/protocols
Hauke Mehrtens 4a78eccd90 luci-proto-ipv6: dhcpv6: add option to select the DHCPv6 client ID
OpenWrt gained a per-interface "sendclientid" option which overrides the
preferred DUID used for DHCPv6 requests. Expose it in the advanced
settings of the DHCPv6 client protocol:

- "auto" (default) uses the explicitly configured client ID, or falls
  back to the global default DUID and finally a DUID-LL derived from the
  interface MAC address
- "global" always uses the global default DUID
- "hardware" passes no client ID to odhcp6c, so a type 3 DUID-LL is used

Unlike DHCPv4 there is no "none" mode, as odhcp6c always sends a client
identifier. The explicit client ID is only evaluated in "auto" mode,
hence it now depends on that setting.

Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-07-21 23:02:15 +02:00
..