#150 NetworkManager System connections - https://fedoraproject.org/wiki/Features/NetworkManagerSystemConnections
Closed None by jstanley. Opened 9 years ago by jstanley.


The wiki page says "IPv6 will remain off in new connections, unless specifically turned on by the user".

That would be a regression, if it's true. NetworkManager has been functional with normal IPv6 networks (which use RA, not DHCPv6) for over 4 years, since around this time:
http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=a888de7ea

Supporting DHCPv6 is nice and all, but I've never actually heard of anyone using it instead of RA. I'm the resident IPv6 nut, and I've never even bothered to test it.

So how do you get nameservers if not with DHCP? Or search domains, etc? I've had big customers request DHCPv6 integration which they use for that specific purpose. Apparently we need to support:

1) RA
2) RA (for the address) + DHCP in information-only mode (for DNS/etc)
3) Full DHCPv6 with leases

Basically, there shouldn't be any regressions WRT current behavior, so NM will still always set the link-local address of the device. If there are regressions they will get fixed.

Don't get me wrong -- supporting DHCPv6 is nice and I'm not suggesting you shouldn't do it. It's just that I don't want you to make the existing RA support "off-by-default" while you're at it, as a naïve reading of the wiki page might imply. Thanks for clearing up that misunderstanding.

RA does contain DNS server information (RFC5006), although that doesn't cover search domains. It's just that we haven't yet bothered to extract it and pass it up from the kernel.

Replying to [comment:4 dwmw2]:

RA does contain DNS server information (RFC5006), although that doesn't cover search domains. It's just that we haven't yet bothered to extract it and pass it up from the kernel.

Yeah, that's part of the problem here :) Would be very nice to do that, possibly using netlink, so that NM could figure that out and update DNS accordingly.

Replying to [comment:5 dcbw]:

Yeah, that's part of the problem here :) Would be very nice to do that, possibly using netlink, so that NM could figure that out and update DNS accordingly.

Looks like I lied; we already do: http://git.kernel.org/linus/31910575

We're discussing this in the wrong ticket (mea culpa). Although maybe it's better by this point just to swap Summary and Description between this and ticket #149 :)

Userspace at http://rdnssd.linkfanel.net/ although it's since been merged into ndisc6: http://www.remlab.net/ndisc6/

This feature was approved

Login to comment on this ticket.

Metadata