Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Windows => Topic started by: kutagh on October 02, 2009, 11:29:37 AM

Title: Can't get an IPv6 tunnel to work on windows 7.
Post by: kutagh on October 02, 2009, 11:29:37 AM
So I've been trying to get a tunnel working. A normal tunnel.
Let me explain the situation first. I'm on a wireless network, and the IPs are assigned through the DHCP server (the router, which is connected to the modem). The computer that I'm trying to get the tunnel working on, is running Windows 7.

I've been trying to use the following command:
netsh interface ipv6 add v6v4tunnel IP6Tunnel <local ip> <server ip>

However, the CMD prompt keeps saying "Element not found". Simply that, nothing else.


Anyone who has encountered the error and managed to solve it?

Thank you in advance.
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: cholzhauer on October 02, 2009, 11:40:18 AM
hmm, that command works for me. 

Maybe try repairing IPv6? 

Code: [Select]
netsh int ipv6 reset
I'm assuming you're running the command prompt with admin rights?
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: kutagh on October 02, 2009, 02:26:23 PM
hmm, that command works for me. 

Maybe try repairing IPv6? 

Code: [Select]
netsh int ipv6 reset
I'm assuming you're running the command prompt with admin rights?


CMD prompt is being ran as admin.
The reset gave the following message:
There's no user specified settings to be reset.
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: cholzhauer on October 02, 2009, 02:39:36 PM
Maybe that command doesn't work in vista.  Hmm.  Can you post the output of "ipconfig /all" ?
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: broquea on October 02, 2009, 04:24:31 PM
So the first question is, are you behind nat or a firewall, or is your win7 machine actually assigned your IPv4 endpoint?
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: cholzhauer on October 03, 2009, 06:57:21 AM
The "element not found" error seems to be a generic one in Windows 7.  I was looking around Google for some help, and I've seen people report that the error has popped up when they were running a "bootrec /fixmbr" and also when someone was trying to adjust the resolution on their monitor via the control panel.

I guess what I'm saying is the error isn't helping us diagnose...hopefully someone else will run across this who's had the problem and be able to help. 

When I get back to work on Monday I'll fire up my VM and see if I can find anything more out for you.
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: cholzhauer on October 05, 2009, 05:58:56 AM
From http://www.computerperformance.co.uk/Longhorn/ipv6.htm

Quote
If you get an 'Element not found' error message, then it's because your interface = NAME is wrong.  The solution is to check the NAME in the Network Connections.
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: wstreeter on November 03, 2009, 04:46:16 AM
A co-worker and I had the same problem. We had to make a change to a registry key and then reboot to get the tunnel to create.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents

Normally, the DisabledComponents value does not exist. If the value does not exist or the value data is 0, IPv6 is enabled on all interfaces.

On mine this was set to a non-zero value so I changed it to zero and then rebooted. After that I was able to create the tunnel and IPv6 was functioning great.
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: comtrend on November 07, 2009, 02:13:27 PM
Ive made it work on my own vista machine and can see the ipv6 google page etc. When I tried my brothers computer with windows 7 installed I couldnt get it to work. Im thinking whats wrong is that I used the same Example OS Configurations (vista/2008) cmd lines on his computer, since I couldnt find any configurations for windows 7. I didnt get any error msg when typing the lines in cmd though and both mine and his use a local ipv4 address from dhcp.

Is there some windows 7 Example OS Configurations cmd lines out there someone can post or anyone have any suggestions of what Im doing wrong ??
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: cholzhauer on November 07, 2009, 02:54:24 PM
are you getting any error messages?  can you post the output of ipconfig /all and  your routing tables?  the vista commands have worked on 7 for me so far
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: comtrend on November 08, 2009, 10:25:45 AM
This is after I wrote those 3 cmd lines.

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : lan
Description . . . . . . . . . . . : Realtek RTL8168C(P)/8111C(P) Family PCI-E
Gigabit Ethernet NIC (NDIS 6.20)
Physical Address. . . . . . . . . : xx-xx-xx-xx-xx-xx
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::9908:f867:c9ac:bc08%12(Preferred)
IPv4 Address. . . . . . . . . . . : 10.0.0.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 8. november 2009 12:26:33
Lease Expires . . . . . . . . . . : 11. november 2009 12:26:32
Default Gateway . . . . . . . . . : 10.0.0.138
DHCP Server . . . . . . . . . . . : 10.0.0.138
DHCPv6 IAID . . . . . . . . . . . : 261154490
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-79-6A-11-90-E6-BA-B8-58-89

DNS Servers . . . . . . . . . . . : 193.213.112.4
130.67.15.198
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.lan:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : lan
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 11:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:d5c7:a2d6:ccb:bdbf:a7a6:728d(Prefe
rred)
Link-local IPv6 Address . . . . . : fe80::ccb:bdbf:a7a6:728d%11(Preferred)
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter IP6Tunnel:

Connection-specific DNS Suffix . : lan
Description . . . . . . . . . . . : Microsoft Direct Point-to-point Adapater
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::715f:5983:6bce:9ed3%14(Preferred)
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 193.213.112.4
130.67.15.198
NetBIOS over Tcpip. . . . . . . . : Disabled
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: cholzhauer on November 08, 2009, 01:52:53 PM
First, I would disable Teredo.

Second, you never said if you were getting any error messages.

What commands are you trying to run?
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: comtrend on November 08, 2009, 04:02:28 PM
netsh interface ipv6 add v6v4tunnel IP6Tunnel 10.0.0.1 <server ip>
netsh interface ipv6 add address IP6Tunnel  <string>
netsh interface ipv6 add route ::/0 IP6Tunnel  <string>

I added those on my brothers computer and didnt get any error msg entering them in cmd. Its when I try to connect to ipv6 google and try to connect to some servers that requires ipv6 that it dosent work. I can try to disable terado next time Im at his computer, anything else I should look at ?
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: cholzhauer on November 08, 2009, 05:53:38 PM
Quote
Its when I try to connect to ipv6 google and try to connect to some servers that requires ipv6 that it dosent work

Because you don't have an IPv6 address on your Local Area Connection interface.

To disable Teredo

Code: [Select]
netsh int teredo set state disabled
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: comtrend on November 12, 2009, 11:35:01 AM
I disabled terado, but still no luck.

Is there a way to remove all the netsh lines Ive entered ? I get duplicate error msg when I try to change ipv4 on this line :

netsh interface ipv6 add v6v4tunnel IP6Tunnel 10.0.0.1 <server ip>
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: cholzhauer on November 12, 2009, 11:47:16 AM
netsh int ipv6 delete    followed by whatever you added before
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: jimb on November 13, 2009, 03:57:45 PM
I think there's a reset subcommand for most of the netsh sections.
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: ddasilva99 on November 16, 2009, 09:18:21 PM
Hello,

I am also running into the same problem and I would appreciate your help getting my IPv6 tunnel working in Windows 7.  I have tried to copy/paste the commands listed when I created the tunnel and I cannot establish a link to IPv6 sites.

Could someone please provide me with steps to configure my IPv6 tunnel?

Thanks,
D
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: cholzhauer on November 17, 2009, 05:11:52 AM
What commands are you using?  Are you running them as an administrator?  Are you getting any errors?

Can you post the output of "ipconfig /all" and "netstat -nr" ?

Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: ddasilva99 on November 17, 2009, 10:54:31 AM
Hi Cholzhauer,

Thank you for your assistance.  Here is the information you have requested...

C:\Users\Derek\Desktop>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : ddasilva
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Hexago Virtual Multi-Tunnel Adapter
   Physical Address. . . . . . . . . : 02-50-F2-00-00-01
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:5c0:1000:a::139(Preferred)
   Link-local IPv6 Address . . . . . : fe80::2168:1ba5:994b:2b65%18(Preferred)
   Autoconfiguration IPv4 Address. . : 169.254.43.101(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . : ::
   DHCPv6 IAID . . . . . . . . . . . : 302141682
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-06-8D-6A-00-1D-60-2F-43-

   DNS Servers . . . . . . . . . . . : 192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter LAN:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Eth
net Controller
   Physical Address. . . . . . . . . : 00-1D-60-2F-4A-C7
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1
   DNS Servers . . . . . . . . . . . : 192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{64E4778C-99ED-4DD1-9191-6C4EBE9E1FF4}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{1A0B03CA-8761-40E3-BE2E-908625E9B009}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter IP6Tunnel:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Direct Point-to-point Adapate
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

C:\Users\Derek\Desktop>netstat -nr
===========================================================================
Interface List
 18...02 50 f2 00 00 01 ......Hexago Virtual Multi-Tunnel Adapter
 12...00 1d 60 2f 4a c7 ......Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Contr
oller
  1...........................Software Loopback Interface 1
 15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
 14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 16...00 00 00 00 00 00 00 e0 Microsoft Direct Point-to-point Adapater
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.1.1      192.168.1.2    276
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      169.254.0.0      255.255.0.0         On-link    169.254.43.101    276
   169.254.43.101  255.255.255.255         On-link    169.254.43.101    276
  169.254.255.255  255.255.255.255         On-link    169.254.43.101    276
      192.168.1.0    255.255.255.0         On-link       192.168.1.2    276
      192.168.1.2  255.255.255.255         On-link       192.168.1.2    276
    192.168.1.255  255.255.255.255         On-link       192.168.1.2    276
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link       192.168.1.2    276
        224.0.0.0        240.0.0.0         On-link    169.254.43.101    276
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link       192.168.1.2    276
  255.255.255.255  255.255.255.255         On-link    169.254.43.101    276
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0      192.168.1.1  Default
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
 18    276 ::/0                     On-link
  1    306 ::1/128                  On-link
 18    276 2001:5c0:1000:a::/64     On-link
 18    276 2001:5c0:1000:a::138/128 On-link
 18    276 2001:5c0:1000:a::139/128 On-link
 18    276 fe80::/64                On-link
 18    276 fe80::2168:1ba5:994b:2b65/128
                                    On-link
  1    306 ff00::/8                 On-link
 18    276 ff00::/8                 On-link
===========================================================================
Persistent Routes:
 If Metric Network Destination      Gateway
  0 4294967295 ::/0                     2001:470:1c:1be::1
===========================================================================
netsh interface ipv6 add v6v4tunnel IP6Tunnel 206.248.129.217 216.66.38.58
netsh interface ipv6 add address IP6Tunnel 2001:470:1c:1be::2
netsh interface ipv6 add route ::/0 IP6Tunnel 2001:470:1c:1be::1 metric=5
netsh interface ipv6 set route 2001:470:1c:1be::2/64 IP6Tunnel metric=4
I am running the following batch file as administrator


Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: cholzhauer on November 17, 2009, 10:59:21 AM
Do you also have access through Hexago?  I'd remove that and try again, your routing table has multiple prefix's in it, and while it shouldn't matter, we should make things as simple as possible for the time being.
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: ddasilva99 on November 17, 2009, 01:26:38 PM
Hi,

Thanks for your post.  I have removed the Hexago client and the problem persists.  Would you like my me to repost my settings?

Thanks,
D
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: cholzhauer on November 17, 2009, 01:27:20 PM
Yes, please
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: ddasilva99 on November 17, 2009, 04:46:31 PM
Hello,

Here is my IPCONFIG followed by my netstat after removing the Hexago client...


Windows IP Configuration

   Host Name . . . . . . . . . . . . : ddasilva
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter LAN:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
   Physical Address. . . . . . . . . : 00-1D-60-2F-4A-C7
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1
   DNS Servers . . . . . . . . . . . : 192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{1A0B03CA-8761-40E3-BE2E-908625E9B009}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter IP6Tunnel:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Direct Point-to-point Adapater
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes


===========================================================================
Interface List
 12...00 1d 60 2f 4a c7 ......Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
  1...........................Software Loopback Interface 1
 14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 16...00 00 00 00 00 00 00 e0 Microsoft Direct Point-to-point Adapater
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.1.1      192.168.1.2    276
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      192.168.1.0    255.255.255.0         On-link       192.168.1.2    276
      192.168.1.2  255.255.255.255         On-link       192.168.1.2    276
    192.168.1.255  255.255.255.255         On-link       192.168.1.2    276
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link       192.168.1.2    276
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link       192.168.1.2    276
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0      192.168.1.1  Default
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
  1    306 ::1/128                  On-link
  1    306 ff00::/8                 On-link
===========================================================================
Persistent Routes:
 If Metric Network Destination      Gateway
  0 4294967295 ::/0                     2001:470:1c:1be::1
===========================================================================
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: broquea on November 17, 2009, 04:55:13 PM
And when you run the netsh commands, you use 192.168.1.2 as your local IPv4 address instead of what the example will provide using your IPv4 endpoint?
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: ddasilva99 on November 17, 2009, 05:25:19 PM
Hello,

Here is the command I am running...

netsh interface ipv6 add v6v4tunnel IP6Tunnel xxx.xxx.xxx.xxx 216.66.38.58
netsh interface ipv6 add address IP6Tunnel 2001:470:1c:1be::2
netsh interface ipv6 add route ::/0 IP6Tunnel 2001:470:1c:1be::1 metric=5
netsh interface ipv6 set route 2001:470:1c:1be::2/64 IP6Tunnel metric=4

Where XXX.XXX.XXX.XXX is the WAN IP

Thanks,
D
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: broquea on November 17, 2009, 06:19:26 PM
And is that WAN IP configured on your machine?

Going to say no here since you provided ipconfig data which shows that 192.168.1.2 is.

Run the netsh command with that instead of the WAN IP.
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: ddasilva99 on November 17, 2009, 07:09:27 PM
Thank you for your assistance.  After setting the "WAN IP" to 192.168.1.2 all functionality was restored.
Please note I had to delete my existing IPv6Tunnel using the netsh delete before adding the proper netsh command with 192.168.1.2

Is there a way to automatically update the WAN IP on the website everytime my IP changes?
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: brianko on April 02, 2010, 10:41:03 AM
OK, I think I really hosed things up.

Trying to reset all my IPv6 setting to defaults, but I'm not having much luck with the netsh reset command.  Now when I try to go back through the setup steps, I get this error:

C:\Windows\system32>netsh interface ipv6 add v6v4tunnel IP6Tunnel xx.xx.xx.xx yy.yy.yy.yy

You were not connected because a duplicate name exists on the network. If joinin
g a domain, go to System in Control Panel to change the computer name and try ag
ain. If joining a workgroup, choose another workgroup name.

How can I get everything back to the way it was so I can try again?
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: cholzhauer on April 02, 2010, 10:52:50 AM
Have you seen these threads?

http://www.tunnelbroker.net/forums/index.php?topic=793.0

http://www.tunnelbroker.net/forums/index.php?topic=438.0

Supposedly you can do a reset like so

Code: [Select]
netsh interface ipv6 reset
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: brianko on April 02, 2010, 11:01:50 AM
At this point, no netsh commands work without generating the "duplicate name exists" error.  I'm not even too sure what this error refers to, despite some rather extensive googling.

If I could just get past the "duplicate name exists" crap, I'd be on my way to trying this again.
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: cholzhauer on April 02, 2010, 11:18:28 AM
http://www.dslreports.com/forum/r23347380-Unable-to-connect-to-IPv6-Newsgroups~start=20

Do you get the error even when your try and remove your tunnel?
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: brianko on April 02, 2010, 11:27:20 AM
It's working, thanks for the assist!

ipconfig /all showed another tunnel adapter existed (I probably fat-fingered it when typing in the commands).  "netsh interface ipv6 delete interface IPTunnel2" took care of the problem.

The lesson I took away from this is that "netsh interface ipv6 reset" does not actually reset anything back to the initial install.  It appears to restore a few default settings, but previously-created tunnels are not removed.
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: brianko on May 05, 2010, 03:33:43 AM
Just came across another annoying issue that caused my tunnel to go down:  At some point during a Windows update, the following registry entry was reset from "0" to "ff":

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters\DisabledComponents

With this changed, all IPv6 interfaces were absent from ipconfig /all.  In addition, running the following command produced the dreaded "Element not found" error:

netsh interface ipv6 add v6v4tunnel IP6Tunnel yy.yy.yy.yy xx.xx.xx.xx

Resetting the registry key above to "0" and rebooting got IPv6 working again.
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: jimb on May 05, 2010, 11:52:33 AM
Odd.  I did updates all the time and never have this happen under XP.  They've really broken this under 7?
Title: Re: Can't get an IPv6 tunnel to work on windows 7.
Post by: str0AT on June 05, 2010, 11:38:31 AM
EDIT: nevermind, it just started to work again - no idea why.

Hello guys, i seem to have a strange problem with my tunnel here:
Yesterday everything worked nicely, fast and stable - but today when i woke up IPv6 was dead (i never turn my PC off, so it cant be a issue related to a reboot)

Maybe someone can see the error in my ipconfig /all?
Beware: The Windows is German, i translated the text for you, so it could look "dumb" at some places.

What i tryed:
Remove IP6Tunnel and reiconfigure it - did not help at all.
Code: [Select]

Windows-IP-Konfiguration | IP Configuration

   Hostname  . . . . . . . . . . . . : QUAD
   Prim„res DNS-Suffix . . . . . . . :
   Knotentyp . . . . . . . . . . . . : Hybrid
   IP-Routing activated  . . . . . . : No
   WINS-Proxy activated  . . . . . . : No

Ethernet-Adapter LAN-Verbindung:

   Verbindungsspezifisches DNS-Suffix:
   Description. . . . . . . . . . . : Realtek RTL8168B/8111B Family PCI-E Gigabit Ethernet NIC (NDIS 6.20)
   MAC Address          . . . . . . : 00-19-DB-CE-80-B9
   DHCP activated . . . . . . . . . : Nein
   Autoconfiguration activated. . . : Ja
   Local IPv6-Address             . : fe80::8442:9f6f:d00c:2d79%10(Bevorzugt)
   IPv4-Address . . . . . . . . . . : 192.168.0.5(Bevorzugt)
   Subnet mask  . . . . . . . . . . : 255.255.255.0
   Standardgateway . . . . . . . . . : fe80::c4ee:99c7:48ad:f889%10
                                       192.168.0.1
   DHCPv6-IAID . . . . . . . . . . . : 251666821
   DHCPv6-Client-DUID. . . . . . . . : 00-01-00-01-11-12-C2-FC-00-21-85-02-8B-E3
   DNS-Server  . . . . . . . . . . . : 195.96.0.4
                                       195.70.224.45
   NetBIOS over TCP/IP . . . . . . . : Aktiviert


Tunneladapter isatap.{A34F4AB9-EC95-4211-924F-8309EE2927AA}:

   Medienstatus. . . . . . . . . . . : disconnected
   Verbindungsspezifisches DNS-Suffix:
   Beschreibung. . . . . . . . . . . : Microsoft-ISATAP-Adapter
   Physikalische Adresse . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP aktiviert. . . . . . . . . . : Nein
   Autokonfiguration aktiviert . . . : Ja

Tunneladapter IP6Tunnel: <--- HE Tunnel

   Description. . . . . . . . . . . : Microsoft Direct-Punkt-zu-Punkt-Adapater
   Physical Address. .  . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP activated . . . . . . . . . : No
   Autoconfiguration activated. . . : Yes
   IPv6-Address. . . . . . . . .  . : 2001:470:1f14:aed::2
   Local IPv6-Address . . . . ..  . : fe80::b112:606c:9793:4eb3%17
   Standardgateway . . . . . . .. . : 2001:470:1f14:aed::1
   DNS-Server  . . . . . . . .  . . : 195.96.0.4
                                      195.70.224.45
   NetBIOS over TCP/IP . . . . . . .: Deactivated

Tunneladapter isatap.{2B4B09D1-7961-4CE2-9083-5DB730018B07}:

   Medienstatus. . . . . . . . . . . : disconnected
   Verbindungsspezifisches DNS-Suffix:
   Beschreibung. . . . . . . . . . . : Microsoft-ISATAP-Adapter #3
   Physikalische Adresse . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP aktiviert. . . . . . . . . . : Nein
   Autokonfiguration aktiviert . . . : Ja

Tunneladapter 6TO4 Adapter:

   Medienstatus. . . . . . . . . . . : disconnected
   Verbindungsspezifisches DNS-Suffix:
   Beschreibung. . . . . . . . . . . : Microsoft-6zu4-Adapter
   Physikalische Adresse . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP aktiviert. . . . . . . . . . : Nein
   Autokonfiguration aktiviert . . . : Ja

Tunneladapter isatap.{E8E8C068-875C-4389-910F-7A7BFC8E0E83}:

   Medienstatus. . . . . . . . . . . : disconnected
   Verbindungsspezifisches DNS-Suffix:
   Beschreibung. . . . . . . . . . . : Microsoft-ISATAP-Adapter #5
   Physikalische Adresse . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP aktiviert. . . . . . . . . . : Nein
   Autokonfiguration aktiviert . . . : Ja