Comment 4 for bug 1886116

Revision history for this message
Brian Haley (brian-haley) wrote :

Jens had a comment in the bug were the IPv6 SLAAC code was added to the DHCP agent:

https://bugs.launchpad.net/neutron/+bug/1498987/comments/14

"A dhcp agent is no router, so IMO it should not be sending router advertisements. If people want slaac to work on an isolated network, why can't they just attach a router without a gateway? We could then fix the l3 code to set the router lifetime to zero if the router has no gateway set (if that should not yet be the case)."

I think this is a good point - IPv6 configuration in general doesn't work very well without the presence of a router. Having dnsmasq send RAs is kind-of a hack in the neutron case, and even the code that originally added this support made it so that two entities (radvd and dnsmasq) would be sending RAs in most cases. This is undesirable, so I think the best option is to document this better in the admin guide, and also make sure the router lifetime is set to zero if there is no external gateway configured.