AdguardTeam / AdGuardHome

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

I cannot make ipv6 works in openwrt #5758

Closed ghahramani closed 7 months ago

ghahramani commented 1 year ago

Prerequisites

Operating system type

Linux, OpenWrt

CPU architecture

ARMv7

Installation

Other (please mention in the description)

Setup

On a router, DHCP is handled by AdGuard Home

AdGuard Home version

v0.107.21

Description

What did you do?

Due to the issue here that I raised https://github.com/AdguardTeam/AdGuardHome/issues/5650, I enabled the dhcp in my Adguard Home panel and also change ra_allow_slaac: to true and then disabled dhcp in my openwrt. I followed all steps of this guide

Expected result

My laptop should have IPv6 which I had with openwrt without any problem

Actual result

My laptop received only IPv4 and only dns of IPv6 fe80::1 and some invalid IPv6 which are not in my range (With openwrt I had 6 IPv6s which 3 of them were working, but now I have 3 IPv6 which none of them are valid)

Screenshots (if applicable)

Here is my configuration: Test

2

Additional information

Here is the info shows from my openwrt

3

4

5

ghost commented 7 months ago

Hi @ghahramani, are you still experiencing this?

ghahramani commented 7 months ago

No, in the new version IPv6 works but still, I cannot set a static IPv6 for the device which causes a lot of pain when you want to define a client because there is another bug when you use IPv6, it does not retrieve the mac address of the device so you cannot apply filter base on the mac address, you need to define a client with mac address and IPv6. image

ghahramani commented 3 months ago

I need to reopen this issue as I am still experiencing this even on the latest version of Adguard or on a beta version of v0.108.0-b.57

My mistake from above was, I did not disable the ipv6 DHCP option in my openwrt, now I disabled it and Adguard does not assign ipv6 which means it never assigned an IP, just bear in mind, getting ipv6 only works when I enable SLAAC on my openwrt, otherwise my devices only receive ipv4 from Adguardhome