On Thursday, 5 December 2019 21:17:59 GMT Ralph Seichter wrote: > * Peter Humphrey: > > $ ping6 vdsl > > ping: vdsl: No address associated with hostname > > The outcome of ping depends on /etc/resolv.conf and /etc/hosts, and even > on the OS of the IPv6 nodes involved. Apple devices will be available as > somename.local, with "somename" being what the user configured as the > device's name in Preferences->Sharing. I can for example ping my iPhone > via "ping6 silver.local".
OK, got that. > > If I add the LAN address of the Bipac to /etc/hosts, ping finds it > > okay, but what if the address changes if the Bipac reboots? > > Your Bipac will have multiple "LAN addresses", or rather addresses that > are bound to the LAN-facing network interface. In your example, you were > pinging the global scope address 2a02:x which may change over time, > unless your provider assigns static networks (mine does not). However, > the router should also have at least one link-local address and one > unique local address (ULA): My IPv6 address is indeed static. > Global scope: 2a02:8010:x (may change or may not) > Link local: fe80:y (may change with SLAAC privacy extensions) > ULA: fd67:z (should be fixed) > > With my router, the ULA was set up once when I first picked a random ULA > prefix, and has remained immutable since then. I can't see any fd67... Addresses here. The only IPv6 details my router shows are the LAN and WAN addresses, and 'ip -6 route show' on this host, although it lists six addresses bound to eth0, doesn't mention fd67. Do I need to fix a ULA (on each host?), and how would I choose and apply it? My router seems to be a bit basic in the IPv6 department. > > I see my mobile phone has acquired an IPv6 address starting with > > fe80::40be... and it doesn't look like its MAC address. > > That's not actually a bad thing. I mentioned SLAAC privacy extensions > (RFC 4941) before; [1] offers some explanations. > > [1] > https://www.internetsociety.org/resources/deploy360/2014/privacy-extensions > -for-ipv6-slaac/ Thanks for the link and your help. -- Regards, Peter.