Comment on I’m about to throw my entire Pihole out the window
seaQueue@lemmy.world 1 year ago
I had similar issues when SLAAC wasn’t properly configured for my network. Every however many days my ISP forced a modem reboot and if the delegated prefix happened to change I’d start having pihole problems. I finally tracked that down, made sure SLAAC was working everywhere and assigned my pihole container a SLAAC token so its address relative to everything else on the network didn’t change and I’m good to go. These days it’s always …253 and ::253.
pete_the_cat@lemmy.world 1 year ago
For those that don’t know SLAAC is the “new DHCP” IPv6, I had to remember what it was.
seaQueue@lemmy.world 1 year ago
Yeah, SLAAC is stateless autoconfig for ipv6. It’s a little like DHCP in that the client gets an address automatically but it’s handled by the client machine rather than having a DHCP server running.
SLAAC capable machines give themselves an address based on the ipv6 prefix advertised on the network then do a duplicate address check with all of the other devices to make sure they’re unique and away you go.
I’d ignored it the first time around and given everything static v6 addresses without realizing that my provider would periodically change my prefix. That was fun to untangle, things worked if they made v4 requests but failed over v6 whenever my prefix changed.
feminalpanda@lemmings.world 1 year ago
How do you tell if your ISP has that?
seaQueue@lemmy.world 1 year ago
Check your router and see if you received an IPv6 delegated prefix along with your v6 address. Most of the major national home Internet providers in the US should support it now - if your provider supports ipv6 they’re probably giving you a delegated prefix.
Usually you just enable ipv6 SLAAC + RA or “auto configuration” or something similar on the router and you’re done there.
Once that’s working your router should broadcast route advertisements, turn “auto configuration”/SLAAC + RA/etc on on a client and see if it gets an ipv6 address. You use this instead of DHCPv6 so don’t mistake the two.
Fiddle with the options after that, if a client supports a token you can give it something like “::DEAD:BEEF” to set its address to prefix::DEAD:BEEF.
Beyond that Google “ipv6 SLAAC” and read about it and then read any ipv6 documentation for your software/devices.