<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Joseph,<div>this situation is the same as IPv4 relaying. You have to configure empty declaration for least one of directly connected subnets (condition accomplished) and all other relayed subnets.</div><div>For example:</div><div><br></div><div>subnet6 2013:0:0:1::/64 {<br>}</div><div><br></div><div>subnet6 <span style="font-family: arial, sans-serif; font-size: 13px; ">2013:dead:beef:8001::/64 {</span></div><div><span style="font-family: arial, sans-serif; font-size: 13px; "><span class="Apple-tab-span" style="white-space:pre">     </span>range6 </span><span style="font-family: arial, sans-serif; font-size: 13px; ">range6 2013:dead:beef:8001::1001 2013:dead:beef:8001::1999;</span></div><div><span style="font-family: arial, sans-serif; font-size: 13px; ">}</span></div><div><br></div><div>Regards</div><div>Michal.</div><div><div apple-content-edited="true">
</div>
<br><div><div>On 14. 9. 2013, at 13:21, joseph orfeuil <<a href="mailto:joseph.orfeuil@gmail.com">joseph.orfeuil@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hello,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">i'm running isc-dhcp-server 4.1-ESV-R4 on ubuntu 12.04.</div>

<div style="font-family:arial,sans-serif;font-size:13px">The NIC dhcpd is bound to is an ipv6 interface (actually dual stack but only configured for IPv6).</div><div style="font-family:arial,sans-serif;font-size:13px"><br>

</div><div style="font-family:arial,sans-serif;font-size:13px">My DHCP server is in network A and my point would be to serve IP addresses to network B.</div><div style="font-family:arial,sans-serif;font-size:13px">There's a router between networks A and B, acting as a dhcp relay.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Example :</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">

Network A ==== Router ==== Network B</div><div style="font-family:arial,sans-serif;font-size:13px">Let's assume Network A subnet is 2013:0:0:1::/64 and Network B subnet is 2013:dead:beef:8001::/64</div><div style="font-family:arial,sans-serif;font-size:13px">

Let's also consider DHCP server address is 2013:0:0:1::bbbb/64.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">My point would then be to allocate addresses belonging to prefix 2013:dead:beef:8001.</div>

<div style="font-family:arial,sans-serif;font-size:13px">Below is an example of my dhcpd6.conf (at least the way i'd like to see it working).</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">

<div>default-lease-time 600;</div><div>max-lease-time 7200;</div><div>log-facility local7;</div><div>option dhcp6.rapid-commit;</div><div>pid-file-name "/var/run/dhcp-server/dhcpd.pid";</div><div>subnet6 2013:0:0:1::/64 {</div>

<div><span style="white-space:pre-wrap">  </span>range6 2013:dead:beef:8001::1001 2013:dead:beef:8001::1999;</div><div><span style="white-space:pre-wrap">      </span>prefix6 2013:0:0:100:: 2013:0:0:f00:: /56;</div><div>}</div>

</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">When running like this, when receiving a sollict request, no reply is sent (using rapid commit that's why next step is reply) because it says "No subnet found for link-address 2013:dead:beef:8001::"</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">range6 2013:0:0:1::1001 2013:0:0:1::1999; works... but then, i have clients in network B receiving IPs from network A... which does not work.<br>

</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">If ever i configure an additional address 2013:dead:beef:8001::bbbb/64 on DHCP server side, i'm then stuck as i won't be able to indicate that 2013:dead:beef:8001::/64 has to be reached through the router (actually tried).</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">On the other hand, i also tried to configure the DHCP server with a subnet6 2013:dead:beef:8001::/64{}, thinking this is the actual subnet in DHCP sollicit before it is relayed... but then the server just won't start as there's no subnet6 declaration matching the one configured on the machine interface.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Any help would be very much appreciated. I don't really understand why addresses i'm attempting to allocated are verified as to be part of network A. Is there any configuration i miss to indicate we are serving for client behind a relay?</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks a lot.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">

Regards</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Joseph</div></div>
_______________________________________________<br>dhcp-users mailing list<br><a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>https://lists.isc.org/mailman/listinfo/dhcp-users</blockquote></div><br></div></body></html>