Windows and IPv6

IPv6 World LaunchFor those who know what IPv6 is all about and would like to get their computers ready for accessing IPv6 websites without any difficulty.

I do not take responsibility for any damage done using this guide, this is the steps I took and it worked for me. All steps in this guide is done on your own risk.

 

What you will need:

  • Administrative Rights on your machine
  • Windows 7/8 (if you have Windows Vista, please look at google.com for help)
  • Working internet connection
  • Open UDP ports (router/gateway must not block UDP connections)

Steps:

  1. Open run box, type “gpedit.msc” and hit enter. (I prefer using the Group Policy Editor instead of modifying the registry by hand)

  1. In Group Policy editor navigate to “Computer Configuration=>Administrative Templates=>Network=>TCPIP Settings=>IPv6 Transition Technologies”

  2. We will activate the following Policies (Double-Click on the named item and select options as described):
    1. Set 6to4 State => Enabled, Enabled State (If you do not have a global IPv6 address but you do have a global IPv4 address it will activate the 6to4 interface)
    2. Set Teredo Default Qualified => Enabled, Enabled State (This tells your machine to check if teredo is available and if it is available to connect and stay active)
    3. Set Teredo State => Enabled, Enterprise Client (This tells your teredo interface to work even if a domain controller is found on the network)
    4. Set Teredo Server Name => Not Configured (The default server name is already set as teredo.ipv6.microsoft.com)
    5. Set Teredo Refresh Rate => Not Configured (The default is set to 30s)

  1. You can now close Group Policy Editor
  2. To test our settings we will do the following
    1. Open run box, type “cmd” and hit enter
    2. In the cmd window type => c:>netsh int ipv6 show teredo

  1. As you can see teredo interface is working and “Qualified”
  2. In cmd window type => c:>ipconfig /all
  3. Look for the “Teredo Tunneling Pseudo-Interface”
    1. Autoconfiguration Enabled => Yes
    2. IPv6 Address => Will show your IPv6 address
    3. Link-local IPv6 Address => Will show your Link-Local Address

  1. If all steps are followed and desired results were given when doing the tests we can ping ipv6 compatible servers to see if it works
    1. In cmd window type => c:>ping -6 irmandos.co.za
    2. In cmd window type => c:>ping v6.testmyipv6.com
  2. If all ping tests passed you should be able to open the following website that ONLY allows an IPv6 connection

Congratulations you have successfully configured your computer to use IPv6 on the internet.

Extra:

You will see that your computer prefers IPv4 connections over IPv6 connections when using a teredo interface.

We can now change the priority to put IPv6 above IPv4

Click “Start” => type cmd => right-click on it and choose “Run As Administrator”

In the cmd window type => c:>netsh int ipv6 show prefixpolicies

Precedence

Label

Prefix

Comment

50

0

::1/128

Loop Back Address

40

1

::/0

Any IPv6 address

30

2

2002::/16

Any 6to4 IPv6 address

20

3

::/96

Any IPv4 address

10

4

::ffff:0:0/96

Any IPv4 address (mapped)

5

5

2001::/32

Any teredo IPv6 address

As per the above table it is clear that the precedence of “teredo IPv6” addresses is lower than the IPv4 addresses

In order to change that we run the command => c:>netsh int ipv6 set prefixpolicy prefix=2001::/32 precedence=15 label=5

This will now make the table look like this:

Precedence

Label

Prefix

Comment

50

0

::1/128

Loop Back Address

40

1

::/0

Any IPv6 address

30

2

2002::/16

Any 6to4 IPv6 address

20

3

::/96

Any IPv4 address

15

5

2001::/32

Any teredo IPv6 address

10

4

::ffff:0:0/96

Any IPv4 address (mapped)

Other Resources:

Leave a Reply