<div dir="ltr">Folks,<div><br></div><div>I am testing kea for DHCPv6 with three test clients.  A windows 10 laptop, a Linksys router and a D-Link router.  All three of these clients can receive DHCPv6 addresses + PD (where applicable) from ISC DHCP server.  Only the D-Link can successfully receive DHCPv6 from the kea server.</div><div><br></div><div>DHCPv4 portion of the kea server is working fine.</div><div><br></div><div>Version: <span style="font-family:menlo;font-size:11px">Kea DHCPv6 server version 1.1.0 (installed from EPEL repo on Centos 7)</span></div><div><br></div><div>It should be noted that there is a Juniper SRX that is the relay agent.</div><div><br></div><div>I see the relay-forward and relay-reply messages on the server with tcpdump.  I see the solicit/advertise messages on the windows 10 client with Wireshark.  Windows, using ipconfig /renew6 in command prompt, shows an ultra-informative error:</div><div><br></div><div>"An error occurred renewing interface Ethernet : The parameter is incorrect"</div><div><br></div><div>and windows 10 assigns no IPv6 address to the interface.  The Linksys similarly assigns no address but I have no error to show or anything.</div><div><br></div><div>I compared the packet capture with the ISC DHCPv6 packet capture and noticed three differences in the relay-reply:</div><div><br></div><div>1) option 3 (identity association for non-temporary address) was listed first in the packet on the ISC DHCPv6 and was 3rd in the kea packet. </div><div><br></div><div>2) option 3 had values of 500 and 400 for T1 and T2 respectively in the Kea packet and both were 0 in the ISC DHCPv6 relay-reply packet.</div><div><br></div><div>3) Kea DHCPv6 packet had option 39 FQDN (requested by client) and the ISC DHCPv6 packet contained no such option even though requested by the client.</div><div><br></div><div>I'm assuming I've missed something in the config that is necessary for 67% of clients to work :)</div><div><br></div><div>Here is the DHCPv6 portion of my config:</div><div><br></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">        "Dhcp6": {</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                "interfaces-config": {</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "interfaces": [ "enp4s0/2620:0:2e50:e4::226" ]</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                },</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                "dhcp-ddns": {</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "enable-updates": false</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                },</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                "lease-database": {</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "type": "mysql",</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "name": "keatest",</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "host": "localhost",</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "user": "<hidden>",</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "password": "<hidden>",</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "connect-timeout": 3</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                },</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                "preferred-lifetime": 600,</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                "valid-lifetime": 600,</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                "renew-timer": 500,</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                "rebind-timer": 400,</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                "option-data": [{</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "name": "dns-servers",</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "code": 23,</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "space": "dhcp6",</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "csv-format": true,</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "data": "2620:0:2e50:a::233, 2620:0:2e50:a::234"</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                }],</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                "subnet6": [{</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "subnet": "2620:0:2e50:e8::/64",</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "rapid-commit": true,</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "pools": [ {</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                                "pool": "2620:0:2e50:e8::2-2620:0:2e50:e8::ffff"</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        } ],</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        "pd-pools": [{</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                                "prefix": "2620:0:2e50:f000::",</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                                "prefix-len": 52,</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                                "delegated-len": 64</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                        }]</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">                }]</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">        },</span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">Attached is the server side packet capture for Kea DHCPv6 server...  Any ideas?</span></div></div>