• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

Works fine on Debian but can not get to work on Windows 10

Started by masterwane, October 19, 2017, 04:44:08 PM

Previous topic - Next topic

masterwane

I have 4 computers at my house, 2 of them are Debian and the other two are Windows. I have IPv6 working with no problems on the two Debian machines, but on Windows, I have had no success. Here is what I have done.

netsh interface teredo set state disabled
netsh interface ipv6 add v6v4tunnel interface=IP6Tunnel localaddress=192.168.1.104 remoteaddress=209.51.161.14
netsh interface ipv6 add address interface=IP6Tunnel address=2001:470:1f06:282::4
netsh interface ipv6 add route prefix=::/0 interface=IP6Tunnel nexthop=2001:470:1f06:282::1


Everything executed with no problems, but I still don't have IPv6 internet connection. Any idea how I can troubleshoot this?

kcochran

As long as they're all on the same LAN, setup one for the tunnel, and have it be the router for the rest of them.  Then they think they're native, and you have a simpler configuration all around.

masterwane

Quote from: kcochran on October 19, 2017, 05:43:24 PM
As long as they're all on the same LAN, setup one for the tunnel, and have it be the router for the rest of them.  Then they think they're native, and you have a simpler configuration all around.

For that I would need a computer for multiple NIC cards right?

cholzhauer


masterwane


cholzhauer

You create the tunnel like you attempted to above...this uses a virtual interface based off the physical.

You then setup your physical interface with an IP from the routed /64 and point all of your clients at that.  If you need more than one subnet, use the /48

masterwane

Quote from: cholzhauer on October 20, 2017, 06:13:18 AM
You create the tunnel like you attempted to above...this uses a virtual interface based off the physical.

You then setup your physical interface with an IP from the routed /64 and point all of your clients at that.  If you need more than one subnet, use the /48

On my main actual interface, I gave a static IPv6 ip '2001:470:1f06:282::4' to the interface. And for the gateway IP, I gave the IPv6 ip which is working on my Linux machine in this case '2001:470:1f06:282::2', is that what I was supposed to do?

cholzhauer

Is that IP in use anywhere else?  You mention you had other tunnels in use at one point

masterwane

Quote from: cholzhauer on October 20, 2017, 03:44:58 PM
Is that IP in use anywhere else?  You mention you had other tunnels in use at one point

No, I am using '2001:470:1f06:282::3' and '2001:470:1f06:282::2' on the other machines which have Debian on them. However when I did add the static IP, Windows did complain that it's being used by the virtual adapter, should I remove the virtual adapter? Also I am using the ''2001:470:1f06:282::2' which is the IP used on one the Debian machines as a gateway address from the Windows machine. Am I supposed to do that for the gateway address?

cholzhauer

So your setup should be something like this:  Tunnel is terminated on your "router", whichever computer you deem that to be.  After you have the tunnel working on there, you tell the router to hand out addresses to the rest of your network...the easiest way to do that is via router advertisements.  (And make sure you enable forwarding..there are a bunch of sites online that will walk through this)  After you have this done, your computers will route IPv6 traffic to your router and out to the Internet.

masterwane

Quote from: cholzhauer on October 21, 2017, 06:20:02 AM
So your setup should be something like this:  Tunnel is terminated on your "router", whichever computer you deem that to be.  After you have the tunnel working on there, you tell the router to hand out addresses to the rest of your network...the easiest way to do that is via router advertisements.  (And make sure you enable forwarding..there are a bunch of sites online that will walk through this)  After you have this done, your computers will route IPv6 traffic to your router and out to the Internet.

Has anyone succeeded getting this to work on Windows 10 without using another machine in the LAN? I travel often and it would be great if I can get it working from Windows 10 directly. That way I will have IPv6 any new place I go.

divad27182

Quote from: masterwane on October 20, 2017, 03:19:33 PM
On my main actual interface, I gave a static IPv6 ip '2001:470:1f06:282::4' to the interface. And for the gateway IP, I gave the IPv6 ip which is working on my Linux machine in this case '2001:470:1f06:282::2', is that what I was supposed to do?

I believe 2001:470:1f06::/48 is the transit networks off the New York City tunnelbroker.  You cannot give any other addresses on that subnet.  i.e. 2001:470:1f06:282::4 is improper.  You are assigned a second subnet, probably 2001:470:1f07:282::/64 that you may allocate addresses in, and have your machine that is 2001:470:1f06:282::2 route to and from.