Hello,
OpenWrt seems to show IPV6 addresses for devices on my local LAN in the logs. Since I only assign static IPV4 addresses I don't know what devices the addresses refer to and I don't know where I could check which device they belong to.
Fri Feb 2 12:44:00 2024 daemon.info dnsmasq[1]: 880 fe80::7007:49ff:feb4:cae9%eth0/53180 query[A] www.google.com from fe80::7007:49ff:feb4:cae9
Fri Feb 2 12:44:00 2024 daemon.info dnsmasq[1]: 880 fe80::7007:49ff:feb4:cae9%eth0/53180 cached www.google.com is 142.250.187.196
Fri Feb 2 12:45:00 2024 daemon.info dnsmasq[1]: 881 fe80::7007:49ff:feb4:cae9%eth0/52097 query[A] www.google.com from fe80::7007:49ff:feb4:cae9
Fri Feb 2 12:45:00 2024 daemon.info dnsmasq[1]: 881 fe80::7007:49ff:feb4:cae9%eth0/52097 cached www.google.com is 142.250.187.196
Normally the router will advertise its ULA address to the lan hosts to use for DNS, but maybe you disabled it so it is now advertising the LL address.
What is the output of:
Please run the following commands (copy-paste the whole block) and paste the output here, using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have
ubus call system board; \
uci export network; \
uci export dhcp; uci export firewall; \
ip -6 addr ; ip -6 ro li tab all ; ip -6 ru
That is normal and not harmful-- some clients are using V6 link-local to access the DNS server on the router. They then use the "A" result which is IPv4 to access the site on the Internet.
The ff:fe in the middle of the address means that this particular LLA was derived from the device's MAC address using the EUI64 standard method. The other bits except for one are the MAC address of the device that sent it.
Setting option ipv6 0 on LAN will prevent the LAN interface from having a link-local IP, thus clients must strictly use IPv4.
Thanks everybody for providing useful information.
Adding the above options to /etc/config/network in the LAN interface section seems to have done the trick.