← Back to context

Comment by simoncion

12 hours ago

> They probably mean that when using SLAAC...

If that's the case, then you've got to think of SLAAC as operating exactly like IPv4 address autoconfiguration (sometimes called "IPv4LL")... except that you usually get globally-routable IP addresses out of it.

If you want the management niceties that you often get when using DHCP, then you have to use DHCP.

Some very loud purists might say "SLAAC is the only way to use IPv6!". I completely ignore the convenience of LAN-side prefix delegation and say two things:

1) "Good luck with telling your IPv6 clients about things like your preferred NTP server."

2) "For ages, Router Advertisements have had entirely independent 'autoconfigure your addresses', 'use stateful configuration for your "other" configuration' [0], and 'use stateful configuration for your addresses' bits. It's legal to have any number of them enabled. This is a deliberate choice by the folks defining IPv6."

In general, the folks who scream about how IPv6 NAT and DHCPv6 should not exist and should never be used should be ignored... at least about that topic.

[0] Things like NTP and DNS that other good stuff that DHCP can be used to tell hosts about.

> Things like NTP and DNS that other good stuff that DHCP can be used to tell hosts about.

Look up RFC 6106 (published 15 years ago). Router advertisements have carried DNS resolver info for a long time now.

Once again, the old adage “IPv6 haters don’t understand IPv6” applies.

As much as I would like hosts to use the local NTP server, most will ignore the NTP server you specify in DHCP anyway, so it’s kind of a moot point.

Edit: RFC 6016 actually supersedes RFC 5006 from 2007. That’s nearly two full decades we have had DNS info in RAs. That’s the year Itanium2 came out (any greybeards here old enough to remember that one?)

  • > ...the old adage “IPv6 haters don’t understand IPv6” applies.

    I'm an IPv6 hater. Sure. [0][1][2]

    > ...RFC 6106...

    Yes. I'm quite aware of the RDNSS field in RAs. In past experience from ten-ish years ago, [3] I've found that it is unreliably recognized... some systems would use the data in it, and others would only ignore it. In contrast, DHCPv6 worked fine on everything I tested it on except for Android. Might this be because RFC 6106 was published in 2010, while RFC 3315 ("stateful" DHCPv6) was published in 2003, and RFC 3736 ("stateless" DHCPv6) was published in 2004? Maybe.

    > ...RFC 6016 actually supersedes RFC 5006 from 2007.

    An attentive reader notes that RFC 5006 is an experimental RFC. It took another four years for a non-experimental version of the standard to be published.

    So, anyway. Yeah, I should have said

      Things like NTP and (sometimes) DNS and that other good stuff...
    

    Whoops. But, my point stands... how do you communicate to clients the network's preferred NTP servers or nearly all of the other stuff that DHCPv6 communicates if one choses to use only SLAAC?

    [0] <https://news.ycombinator.com/item?id=47101182>

    [3] Perhaps things have gotten better in the intervening years? Should I find myself bored as hell one evening, I'll see what the state of device/OS support is.

I mostly meant that DHCPv6 was an afterthought, and was complaining about the length of IPv6 addresses when they are truly random/EUI64. As a network guy who has had to write down or quickly type IP addresses down for troubleshooting thousands of times, v4 is much easier for humans to work with than a full v6.

(Oh and Android doesn't support DHCPv6 at all, but that doesn't matter much for server environments/DNS reachability).

In hindsight of EUI64 being shunned in favor of privacy addresses, plus how much of the IPv6 space is reserved for future use, I wonder if IPv6 could have achieved all of its goals with a 64 or 80 bit address instead of 128.