Posted: Sun Nov 15, 2020 2:48 Post subject: [IPv6/dnsmasq/pihole]How to setup ULA address distribution?
Hi all,
I've had this problem for a really long time without finding a good enough solution. My ISP uses prefix delegation and therefore my devices can't get stable IPv6 addresses, and this is causing problems with my Raspberry Pi running pihole DNS server. I need it to have a stable IPv6 address so I can point my router to it for DNS.
The closest setup I currently have is this dnsmasq config:
And now devices on the network indeed get both GUA and ULA addresses (and the pi indeed gets the ::8 address I set), but then after some time they all lose IPv6 internet connectivity, even though they still have the addresses and are pingable locally.
Can anyone please advise? Thanks for any help.
Thanks for the info. I change my WAN MAC every so often to get a new IP so I guess I can't rely on a infinite lease time like you do. Even if I don't change my WAN MAC my public addresses still randomly change sometimes.
Joined: 13 Aug 2013 Posts: 6870 Location: Romerike, Norway
Posted: Mon Nov 16, 2020 19:57 Post subject:
The ULA addresses can only be used locally. That's why you lose Internet when the GUA address is invalidated.
You must find out why the connection to your ISP get broken.
You're saying my ISP does not allow ULAs and if they detect me using them in my network they invalidate my GUAs? Hmmm I guess I'll need to talk to them.
Also interestingly right now I have my ULAs distributed for like more than a day and GUAs still work.
Joined: 13 Aug 2013 Posts: 6870 Location: Romerike, Norway
Posted: Thu Nov 19, 2020 17:06 Post subject:
I didn't say that the ULA is causing the connection problems. That must be something going on between the router and modem. Perhaps you should reboot the modem instead of changing MAC.