IPv6 6to4 on Windows Server

dhcpipv6windows-server-2008-r2

I'm looking for a relatively simple guide to setting up an IPv6 tunnel properly.

This network currently has a server (Windows Server 2008R2) running RRAS that establishes connectivity to the internet using a demand-dial PPPoE connection and handles the NAT. It also hosts a DNS server and DHCP. My ISP does not support IPv6, but I have a static IPv4 address.

I've read about 6to4 and signed up at tunnelbroker.net, but quickly felt out of my depth. How do I configure my network to use it, and how I should configure my DHCP server with regards to IPv6 addresses?

Best Answer

I cannot test with Server 2008, but the following should work:

To add a tunnel from command line, run netsh and type:

interface ipv6

add v6v4tunnel Tunnelbroker localaddr=<local_v4_address> remoteaddr=<tunnel_v4_endpoint>

add address Tunnelbroker address=<client_v6_endpoint>
add address Tunnelbroker address=<routed_prefix>:1 

add route ::/0               interface=Tunnelbroker            publish=yes
add route <routed_prefix>/64 interface="Local Area Connection" publish=yes

set interface Tunnelbroker            forwarding=enabled
set interface "Local Area Connection" forwarding=enabled advertise=enabled

Replace <local_address> with the server's IPv4 address (the external one in your case with PPPoE, internal if the server itself is behind a NAT).

Replace <tunnel_endpoint> with the IPv4 address of your tunnel's server endpoint (given in the Tunnelbroker tunnel info page).

Replace <prefix> with your tunnel's IPv6 "Routed /64" prefix, for example, 2001:470:1f0b:614:: (given in the tunnel info page).


This only configures IPv6 Stateless Autoconfiguration. After the tunnel is created (the first 3 commands might be enough), you should be able to create DHCPv6 scopes in the DHCP management console. Someone who can test it on Server 2008 should expand this part...

Related Topic