<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Andale Mono; font-size: 10pt; color: #000000'>Perhaps a config example would better explain the question regarding the scope of the prefix6 statement. Here is an example config:<div><br></div><div><div><hr></div><div>shared-network network1 {</div><div> subnet6 1234:0:2E50:E8::/64 {</div><div> range6 1234:0:2E50:E8:1::1 1234:0:2E50:E8:1::ffff;</div><div> #prefix6 low-address high-address / bits;</div><div> #1234:0:2e50:F::/52</div><div> prefix6 1234:0:2e50:f000:: 1234:0:2e50:f900:: /56;</div><div> default-lease-time 600;</div><div> max-lease-time 600;</div><div> min-lease-time 600;</div><div> }</div><div>}</div><div><br></div><div><div>shared-network network2 {</div><div> subnet6 5678:0:2E50:E8::/64 {</div><div> range6 5678:0:2E50:E8:1::1 5678:0:2E50:E8:1::ffff;</div><div> #prefix6 low-address high-address / bits;</div><div> #5678:0:2e50:F::/52</div><div> prefix6 5678:0:2e50:f000:: 5678:0:2e50:f900:: /56;</div><div> default-lease-time 600;</div><div> max-lease-time 600;</div><div> min-lease-time 600;</div><div> }</div><div>}</div><div><hr></div><div><br></div><div>dhcpd -6 does start with the two prefix6 statements in there, and in their shared-network location.</div><div><br></div><div>Will users from network1 potentially get a prefix delegation from the prefix6 statement in network2 for example? or is it scoped inside the shared-network {} block if placed in such a statement, but can optionally be global (outside a shared-network block)? This is not clear from the man page. Specifically, this line: <span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small; ">This statement is currently global but it should have a shared-network scope.</span><span style="font-size: 10pt; "> confuses me.</span></div><div><br></div><div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif">The prefix6 statement</font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"><br></font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"> prefix6 low-address high-address / bits;</font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"><br></font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"> The prefix6 is the range6 equivalent for Prefix Delegation (RFC 3633). Prefixes of bits length are assigned between low-address and high-address.</font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"><br></font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"> Any IPv6 prefixes given to static entries (hosts) with fixed-prefix6 are excluded from the prefix6.</font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"><br></font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"> This statement is currently global but it should have a shared-network scope.</font></div></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"perl-list" <perl-list@network1.net><br><b>To: </b>"Users of ISC DHCP" <dhcp-users@lists.isc.org><br><b>Sent: </b>Friday, January 13, 2012 11:53:09 AM<br><b>Subject: </b>Re: DHCPv6 Prefix Delegation Clarification<br><br><style>p { margin: 0; }</style><div style="font-family: Andale Mono; font-size: 10pt; color: #000000">Does anyone have any information in regards to this question?<br><br><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"perl-list" <perl-list@network1.net><br><b>To: </b>"Users of ISC DHCP" <dhcp-users@lists.isc.org><br><b>Sent: </b>Thursday, January 12, 2012 10:34:03 AM<br><b>Subject: </b>Re: DHCPv6 Prefix Delegation Clarification<br><br><style>p { margin: 0; }</style><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><font face="'Andale Mono'" size="2">Apologies ... I neglected to include that we are currently running version 4.2.3-P1</font><br><br><div style="color: rgb(0, 0, 0); font-family: 'Andale Mono'; font-size: 10pt; "><br></div><hr id="zwchr" style="color: rgb(0, 0, 0); font-family: 'Andale Mono'; font-size: 10pt; "><blockquote style="border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt; "><b>From: </b>"perl-list" <perl-list@network1.net><br><b>To: </b>dhcp-users@lists.isc.org<br><b>Sent: </b>Thursday, January 12, 2012 10:26:35 AM<br><b>Subject: </b>DHCPv6 Prefix Delegation Clarification<br><br><style>p { margin: 0; }</style><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><font face="'Andale Mono'" size="2">The man page (man 5 dhcpd.conf) states the following regarding prefix delegation:</font><div style="color: rgb(0, 0, 0); font-family: 'Andale Mono'; font-size: 10pt; "><br></div><div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif">The prefix6 statement</font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"><br></font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"> prefix6 low-address high-address / bits;</font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"><br></font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"> The prefix6 is the range6 equivalent for Prefix Delegation (RFC 3633). Prefixes of bits length are assigned between low-address and high-address.</font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"><br></font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"> Any IPv6 prefixes given to static entries (hosts) with fixed-prefix6 are excluded from the prefix6.</font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"><br></font></div><div><font size="2" face="'courier new', courier, monaco, monospace, sans-serif"> This statement is currently global but it should have a shared-network scope.</font></div><div><br></div><font face="'andale mono', times" size="2">My specific question is in regards to the final statement. Does this mean that the prefix6 statement can currently be confined to a shared-network scope but DHCP will not barf if it is in a global position, or that it will be global in scope even if placed inside a shared-network scope? </font></div><div><font face="'andale mono', times" size="2"><br></font></div><div><font face="'andale mono', times" size="2">The reason I ask, is that if it is global even if in a specific shared-network statement, invalid networks could be delegated to clients on completely separate physical networks in our implementation.</font><br><div style="color: rgb(0, 0, 0); font-family: 'Andale Mono'; font-size: 10pt; "><div><div><div><div><div><br>Thank you,<br><br>Darren</div></div></div></div></div></div></div></div><br>_______________________________________________<br>dhcp-users mailing list<br>dhcp-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/dhcp-users</blockquote><br></div><br>_______________________________________________<br>dhcp-users mailing list<br>dhcp-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/dhcp-users</blockquote><br></div><br>_______________________________________________<br>dhcp-users mailing list<br>dhcp-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/dhcp-users</blockquote><br></div></div></div></body></html>