Windows Server上的IPv6 6to4

我正在寻找一个相对简单的指南来正确设置IPv6隧道。

该networking当前有一台运行RRAS的服务器(Windows Server 2008R2),它使用请求拨号PPPoE连接build立与互联网的连接并处理NAT。 它还承载一个DNS服务器和DHCP。 我的ISP不支持IPv6,但我有一个静态的IPv4地址。

我已经读了6to4,并在tunnelbroker.net注册,但很快感到我的深度。 如何configuration我的networking使用它,以及如何configuration我的DHCP服务器的IPv6地址?

我无法使用Server 2008进行testing,但以下内容可以正常工作:

要从命令行添加隧道,请运行netsh并input:

接口ipv6

添加v6v4tunnel Tunnelbroker localaddr = <local_v4_address> remoteaddr = <tunnel_v4_endpoint>

添加地址Tunnelbroker地址= <client_v6_endpoint>
添加地址Tunnelbroker地址= <routed_prefix> :1 

 add route :: / 0 interface = Tunnelbroker publish = yes
添加路由<routed_prefix> / 64 interface =“本地连接”publish = yes

设置接口Tunnelbroker forwarding = enabled
设置接口“本地连接”转发=启用advertise =启用

<local_address>replace为服务器的IPv4地址(如果服务器本身位于NAT后面,则使用PPPoE中的外部地址)。

<tunnel_endpoint>replace为隧道服务器端点的IPv4地址(在Tunnelbroker隧道信息页面中给出)。

<prefix>replace为隧道的IPv6“路由/ 64”前缀,例如, 2001:470:1f0b:614:: :(在隧道信息页面中给出)。


这仅configurationIPv6无状态自动configuration。 在创build隧道之后(前三个命令可能就足够了),您应该能够在DHCPpipe理控制台中创buildDHCPv6范围。 有人可以在Server 2008上testing它应该扩展这个部分…