<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I can confirm that it’s working with remote-id with this setup. One /56 is delegated / remote-id.<div class=""><br class=""></div><div class=""><div class="">"mac-sources": [ "remote-id" ],</div><div class="">.</div><div class="">.</div><div class="">.</div><div class=""><br class=""></div><div class=""> "subnet6": [ {</div><div class=""> "subnet": ”2001:db8:0020::/48",</div><div class=""> "pd-pools": [ { "prefix": ”2001:db8:0020::", "prefix-len": 48,"delegated-len": 56 } ],</div><div class=""> "reservations": [</div><div class=""> { "hw-address": "02:00:21:00:0D:AF:00:0A:00:03:00:01:00:1F:6C:D1:DB:81", "prefixes": [ ”2001:db8:20:0100::/56" ] },</div><div class=""> { "hw-address": "02:00:22:00:0D:AF:00:0A:00:03:00:01:00:1F:6C:D1:DB:81", "prefixes": [ ”2001:db8:20:0200::/56" ] },</div><div class=""> { "hw-address": "02:00:23:00:0D:AF:00:0A:00:03:00:01:00:1F:6C:D1:DB:81", "prefixes": [ ”2001:db8:20:0300::/56" ] },</div><div class=""> { "hw-address": "02:00:24:00:0D:AF:00:0A:00:03:00:01:00:1F:6C:D1:DB:81", "prefixes": [ ”2001:db8:20:0400::/56" ] }</div><div class=""> ]</div><div class=""><br class=""></div><div class=""> }</div><div class=""><br class=""></div><div class=""> ],</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">15 feb. 2017 kl. 17:07 skrev Tomek Mrugalski <<a href="mailto:tomasz@isc.org" class="">tomasz@isc.org</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">W dniu 15.02.2017 o 15:37, Torbjörn Eklöv pisze:<br class=""><blockquote type="cite" class="">Thanks. I get remote-id and client-id in the log now but there are more issues that prevents me from using it in production.<br class="">I miss this now:<br class=""></blockquote>Ahhh, new requirements.<br class=""><br class=""><blockquote type="cite" class="">- leasequery<br class=""></blockquote>We don't have this planned. It's not a frequently requested feature by<br class="">any means. It's unlikely leasequery would be implemented in a near<br class="">future, unless there are people who are willing to step up and fund its<br class="">development.<br class=""><br class="">Also, there are now 3 types of leasequery protocols defined right now. I<br class="">presume you're talking about the "basic" one, right?<br class=""><br class="">For completeness, here are the RFCs that define them:<br class=""><br class="">1. RFC5007 - DHCPv6 Leasequery (requestor asks about specific address or<br class="">about specific identifier and gets one reply, works over UDP)<br class=""><br class="">2. RFC5460 - DHCPv6 Bulk Leasequery (requestor can get many responses,<br class="">e.g. give me all clients that connected through relay X, works over TCP)<br class=""><br class="">3. RFC7653 - DHCPv6 Active Leasequery (requestor subscribes to the<br class="">server, and then the server sends any lease updates as soon as they<br class="">happen, works over TCP or TLS)<br class=""><br class=""><blockquote type="cite" class="">- lease database where I assign PD prefix depended on client-id and remote-id<br class=""></blockquote>I recall similar request was discussed previously, but I reviewed my<br class="">mail archive and can't find it. Anyway, here it is:<br class=""><br class="">Reservations are stored in a separate table, so they're not exactly the<br class="">same as "lease database". Those can be kept in MySQL, PostgreSQL or in<br class="">the config file. (There's also an unreviewed patch for Cassandra, but I<br class="">would recommend against doing anything with it in production).<br class=""><br class="">For any given client, do you need both client-id and remote-id? If yes,<br class="">that's not supported. If you can do a reservation by client-id OR<br class="">remote-id, there is something you can try. PD can be reserved for<br class="">client-id (use "duid" keyword). PD can also be reserved for specific<br class="">hardware address (use "hw-address" keyword) and configure your MAC<br class="">source to use treat content of remote-id as MAC.<br class="">See Section 8.3<br class="">(<a href="https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#host-reservation-v6" class="">https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#host-reservation-v6</a>)<br class="">and Section 8.9<br class="">(<a href="https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#mac-in-dhcpv6" class="">https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#mac-in-dhcpv6</a>).<br class=""><br class="">Implementing more reservation types is one of the strong candidate<br class="">features for upcoming 1.3. However, the decision hasn't been made yet.<br class="">Mid to late March sees to be the timeframe to scope features for 1.3.<br class=""><br class=""><blockquote type="cite" class="">Does anyone on this list know a product that can do what I want? ISC DHCP and Dibbler don’t<br class=""></blockquote>Forget about Dibbler. It was a hobby project I did over weekends, but it<br class="">isn't maintained. I did that for 13 years, but I simply don't have time<br class="">for that any more.<br class=""><br class="">Depending if the hw-address+mac-sources trick works for you, you may be<br class="">missing leasequery only. Or perhaps leasequery and the reservation stuff<br class="">if the trick doesn't cover your case. One of the things we consider for<br class="">1.3 is a generic reservation mechanism. You'd define an expression in a<br class="">way similar to client classification and use values of that expression<br class="">in your reservations.<br class=""><br class="">It seems the biggest problem here is leasequery. So how badly do you<br class="">need it?<br class=""><br class="">Tomek<br class=""></div></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; widows: 2; margin: 0cm 0cm 0.0001pt;" class=""><font face="Calibri, sans-serif" class=""><span style="font-size: 14.666666984558105px;" class=""><b class=""><br class="Apple-interchange-newline"><br class=""></b></span></font></div><div style="color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; widows: 2; margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; widows: 2; margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b style="font-size: 11pt; text-align: -webkit-auto;" class="">Torbjörn Eklöv | <span style="color: rgb(115, 173, 41);" class="">Interlan Gefle AB</span></b></div><div style="color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; widows: 2; margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt;" class="">Norra Kungsgatan 5, 803 20 Gävle<o:p class=""></o:p></span></div><div style="color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; widows: 2; margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt;" class="">Växel: 026-18 50 00 | Direkt: 070-683 51 75<o:p class=""></o:p></span></div><div style="color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; widows: 2; margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><a href="http://www.dnssecandipv6.se/" class="">http://www.dnssecandipv6.se</a></div><div style="color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; widows: 2; margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""></div><div style="color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; widows: 2; margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; widows: 2; margin: 0cm 0cm 0.0001pt;" class=""><div style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; text-align: -webkit-auto; line-height: normal; margin: 0cm 0cm 0.0001pt;" class="">"Ever since I can remember I always wanted to use IPv6. </div><div style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; text-align: -webkit-auto; line-height: normal; margin: 0cm 0cm 0.0001pt;" class="">To me that was better than being president of the United States. </div><div style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; text-align: -webkit-auto; line-height: normal; margin: 0cm 0cm 0.0001pt;" class="">To use IPv6 was to own the world."</div></div>
</div>
<br class=""></div></body></html>