AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
25.43k stars 1.83k forks source link

Custom IPv6/DHCPv6 prefixlen #5005

Open ppfeufer opened 2 years ago

ppfeufer commented 2 years ago

Prerequisites

Description

What problem are you trying to solve?

Trying to get DHCPv6 up and running, but it fails me due to the wrong prefixlen.

Proposed solution

Option to set the prefixlen in the DHCP settings

Alternatives considered

Not using AGH as DHCP, but what's the purpose in having it then? The function built-in I mean ...

Additional information

I'm facing a bit of an issue here ...

My FRITZ!Box as the Gateway has it's own IPv6 address with a prefixlen of /64 which I cannot change at all. AGH seems to hand out IPv6 with a prefixlen of /128. Meaning, all the devices in my network that receive their IPv6 from AGH and do not have them set statically, can't communicate, because they are in a completely different (sub)network.

This conundrum makes IPv6 a bit unusable for me at the moment.

AGH DHCPv6 Settings AGH DHCPv6 Settings

DHCPv6 Auto Configuration from AGH DHCPv6 Auto Configuration from AGH image

Result when trying to use IPv6 via AGH DHCPv6: image

So it would be nice if we could have an option to set the right prefixlen for IPv6, since this is not supported by every Gateway/Router (FRITZ!Box in my case).

Thank you!

ppfeufer commented 2 years ago

PS.: And at some point I learn how to write a title properly :-)