Lurker News
Back to discussion

Comment by argulane

argulane4 replies#
Everything should get its IPv6 configuration via SLAAC. DHCPv6 is only useful when you plan to provide prefix delegation for extra routers or network boot information.
tjoff4 replies#
So how do you do DNS then?

Not sure if this is a good source but it had some history to recap, and it doesn't look pretty... https://www.reddit.com/r/networking/comments/ajb2ec/comment/...
[...] To be honest because of this hot mess if you want to reliably support any possible client you'll need to do both DHCPv6 and RDNSS for DNS information. [...]

porbelm1 reply#
The SLAAC should not change after the host has generated it during installation / first connection, as long as you don't reinstall the OS etc.

It's basically no problem.
Even better: I can set my own ::/64 so personal servers at home can be ::d3ad:b33f and accessible from outside without NAT. It's beautiful. Firewall configuration is not hard either these days is it?

tjoff8 replies#
So I have to manually configure every device to be able to use internet?

Every friends phone that wants to connect to my wifi needs manual setup?
That is a problem. To which the solution is IPv4?

Continue this thread — 8 replies

staringback#
IPv6 router advertisement.
tjohns#
SLAAC can configure DNS automatically (via RDNSS).

Or you can run DHCPv6 just to hand out DNS settings (or anything else you want more control over), even if it's not handling addressing. But this isn't necessary for small deployments.
Personally, I've never had any problems with pure SLAAC (no DHCPv6) on my home network.

labcomputer#
That source is, at best, dated.

Sending DNS info is one of the options in SLAAC (just like how it is an option for DHCPv4).
You just configure your router to advertise DNS servers via SLAAC Router Advertisements (RAs) the same way you would via DHCP.
One of the benefits is that any configuration changes propagate almost immediately—you don’t have to wait for DHCP clients to renew their lease to get new DNS servers.
Also, you can (if you want) have the DNS server advertise itself using the same mechanism.
The only common clients that can’t use SLAAC-based DNS configuration are older (unsupported) versions of windows. Even then, setting up DHCPv6 (in unmanaged mode) to send DNS servers is easy.

stevefan19991 reply#
just a funny joke: what about using IBGP/OSPF for prefix delegation?
justin_oaks1 reply#
How does that work you have more than one ISP giving you an IPv6 prefix?
justin_oaks#
Oops. Meant to reply to parent. Now I can't delete the comment.
justin_oaks#
How does that work you have more than one ISP giving you an IPv6 prefix?