networking protocol_error ai_generated partial

DHCPv6: Rapid Commit option received but server 2001:db8::1 returned no IA_NA addresses

ID: networking/dhcpv6-rapid-commit-failure

Also available as: JSON · Markdown · 中文
76%Fix Rate
81%Confidence
1Evidence
2025-02-14First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
ISC DHCP 4.4.3 active
Kea 2.4.1 active
dnsmasq 2.90 active
systemd-networkd 254 active

Root Cause

A DHCPv6 client using the Rapid Commit option (two-message exchange) received a Reply from the server that lacks any IA_NA (Non-temporary Address) options, indicating the server has no addresses to assign, often due to exhausted address pools or misconfigured DHCPv6 scope.

generic

中文

使用快速提交选项(两消息交换)的DHCPv6客户端从服务器收到了缺少任何IA_NA(非临时地址)选项的回复,表明服务器没有可分配的地址,通常是由于地址池耗尽或DHCPv6作用域配置错误。

Official Documentation

https://kea.isc.org/docs/kea-guide.html#dhcpv6-configuration

Workarounds

  1. 85% success In Kea: modify 'subnet6' section to increase pool size, e.g., 'pool': '2001:db8::/64' to '2001:db8::/56'
    In Kea: modify 'subnet6' section to increase pool size, e.g., 'pool': '2001:db8::/64' to '2001:db8::/56'
  2. 75% success In systemd-networkd: add 'IPv6AcceptRA=yes' to the .network file and remove DHCPv6 settings.
    In systemd-networkd: add 'IPv6AcceptRA=yes' to the .network file and remove DHCPv6 settings.

中文步骤

  1. In Kea: modify 'subnet6' section to increase pool size, e.g., 'pool': '2001:db8::/64' to '2001:db8::/56'
  2. In systemd-networkd: add 'IPv6AcceptRA=yes' to the .network file and remove DHCPv6 settings.

Dead Ends

Common approaches that don't work:

  1. Removing the rapid-commit option from the DHCPv6 client configuration to force a four-message exchange. 90% fail

    The server still has no addresses to assign; the four-message exchange will also fail with a NoAddressAvailable status.

  2. Extending the default-lease-time to reduce address exhaustion. 70% fail

    Does not create new addresses; if the pool is exhausted, longer leases only delay the problem.