IPv6路由不正确

我正在build立一个RRAS机器供我个人使用,供我的一些朋友使用。 我目前正在使用Windows Server 2012; 但是我已经在Windows Server 2008 R2上尝试了这一点。 两个系统都没有像预期的那样工作。

我试图让OpenVPN在Debian 6上工作,但没有运气。 最后,我希望有一些易于使用的客户端和工作的东西。

在我的RRAS机器上,我通过HE.netconfiguration了一个静态的IPv6地址。 (所有的IPv6访问都由CentOS 6虚拟机控制,并提供networking范围的IPv6连接)RRAS机器可以通过IPv6与VPN客户端和Internet / Intranet通信。 VPN客户端可以通过IPv4与Internet,Intranet和RRAS服务器通信; 但他们只能通过IPv6与RRAS服务器通话。 这导致我相信这是RRAS服务器上的路由问题。 此外,局域网(到RRAS服务器)不能通过IPv6 ping任何连接的VPN客户端,但可以ping通IPv4。

现在当前configuration

在我的CentOS虚拟机上,我将路由表configuration为正确的redirect到/ 48的RRAS服务器。

在我的RRAS服务器上,我将2001:XXX:XXXX:XXXX :: 1分配给它的接口,同样来自我的/ 48。

在RRAS控制台中,我将IPV6前缀设置为与接口前缀相同。 我还在局域网/拨号连接上启用了IPv6远程访问服务器和IPv6路由。

理论上IPv6应该在这一点上工作。 但是通过tracerts&pathpings,所有的响应都停在RRAS服务器的内部接口上。

通过netsh int ipv6,我有LAN连接和RRAS拨号连接设置为启用IPv6转发。

下面是服务器上的netsh int ipv6 show route&ipconfig / all(xxxx:yyyy和所用的所有点相同)

Publish Type Met Prefix Idx Gateway/Interface Name ------- -------- --- ------------------------ --- ------------------------ Yes Manual 256 ::/0 13 2001:470:89d1::1 No System 256 ::1/128 1 Loopback Pseudo-Interface 1 Yes System 256 2001:470:xxxx:yyyy::/64 13 Internet Yes Manual 256 2001:470:xxxx:yyyy::/64 21 RAS (Dial In) Interface No System 256 2001:470:xxxx:yyyy::/128 21 RAS (Dial In) Interface No System 256 2001:470:xxxx:yyyy::1/128 13 Internet No System 256 2001:470:xxxx:yyyy:86d:bb9c:f65e:3197/128 21 RAS (Dial In) Interface No System 256 fe80::/64 13 Internet No System 256 fe80::/64 21 RAS (Dial In) Interface No System 256 fe80::86d:bb9c:f65e:3197/128 21 RAS (Dial In) Interface No System 256 fe80::ad8b:7bf1:399b:581f/128 13 Internet No System 256 ff00::/8 1 Loopback Pseudo-Interface 1 No System 256 ff00::/8 13 Internet No System 256 ff00::/8 21 RAS (Dial In) Interface IPConfig PS C:\Users\Administrator> ipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : WIN-PJJOFHDSB3G Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : Yes WINS Proxy Enabled. . . . . . . . : No PPP adapter RAS (Dial In) Interface: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : RAS (Dial In) Interface Physical Address. . . . . . . . . : DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv6 Address. . . . . . . . . . . : 2001:470:xxxx:yyyy:86d:bb9c:f65e:3197(Preferred) Link-local IPv6 Address . . . . . : fe80::86d:bb9c:f65e:3197%21(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.2.2(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.255 Default Gateway . . . . . . . . . : DHCPv6 IAID . . . . . . . . . . . : 369101865 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-E7-DD-ED-00-0C-29-64-6D-AB DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1 fec0:0:0:ffff::2%1 fec0:0:0:ffff::3%1 NetBIOS over Tcpip. . . . . . . . : Enabled Ethernet adapter Internet: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection #2 Physical Address. . . . . . . . . : 00-0C-29-64-6D-B5 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv6 Address. . . . . . . . . . . : 2001:470:xxxx:yyyy::1(Preferred) Link-local IPv6 Address . . . . . : fe80::ad8b:7bf1:399b:581f%13(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.1.25(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 2001:470:xxxx::1 192.168.1.1 DNS Servers . . . . . . . . . . . : 2001:470:xxxx::1 192.168.1.3 Primary WINS Server . . . . . . . : 192.168.1.3 NetBIOS over Tcpip. . . . . . . . : Enabled 

在Win7客户端路由和IPconfig

 Publish Type Met Prefix Idx Gateway/Interface Name ------- -------- --- ------------------------ --- ------------------------ No Manual 256 ::/0 12 fe80::86d:bb9c:f65e:3197 No Manual 256 ::1/128 1 Loopback Pseudo-Interface 1 No Manual 8 2001:470:xxxx:yyyy::/64 12 VPN Connection No Manual 256 2001:470:xxxx:yyyy::/64 12 fe80::86d:bb9c:f65e:3197 No Manual 256 2001:470:xxxx:yyyy:d4a6:f3b8:b796:72/128 12 VPN Connection No Manual 256 fe80::/64 12 VPN Connection No Manual 256 fe80::d4a6:f3b8:b796:72/128 12 VPN Connection No Manual 256 ff00::/8 1 Loopback Pseudo-Interface 1 No Manual 256 ff00::/8 12 VPN Connection Windows IP Configuration Host Name . . . . . . . . . . . . : WIN-PPK6F59AAS4 Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : amwdrizz.com PPP adapter VPN Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : VPN Connection Physical Address. . . . . . . . . : DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv6 Address. . . . . . . . . . . : 2001:470:xxxx:yyyy:d4a6:f3b8:b796:72(Preferred) Link-local IPv6 Address . . . . . : fe80::d4a6:f3b8:b796:72%12(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.2.3(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.255 Default Gateway . . . . . . . . . : fe80::86d:bb9c:f65e:3197%12 0.0.0.0 DHCPv6 IAID . . . . . . . . . . . : 335678752 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-4F-B6-87-00-0C-29-AF-54-0F DNS Servers . . . . . . . . . . . : 2001:470:xxxx:yyyy::1 192.168.1.3 Primary WINS Server . . . . . . . : 192.168.1.3 NetBIOS over Tcpip. . . . . . . . : Enabled Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : amwdrizz.com Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection Physical Address. . . . . . . . . : 00-0C-29-AF-54-0F DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IPv4 Address. . . . . . . . . . . : 192.168.1.162(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Tuesday, April 02, 2013 1:15:47 PM Lease Expires . . . . . . . . . . : Wednesday, April 03, 2013 12:20:51 PM Default Gateway . . . . . . . . . : 192.168.1.1 DHCP Server . . . . . . . . . . . : 192.168.1.3 DNS Servers . . . . . . . . . . . : 192.168.1.3 Primary WINS Server . . . . . . . : 192.168.1.3 NetBIOS over Tcpip. . . . . . . . : Enabled 

我希望有足够的信息来帮助我。 我一直在回顾大量的文档,但遗憾的是,在IPv6和Windows 2008/2012中并没有太多的东西。

截至4/11/2013更新

我试图在接口之间添加邻居和路由。 但由于RRAS没有分配MAC地址,我无法为其添加邻居。

VPN客户端的问题仍然看到服务器,但没有看到任何东西通过IPv6的服务器。 仍然开放的build议!

 Yes System 256 2001:470:xxxx:yyyy::/64 13 Internet Yes Manual 256 2001:470:xxxx:yyyy::/64 21 RAS (Dial In) Interface 

您的Internet子网和RAS子网需要是不同的子网。 select一个,将其分配给您的RAS子网,并确保您的IPv6网关知道将该子网路由到您的RRAS服务器。