[Kea-users] About Stateless DHCPv6 settings.

Yoshihito Horigome kometch at gmail.com
Tue Aug 27 12:16:45 UTC 2019


Hello,

I am trying to configure stateless DHCPv6 with reference to the documentation[1].
When set, "Sorry, no prefixes could be allocated." Is output, and a message indicating that allocation is not possible is output.
Logs: >>>
2019-08-26 20:40:39.270 DEBUG [kea-dhcp6.packets/35] DHCP6_SUBNET_SELECTED duid=[00:03:00:01:6c:3b:6b:cf:9b:94], tid=0xcab890: the subnet with ID 1024 was selected for client assignments
2019-08-26 20:40:39.270 DEBUG [kea-dhcp6.packets/35] DHCP6_SUBNET_DATA duid=[00:03:00:01:6c:3b:6b:cf:9b:94], tid=0xcab890: the selected subnet details: 240b:11:8500:5710::/64
2019-08-26 20:40:39.271 DEBUG [kea-dhcp6.packets/35] DHCP6_PACKET_SEND duid=[00:03:00:01:6c:3b:6b:cf:9b:94], tid=0xcab890: trying to send packet ADVERTISE (type 2) from [ff02::1:2]:547 to [fe80::8e3b:6bff:fecf:9b94]:546 on interface eth0
2019-08-26 20:40:39.272 DEBUG [kea-dhcp6.packets/35] DHCP6_RESPONSE_DATA responding with packet type 2 data is localAddr=[ff02::1:2]:547 remoteAddr=[fe80::8e3b:6bff:fecf:9b94]:546
msgtype=2(ADVERTISE), transid=0xcab890
type=00001, len=00010: 00:03:00:01:6c:3b:6b:cf:9b:94
type=00002, len=00014: 00:01:00:01:24:f6:67:37:1a:c0:c9:ca:a9:5e
type=00023, len=00080: <DNS server IP address>
type=00025(IA_PD), len=00056: iaid=6, t1=0, t2=0,
options:
type=00013, len=00040: NoPrefixAvail(6) "Sorry, no prefixes could be allocated."
No relays traversed.

2019-08-26 20:40:39.271 WARN [kea-dhcp6.alloc-engine/35] ALLOC_ENGINE_V6_ALLOC_FAIL duid=[00:03:00:01:6c:3b:6b:cf:9b:94], tid=0xcab890: failed to allocate an IPv6 address after 0 attempt(s)
<<<
config: >>>
{
"Dhcp6": {
"valid-lifetime": 86400,
"renew-timer": 3600,
"rebind-timer": 7200,
"preferred-lifetime": 54000,
"decline-probation-period": 3600,
"mac-sources": [ "client-link-addr-option" ],
"interfaces-config": {
"interfaces": ["eth0"]
},
"control-socket": {
"socket-type": "unix",
"socket-name": "/tmp/kea-dhcp6-ctrl.sock"
},
"lease-database": {
"type": "memfile",
"persist": true,
"name": "/var/lib/kea/dhcp6.leases"
},
"option-data": [
{
"name": "dns-servers",
"data": "<DNS SERVERS IP ADDRESS>"
},
{
"name": "domain-search",
"data": "example.com"
},
{
"name": "sntp-servers",
"data": "<NTP SERVERS>"
},
{
"name": "new-tzdb-timezone",
"data": "JP"
}
],
"subnet6": [
{
"subnet": "<IPv6 network address assigned by ISP>/64",
"interface": "eth0",
}
]
}
}

With statefull DHCPv6, it was possible to assign addresses to client PCs.
Is there something wrong with the settings?

Best regards.
[1] https://downloads.isc.org/isc/kea/1.6.0-beta2/doc/kea-guide.html#stateless-dhcp6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20190827/3cab6c4a/attachment.htm>


More information about the Kea-users mailing list