openwrt-pf/package/network/config
Shine d47ce71a89 scripts: dhcp: option to override preferred Client ID per interface
Using UUID-based client IDs for DHCPv4/DHCPv6 with no option of falling
back to hardware IDs (ie. MAC-address or DUID-LL) resp. none at all (IPv4),
is causing regressions in some setups.

Introduce a new setting to override the preferred client ID to be used for
DHCPv4/DHCPv6 on a per-interface basis:

network.<ifname>.sendclientid='auto|global|hardware|none'

- "auto" (default if empty or not present) uses any explicitly defined
  client ID, or falls back to the global DUID and finally to the DUID-LL
  resp. MAC address (ie. identical to before this commit).
- "global" uses the global default DUID, if configured, for DHCPv4 and
  DHCPv6 requests, even if a client ID is explicitly specified for the i/f
- "hardware" will not pass a client ID to udhcpc/odhcp6c, even if a global
  default DUID is configured or an explicit client ID specified, resulting
  in the i/f MAC address resp. type 3 DUID(-LL) to be used
- "none" (IPv4 only) will not add an option tag 61 to DHCPv4 requests at
  all.

Signed-off-by: Shine <4c.fce2@proton.me>
Link: https://github.com/openwrt/openwrt/pull/24107
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-07-11 17:30:55 +02:00
..
firewall firewall: change synflood_protect option name 2026-01-24 21:33:15 +01:00
firewall4 firewall4: prefer over firewall as dependency 2026-03-10 00:47:21 +01:00
gre
ipip
ltq-adsl-app treewide: remove lantiq dot com URL 2026-01-02 18:07:02 +01:00
ltq-vdsl-vr9-app treewide: remove lantiq dot com URL 2026-01-02 18:07:02 +01:00
ltq-vdsl-vr11-app treewide: remove lantiq dot com URL 2026-01-02 18:07:02 +01:00
netifd scripts: dhcp: option to override preferred Client ID per interface 2026-07-11 17:30:55 +02:00
qos-scripts
qosify qosify: update to Git HEAD (2026-06-22) 2026-07-01 13:15:44 +02:00
soloscli treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00
swconfig
vti
vxlan
wifi-scripts wifi-scripts: fix macaddr lookup in utils.uc 2026-07-09 09:28:08 +02:00
xfrm