ip6neigh icon indicating copy to clipboard operation
ip6neigh copied to clipboard

Missing option to ignore temporary addresses

Open GethDeeo opened this issue 6 years ago • 2 comments

Hi,

I'm using ip6neigh on OpenWrt 18.06.4, it's working fine and really helps me out in local IPv6 name resolving. My only problem is that dnsmasq is "almost" constantly reloading because of temporary addresses appearing when I "use" my devices. Is there any way to ignore temporary addresses totally? I'm mainly interested in GUA and LUA addresses to help out in name resolving locally. I know that this will greatly reduce the efficiency of your first point under Motivation section, I can live with that :)

GethDeeo avatar Oct 11 '19 06:10 GethDeeo

Hi, I have a similar 'issue'. Really great script! But how to use predefined entries only? I only want to add entries for devices that don't have proper DHCPv6 support, like Android. And I only want the ULA and GULA to be registered in dnsmasq, I created a static entry with slaac '1' for my phone in /etc/config/dhcp. And disabled the labels for ULA and GULA. Now when I do a nslookup myphone.lan everything is fine. ULAs and GULAs are properly listed. But ip6neigh also adds entries for hosts that got a static IP through DHCPv6. I tried to add slaac '0' to the host entries in /etc/config/dhcp but that didn't work. Is it possible to accomplish such thing? Thank you.

schm0 avatar Mar 06 '20 19:03 schm0

An alternative approach to avoid reloads would to just suppress setting the reload_pending flag for temp addresses (and in my case, LL addresses too). In my case, I don't use the .LL or .TMP addresses, so it's okay if they don't update dnsmasq until the next "real" name change.

DanaGoyette avatar Jan 10 '24 20:01 DanaGoyette