3 ms·
My local devices end up with new ipv6 addresses daily.
by op00to 3y ago
My local devices end up with new ipv6 addresses daily.
- gary_0 3y agoSo if I'm checking local server log files to debug a problem that started a few days ago, I can't easily tell where the incoming connections are coming from?
- op00to 3y agoYou can configure a static ip if you use IP addresses as an identifier. You can also keep track of who had what ip address.
- JohnFen 3y ago> My local devices end up with new ipv6 addresses daily. Isn't that a pain in the butt?
- op00to 3y agoYou’d think so, but dns magically works for me. Wish I had a better answer ha ha.
- JohnFen 3y agoI assume it's possible to prevent machines from changing their IP address? I have a few where DNS cannot reasonably be used and I use raw IP addresses instead.
- ivlad 3y agoYou can disable IPv6 privacy extensions. The exact process depends on the operating system you use.
- soneil 3y agoIPv6 not just allowing, but expecting multiple scoped addresses relieves this quite nicely. The most common setup for this is that you have a static link-local address, and a static global address. And listening processes should listen to these static addresses. Then you have a temporary global address, and outbound connections should use the youngest temporary global address (because temporary addresses don't disappear when they age out, they disappear when they age out AND no existing connection is still using them). The net effect is that the address you leave in example.com's httpd logs is a temporary address that has no listening processes. And the address you use in dns, mdns, when connecting intentionally, etc is a static address.
- op00to 3y agoI add a specific static ip where I care (dns resolver). The machines usually give themselves a few other routable ips I guess for fun? No idea why they don’t go away.