Hello Tomek, Sorry for the late reply. > Hold on. That doesn't look like stateless at all. You didn't provide > full logs, but I guess your device must have sent SOLICIT, so Kea > reponds with ADVERTISE. >
> This looks like misunderstanding what stateless really is. > You may also take a look at > https://tools.ietf.org/html/rfc8415#section-6.1 or now obsoleted RFC3736. > Thank you for the information. My understanding of DHCPv6 seems to be lacking. I would like to set kea after studying again. Best regards. On 8月 28 2019, at 7:14 午前, Tomek Mrugalski <[email protected]> wrote: > On 27.08.2019 14:16, Yoshihito Horigome wrote: > > 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. > > > > 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 > > > Hold on. That doesn't look like stateless at all. You didn't provide > full logs, but I guess your device must have sent SOLICIT, so Kea > reponds with ADVERTISE. > > Stateless DHCPv6 is a simplified mode that does not involve assigning > anything (addresses or prefixes) that requires state tracking. Hence the > name stateless. It is used to provide additional configuration options, > such as DNS addresses or domain names. That kind of information is > requested by client sending INFORMATION-REQUEST message and the server > is supposed to reply with REPLY message. > > The protocol spec says that if you need any addresses or prefixes, you > are doing stateful and therefore must send SOLICIT rather than INF-REQUEST. > > So, if you want an address or prefix assigned, stateless is not for you. > Alternatively, if you want to use stateless, your device should not > request addresses or prefixes and send INF-REQUEST without any IA_NA or > IA_PD options (both are forbidden in INF-REQUEST). > > > With statefull DHCPv6, it was possible to assign addresses to client PCs. > > Is there something wrong with the settings? > > This looks like misunderstanding what stateless really is. > > You may also take a look at > https://tools.ietf.org/html/rfc8415#section-6.1 or now obsoleted RFC3736. > > Tomek > _______________________________________________ > Kea-users mailing list > [email protected] > https://lists.isc.org/mailman/listinfo/kea-users >
_______________________________________________ Kea-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/kea-users
