<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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi, I’m developing a hook that give me a way to select a specific subnet from multiple subnets in a shared network. My network has several subnets per each service (VLAN), one which has restricted private addresses and several that have
 public addresses. The code I have now seems to be working the first time a device makes a discover but if I like to change which subnet is used KEA seems to overwrite my selection in the allocation process between subnet4_select and lease4_select / lease4_renew
 hook. This behavior seems to be related to the fact that the device already has a lease in the memfile which KEA wants to re-use, even if I select another subnet in the subnet4_select hook. Any idea how I can make KEA ignore this previous lease.<span lang="IS"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="IS"><o:p> </o:p></span></p>
<p class="MsoNormal">All help is greatly appreciated<span lang="IS"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">Regards, Hreidar. </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="IS"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="IS"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#999999">Kær kveðja / Best Regards, </span>
<br>
<b><span style="font-size:13.0pt;color:#4D4E4C">Hreiðar</span></b><span style="font-size:13.0pt;color:#4D4E4C">
<b>Jóelsson</b></span><br>
<span style="font-size:8.0pt;color:#999999">Netsérfræðingur IP netkerfis / Network Engineer</span><br>
<span style="font-size:8.0pt;color:#999999">Sími / Tel: +354 516 7777 | Farsími / Mobile: +354 617 7835<br>
Netfang / E-mail: hreidar.joelsson@gagnaveita.is <br>
<br>
</span><span style="font-size:8.0pt;color:#999999"><img width="146" height="52" style="width:1.5208in;height:.5416in" id="_x0000_i1026" src="cid:image001.png@01D44AAA.5B9D05A0"></span><span style="font-size:8.0pt;color:#999999"><br>
Smáratorgi 3, 201 Kópavogur, Iceland<br>
Sími / Tel: +354 516 7777 | Póstur / Email: ljosleidarinn@ljosleidarinn.is <br>
<br>
Vinsamlegast athugið að þessi tölvupóstur og viðhengi hans eru eingöngu ætluð þeim sem sendingin er stíluð á og gæti innihaldið upplýsingar sem eru trúnaðarmál. Hafir þú fyrir tilviljun, mistök eða án sérstakrar heimildar tekið við tölvupósti þessum og viðhengjum
 hans ber þér skv. 5. mgr. 47. gr. laga um fjarskipti nr. 81/2003 að gæta fyllsta trúnaðar, hvorki skrá upplýsingar hjá þér né notfæra þér þær á nokkurn hátt og tilkynna okkur samstundis um að þær hafi ranglega borist til þín. Vinsamlegast eyðið þeim að því
 loknu.<br>
<br>
This e-mail message and any attachments is for the exclusive use of the intended recipient(s) and may contain confidential information.<br>
If you are not the intended recipient, please uphold strict confidentiality and neither read, copy or make use of the content in any way.<br>
Furthermore, please notify the sender immediately by replying to this message and delete all copies of the message.<br>
<br>
</span><span style="font-size:8.0pt;color:#999999"><img width="580" height="100" style="width:6.0416in;height:1.0416in" id="_x0000_i1025" src="cid:image002.jpg@01D44AAA.5B9D05A0"></span><span style="font-size:8.0pt;color:#999999"><br>
<a href="https://www.ljosleidarinn.is"><span style="color:#999999">www.ljosleidarinn.is</span></a>
</span><o:p></o:p></p>
</div>
</body>
</html>