On 18.04.2023 00:52, Carlos E. R. wrote:
Hi,
I asked to participate in a beta testing of deployment of IPv6 by my ISP, Telefónica. After many weeks, they mailed me to say they would activate it today.
And yes, my machines are getting, besides the IPv4 local address, two _dynamic_ IPv6 addresses.
Why two, what's the difference?
Telcontar:~ # ip addr
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:d8:... altname enp34s0 inet 192.168.1.14/16 brd 192.168.255.255 scope global eth0 valid_lft forever preferred_lft forever inet6 2a02:9140:1180:0:634a:...:...:.../64 scope global temporary dynamic valid_lft 86397sec preferred_lft 80397sec inet6 2a02:9140:1180:0:2d8:..:...:.../64 scope global dynamic mngtmpaddr valid_lft 86397sec preferred_lft 86397sec inet6 fe80::2d8:...:...:.../64 scope link valid_lft forever preferred_lft forever Telcontar:~ #
One address is permanent, another one is temporary which is changed by kernel periodically. Kernel will prefer temporary address for outgoing connection.
The site <https://test-ipv6.com/> confirms. It says, though, that:
Your browser has real working IPv6 address - but is avoiding using it. We're concerned about this. [more info]
→ https://test-ipv6.com/index.html.en_US#found
I don't understand this. Meaning, what can I do to make firefox use IPv6 and why exactly it doesn't?
There could be multiple reasons, one that IPv4 is faster than IPv6 in your case.
If I point firefox to my IPv6 address, it instead asks google to search for that text.
I asked google:
https://support.mozilla.org/en-US/questions/1111992
How to type ipv6-address and port number in URL bar?
which does not apply, it is about link-local addresses, and mine are not. Finally I found that the syntax is:
http://[2a02:9140:...]:port/path/
and it does work :-)
Using IP addresses will not work for HTTPS (both IPv4 and IPv6).
The route has not changed:
Isengard:~ # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default router.valinor 0.0.0.0 UG 0 0 0 eth0 192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 Isengard:~ #
Should it have also an IPv6 entry?
Yes if you use the correct command to look for it. Did you try to read man page?
I must try another machine that uses only DHCP.
I have no idea which is the IPv6 address of the router or how to find it. Maybe "fe80::8626:2bff:fe6e:c571", but a ping6 to it fails. Ok, finally found one, 2a02:...:75b5... but that IP can change every day, I can not put that in my hosts file.
Ok, I can find my own router address doing a traceroute6 to google or any outside address. The first line. Huh, will that be the external or the internal address of it?
This will be address that your system is using as next hop.