Question: I'm playing with IPv6 and converting it to IPv4 and vice-versa.
I wanted to access http://127.0.0.1/
And did the standard ipv4 to ipv6 calculation: AA = 127 BB = 0 CC = 0 DD = 1
with the schema
0000:0000:0000:0000:0000:ffff:AABB:CCDD
which got me:
0000:0000:0000:0000:0000:ffff:7F00:0001
so I tried
http://[:::::ffff:7F00:1]
But it didn't display anything. With a bit of googling, I found out that i need
http://[::1]/
to access the loopback interface with IPv6.
Now I wasn't too much surprised, since the loopback interface might be a special case. But then I tried to access my public file server at:
http://88.84.21.77/
Which I calculated the IPv6 address to be
http://[::ffff:5854:154d]/
But it did not resolve, too.
Now my question: Am I doing anything wrong with the conversion, or does it not work that way.
Or might that be because of my server or ISP not supporting IPv6 ? My server runs under Ubuntu 9.04, with all the necessary patches.