On 2023-04-18 04:16, James Knott wrote:
On 2023-04-17 21:48, Carlos E.R. wrote:
You can configure your computer to prefer IPv4 or IPv6
After two decades of configuration, I don't remember what this machine is configured for. This moment I'm past bed time, so I don't remember where to check, either.
It depends on the OS. Do a Google search. I've never bothered with it, as it normally defaults to IPv6, which is what I prefer.
Ha! And which is the name of my computer? 😂
HAL, isn't it? 😉 Put in your DNS. If you don't have one, use the /etc/hosts file.
I can not make the computers respond on IPv6 to names unless I write them myself in the hosts file or the DNS file, and I can not write them because they are dynamic.
One of those two addresses you mentioned is persistent. That's the one you use. My IPv6 prefix has been steady for over 4 years. If your ISP did things right, the address shouldn't be changing.
No, they are not. One, the ISP said they would not give persistent addresses. Two, the "ip addr" says they are temporary. See the command output in my first command. inet6 2a02:9140:.../64 scope global temporary *dynamic* valid_lft 86398sec preferred_lft 62571sec inet6 2a02:9140:.../64 scope global *dynamic* mngtmpaddr valid_lft 86398sec preferred_lft 86398sec
I'm not using anything. The router belongs to the ISP, they do the configuration and the choices. I have no idea what it does or how.
If you're familiar with Wireshark, you can easily find out which they configured.
GSM??? Is that still available in Spain? In North America, even 3G is disappearing. Does your phone also have a crank on the side? 😉
GRRR. Change GSM to the actual name.
Routers often use link local addresses.
Which can not be used in commands.
They can, but you also have to specify which interface it's connected to. Here's an example, where I ping my my firewall/router:
So, they can't, they are a pain. Firefox refuses to use them. Known old bug.
ping -I eth0 fe80::4262:31ff:fe12:b66c ping: Warning: source address might be selected on device other than: eth0 PING fe80::4262:31ff:fe12:b66c(fe80::4262:31ff:fe12:b66c) from :: eth0: 56 data bytes 64 bytes from fe80::4262:31ff:fe12:b66c%eth0: icmp_seq=1 ttl=64 time=0.142 ms 64 bytes from fe80::4262:31ff:fe12:b66c%eth0: icmp_seq=2 ttl=64 time=0.149 ms 64 bytes from fe80::4262:31ff:fe12:b66c%eth0: icmp_seq=3 ttl=64 time=0.129 ms
-- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)