<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Hi Ken! <br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">So:<br>
* Where do I modify the neutron.conf file (API or gateway)?<br></blockquote><div><br></div><div>Here I have ipv6_pd_enabled = true configured in neutron.conf in controller node and network node. <br></div><div><br></div><div>According the docs "This tells OpenStack Networking to use the prefix delegation mechanism for
subnet allocation when the user does not provide a CIDR or subnet pool id when
creating a subnet". You will see bellow that on subnet creation you use --use_default_subnetpool. So, I think this configuration is what make the things work!<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
* How do I tell Openstack about where the Dibbler server is?<br></blockquote><div><br></div><div>According the docs <<a href="https://docs.openstack.org/mitaka/networking-guide/config-ipv6.html">https://docs.openstack.org/mitaka/networking-guide/config-ipv6.html</a>> Dibbler must be reachable from the network node. <br></div><div><br></div><div>"To use this feature, you need a prefix delegation capable DHCPv6 server that is
reachable from your OpenStack Networking node(s). This could be software
running on the OpenStack Networking node(s) or elsewhere, or a physical router."</div><div><br></div><div>Here Dibbler is running on network node. Beyond that I have a script that Dibbler runs just after delegate a prefix. This script set a route the the new network and apply some iptables rules. <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
* What subnet configuration should I employ?<br>* What would a typical network creation look like in such a circumstance?</blockquote><div><br></div><div>You should configure dibbler with a pd-class informing the range and prefix of ipv6 that you would like to use. For example, you could configure a /56 range with a prefix /64. So, your networks will get a /64 network when established. <br></div><div><br></div><div>pd-class {<br>     pd-pool 2001:db8:2222::/56<br>     pd-length 64<br> }<br></div><div> </div><div>Network creation:</div><div><br></div><div>$ neutron net-create my-net<br></div><div><br></div><div>Neutron subnet creation:</div><div><br></div><div>$ neutron subnet-create my-net --name my-subnet-ipv6 --ip_version 6 --ipv6_ra_mode dhcpv6-stateless --ipv6_address_mode dhcpv6-stateless --dns-nameserver 2001:db8::fffe --use_default_subnetpool</div><div><br></div><div>Creating router:</div><div><br></div><div>$ neutron router-create my-router</div><div><br></div><div>Adding a interface:</div><div><br></div><div>$ neutron router-interface-add my-router my-subnet-ipv6</div><div><br></div><div>After some seconds you could check subnet information. You should see the network prefix allocated to this subnet. <br></div><div><br></div><div>$ neutron subnet-show my-subnet-ipv6<br></div><div><br></div><div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
* Am I missing anything really dumb/stupid?<br></blockquote><div><br></div><div>You can run a "tail -f " on dibbler log to see if requests are being made. <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks kindly,<br>
<br>
-Ken<br>
<br></blockquote><div><br></div><div>Hope to help!</div><div><br></div><br></div></div></div>