Wednesday, January 13, 2010

Bravo Vista! (Sort of)

I'm typing this on a friend's Windows Vista machine. The strange thing: the machine is directly connected to Internet and thus has a public IPv4 address. The interesting thing: IPv6 works ... not based on the Teredo 2001:0: address, but based on the 6to4 2002: address. The IPv6-only website http://ipv6.ip6.me/ shows my 2002: address.

So: Bravo Vista for the IPv6 connectivity.

Oh, wait: the IPv4 & IPv6 website http://www.ipv6.surfnet.nl/ shows my IPv4 address. Vista thus still likes IPv4 more than IPv6 ... :-(



C:\>ipconfig

Windows IP Configuration


Wireless LAN adapter Wireless Network Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::648d:7e53:7b48:57af%8
   IPv4 Address. . . . . . . . . . . : 94.211.128.15
   Subnet Mask . . . . . . . . . . . : 255.255.252.0
   Default Gateway . . . . . . . . . : 94.211.128.1

Tunnel adapter Local Area Connection* 6:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Tunnel adapter Local Area Connection* 7:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::200:5efe:94.211.28.10%12
   Default Gateway . . . . . . . . . :

Tunnel adapter Local Area Connection* 10:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Tunnel adapter Local Area Connection* 9:

   Connection-specific DNS Suffix  . :
   IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:73bc:2873:31a3:a12c:e3f5
   Link-local IPv6 Address . . . . . : fe80::2873:31a3:a12c:e3f5%10
   Default Gateway . . . . . . . . . :

Tunnel adapter Local Area Connection* 11:

   Connection-specific DNS Suffix  . :
   Temporary IPv6 Address. . . . . . : 2002:5ed3:1c0a::5ed3:1c0a
   Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301

C:\>


5 comments:

Anonymous said...

tested both and i connect with v6 only, so check your config.

Quirinius said...

@Anonymous: do you use teredo or 6to4 addresses, or 'real' IPv6 addresses which are not tunneled by Windows itself?

Nico said...

Vista uses IPv4 whenever possible, it connects via IPv6 (via Teredo) when the host has only an AAAA entry.
See here:
http://siriux.net/2009/12/ipv6-mit-windows-vista/

Anonymous said...

@Nico

Is this the same for Windows 7?

Quirinius said...

@Nico:

Are you sure? I believe Teredo on *Vista* does not resolve AAAA at all. So, with only teredo IPv6 on Vista, you cannot access ipv6.google.com. Very annoying.

My post described that the 6to4 connection is used; see the 2002: address.

Teredo on *XP* does use AAAA resolving, and thus can visit ipv6.google.com