IPV6

Submitted by ajlill on Tue, 07/23/2024 - 12:29

At some point, dhcpcd started receiving and configuring a global scope IPV6 address. Naturally, things started trying to use IPV6. Unfortunately, IPV6 wasn't being routed by my ISP, which, of course, caused weird failures.

First fix was to edit /etc/gai.conf, which controls the order addresses are returned by gethostent() and the like. Adding

precedence ::ffff:0:0/96 100

This worked for quite a while, but then, for unknown reasons, one app started using ipv6 again, so I added the following to /etc/dhcpcd.conf

noipv6
noipv6rs

and rebooted. No more routable ipv6 addesses