<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.E-MailFormatvorlage18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.shorttext
        {mso-style-name:short_text;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello there,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The main problem is, Kea doesn’t save the mac-address in the leases-database when the client-link-addr-option and an IPv6-Relay is used. When I’m using different OS on one host system, kea gets two different DUIDs and
 rejects the request of the second host system. I think it must be possible to reallocate the “used” lease, if the client-link-addr-option is set, because it’s the same system. Does anyone has an solution for this issue?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">This issue in detail:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Our network is running dual-stack with DHCPv4 and DHCPv6. Since the old isc-dhcp our Host-Database bases on the MAC-Addresses, so it’s impossible to get a working DUID-IPv6-address-</span><span class="shorttext"><span lang="EN">assignment</span></span><span lang="EN-US">
 to all the hosts. Because of that, we want to use the client-link-addr-option (over a DHCP-Relay-Server) and also the host-reservation- and leases-database. So far, everything works fine on normally installed hosts with one OS.<br>
The main problem is now, that we have mostly 3 “operating systems” on one and the same host system: PXE, Linux and windows.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">For example: <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">1) host system is booting and starts PXE -> requests for an IPv4- and IPv6-address with client-link-addr-option -> Kea searches for an host entry in the database -> Kea searches for active leases but there are no active
 leses for this host in the moment -> Kea create a lease entry -> host get the reply (till now, everything is fine)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2) Now the User can choose either the local Windows or the network-boot-Linux (it does not matter which system the user is booting)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">3) PXE starts the selected system (here Windows) -> Windows requests for an IPv4- and IPv6-address with client-link-addr-option and another DUID -> Kea searches for an host entry in the database -> Kea searches for active
 leases and finds the PXE-entry -> Kea compares the DUIDs, which are different to each other -> KEA sends a NAK to the client -> the client doesn’t get an IPv6-address!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>