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

What am I missing in my IPv6 config script for Windows Server 2008?

Started by EmeraldCityKid, May 12, 2011, 01:02:00 PM

Previous topic - Next topic

EmeraldCityKid

I've been trying to configure my Windows Server 2008 system to hand out IPv6 addresses from my routed /64 to both my home network and my virtual network, but after trying the config script as it is currently, I've only got IPv6 connectivity for the server, but not for the other computers on my local network or the VPN clients... I'm curious to know what I'm missing in this config script, if anything and/or if I'm going about things the right way in the first place...

Here's the config script in it's current form, adjusted for readablity...

http://pastebin.com/Tcn2v9qX

If someone can figure out where I went wrong, and explain how I'd correct my script, I'd greatly appreciate it... Thanks in advance.

cholzhauer

Below is what a buddy of mine used on Vista...maybe it will help you


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:470:1f07:e9a::/64
Keep the prefix at 64
Add this gateway: 2001:470:1f06:e9a::1
Add this DNS server: 2001:470: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> 209.51.161.14
netsh interface ipv6 add address IP6Tunnel 2001:470:1f06:e9a::2
netsh interface ipv6 add route ::/0 IP6Tunnel 2001:470: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:470: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:470: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:470:7:a0a::1 publish=yes