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

How to advertise to other pcs on network and gain ipv6 address

Started by shak85, September 29, 2014, 11:18:05 AM

Previous topic - Next topic

shak85

Hello everyone!

I've been struggling to get this to work with no success. This is what i 've done , first made a tunnel with ipv6 connectivity and then run these commands :

netsh interface ipv6 set route ::/0 IP6Tunnel publish=yes
netsh interface ipv6 set interface IP6Tunnel forwarding=enabled
netsh interface ipv6 set interface "Wi-FI 2" forwarding=enabled advertise=enabled advertisedefaultroute=enabled
netsh interface ipv6 add address interface="Wi-Fi 2" address=2001:470:1xxx:198::1


The address is the one with the /64 prefix .
I can't get ipv6 connectivity to my other laptop running also windows 8.1

A m i doing anything wrong?


Best regards

shak

cholzhauer

Steps below were done in Vista.  Steps for Windows 7 might be a little different.




1.  Open Regedit, navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters
Add STRING value called 'DisabledComponents' and set its value to 0; Reboot
Open the LAN adapter properties and open the IPv6 properties
Manually add an address from this subnet: 2001:db8:1f07:e9a::/64
Keep the prefix at 64
Add this gateway: 2001:db8:1f06:e9a::1
Add this DNS server: 2001:db8:200::2 (this is one of HE's DNS servers)
Click OK and OK to save the changes
Open 'cmd' and type the following commands
netsh interface teredo set state disabled
netsh interface ipv6 add v6v4tunnel IP6Tunnel <your local IP address> 216.66.22.2
netsh interface ipv6 add address IP6Tunnel 2001:db8:1f06:e9a::2
netsh interface ipv6 add route ::/0 IP6Tunnel 2001:db8:1f06:e9a::1
10.  Test IPv6 connectivity by pinging or opening a website like ipv6.google.com

Steps to configure host to act as IPv6 router

1.  In CMD type: netsh int ipv6 set interface IP6Tunnel forwarding=enabled
2.  Next, type: netsh int ipv6 set interface "Local Area Connection" forwarding=enabled advertise=enabled
3.  Next, add the first address of the routed IP address to the Local Area Connection
netsh int ipv6 add address "Local Area Connection" 2001:db8:8:a0a::1
4.  Next, add the default route and next hop for the tunnel and Local Area Connection, then publish it:
netsh int ipv6 set route 2001:db8:8:a0a::/64 "Local Area Connection" publish=yes
5.  Next, add the default route for the tunnel and publish it:
netsh interface ipv6 set route ::/0 IP6Tunnel 2001:db8:7:a0a::1 publish=yes

shak85

Hi again . Thanks for the reply . Is it possible you could guide me through with my setup ? I get ipv6 address but i can't access ipv6 sites although test-ipv6 says that everything is ok

Here is my setup :


IPv6 Tunnel Endpoints
Server IPv4 Address:216.66.87.14
Server IPv6 Address:2001:470:1f1a:198::1/64
Client IPv4 Address:78.158.128.159
Client IPv6 Address:2001:470:1f1a:198::2/64
Routed IPv6 Prefixes
Routed /64:2001:470:1f1b:198::/64
Routed /48:Assign /48
Available DNS Resolvers
Anycasted IPv6 Caching Nameserver:2001:470:20::2
Anycasted IPv4 Caching Nameserver:74.82.42.42


I must be doing something wrong .

cholzhauer

See above.

You just need to insert your IP addresses in the correct spots and run the commands  (Also, the 216.66.22.2  should be changed to the IPv4 address of your tunnel server)

shak85

I have tried it and although test-ipv6 gives me 10/10 i can only access ivp6.google.com . I can't access he.net or any other ipv6 site which strange.

I had already a tunnel so didn't do the first steps. What i did was :

C:\Windows\system32>netsh int ipv6 set interface "Wi-Fi 2" forwarding=disabled a
dvertise=disabled
Ok.


C:\Windows\system32>netsh int ipv6 set interface IP6Tunnel forwarding=enabled
Ok.


C:\Windows\system32>netsh int ipv6 set interface "Wi-FI 2" forwarding=enabled ad
vertise=enabled
Ok.


C:\Windows\system32>netsh int ipv6 add address "Wi-Fi 2" 2001:470:1f1b:198::1


C:\Windows\system32>netsh int ipv6 set route 2001:470:1f1b:198::/64 "Wi-Fi 2" pu
blish=yes
Ok.


C:\Windows\system32>netsh interface ipv6 set route ::/0 IP6Tunnel 2001:470:1f1b:
199::1 publish=yes
Element not found.



C:\Windows\system32>netsh interface ipv6 set route ::/0 IP6Tunnel 2001:470:2f1b:
198::1 publish=yes
Element not found.



C:\Windows\system32>netsh interface ipv6 set route ::/0 IP6Tunnel 2001:470:1f1b:
198::1 publish=yes
Element not found.



C:\Windows\system32>netsh interface ipv6 set route ::/0 IP6Tunnel publish=yes
Ok.






Do i have any mistakes? I use my wlan address at the local ipv6 192.168.1.2 . I can only access ipv6.google.com . My iphone and my other pc have the exact issue , so something must went wrong with the configuration

I 've tried it one more time with no luck . Also that last command has a different ip

netsh interface ipv6 set route ::/0 IP6Tunnel 2001:db8:7:a0a::1 publish=yes

it should be 8 instead of 7

cholzhauer

yeah, you shouldn't be getting those "element not found" responses

ravenstar

Can you post your route table?

netsh int ipv6 show routes

Edit BTW  If you are using a PC as the tunnel endpoint and you are advertising the route to other devices on the network you are in effect turning that PC into a defacto IPv6 router.

If possible I would do this on a machine that's wired to your network rather than using wireless.
My current setup is a Windows 8.1 PC hard-wired to a Virgin Media Super-hub 2.  The /64 is set up on the LAN but the advertisements are seen on Wired and wireless devices connected to the Super-hub.

Ravenstar