Friday, February 6, 2009

Teredo IPv6 on Windows XP: better than Vista's Teredo?

OMG! I was glad to report that Vista had a (only?) advantage: Teredo IPv6 on by default. However, the strange thing is that Vista won't lookup an IPv6 / AAAA if only Teredo IPv6 is activated. The result is that you cannot visit ipv6.google.com, for example. Very annoying. What's the goal of Vista's Teredo IPv6 then? Yet another closed source Microsoft mystery.

And now I discover this: On Windows XP, if Teredo IPv6 is on (two easy commands, see below), you can ping and visit sites that only have IPv6. Very good. One remark: I believe only the IPv6-only sites like ipv6.google.com are approached via IPv6.

So, does this mean XP is even on this matter better than Vista?



C:\>netsh interface ipv6 install
Ok.


C:\>netsh interface ipv6 set teredo client
Ok.


C:\>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . : lokaal
        IP Address. . . . . . . . . . . . : 10.0.2.15
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        IP Address. . . . . . . . . . . . : fe80::a00:27ff:fe69:bca2%4
        Default Gateway . . . . . . . . . : 10.0.2.2

Tunnel adapter Teredo Tunneling Pseudo-Interface:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 2001:0:d5c7:a2d6:0:9fa9:3c0e:67f6
        IP Address. . . . . . . . . . . . : fe80::ffff:ffff:fffd%5
        Default Gateway . . . . . . . . . : ::

Tunnel adapter Automatic Tunneling Pseudo-Interface:

        Connection-specific DNS Suffix  . : lokaal
        IP Address. . . . . . . . . . . . : fe80::5efe:10.0.2.15%2
        Default Gateway . . . . . . . . . :

C:\>ping ipv6.google.com

Pinging ipv6.l.google.com [2001:4860:0:1001::68] with 32 bytes of data:

Reply from 2001:4860:0:1001::68: time=217ms
Reply from 2001:4860:0:1001::68: time=70ms
Reply from 2001:4860:0:1001::68: time=103ms
Reply from 2001:4860:0:1001::68: time=76ms

Ping statistics for 2001:4860:0:1001::68:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 70ms, Maximum = 217ms, Average = 116ms

C:\>


FWIW: the Windows XP above is running on the great VirtualBox on Ubuntu.


3 comments:

Unknown said...

it's not working for me,
i tried ping but
"Pinging ipv6.l.google.com [2001:4860:c003::68] with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 2001:4860:c003::68:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)"

Quirinius said...

@janith:

Does your "ipconfig" show any 2001: (or 2002:) addresses? If not, pinging an ipv6 host won't work.

Shweta said...

I too faced the same problem as janith.
please provide some solution.