Art*_*ykh 6 networking router ipv6
考虑以下:
..
traceroute to ipv6.google.com (2a00:1450:4010:c03::66), 30 hops max, 16 byte packets
1 2a00:f480:4:184::1 (2a00:f480:4:184::1) 1.046 ms 0.546 ms 0.488 ms
2 2a00:f480:0:3::4:ff (2a00:f480:0:3::4:ff) 0.698 ms 0.877 ms 5.531 ms
3 2a00:f480:0:1::28 (2a00:f480:0:1::28) 1.024 ms 0.686 ms 0.642 ms
4 2a00:f480:0:1::23 (2a00:f480:0:1::23) 0.742 ms 1.045 ms 0.747 ms
5 2a00:f480:0:1:: (2a00:f480:0:1::) 8.804 ms 1.353 ms 1.019 ms
6 msk-ix-gw1.google.com (2001:7f8:20:101::244:232) 1.158 ms 1.588 ms 1.272 ms
7 2001:4860::1:0:2aae (2001:4860::1:0:2aae) 44.500 ms 16.706 ms 16.433 ms
8 2001:4860::8:0:59da (2001:4860::8:0:59da) 16.010 ms 16.414 ms 16.102 ms
9 2001:4860::2:0:2ab0 (2001:4860::2:0:2ab0) 22.574 ms 22.072 ms 16.521 ms
10 * *
Run Code Online (Sandbox Code Playgroud)
路由器是华硕RT-N56U(3.0.0.4.374_979固件[最新]),支持IPv6。
老实说,我不明白问题出在哪里 - 我有本机 IPv6,路由器支持 IPv6,并且似乎建立了正确的网络。然而,没有任何效果。
当我直接连接到互联网时,我的电脑上有以下设置:
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . : msu
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 74-D0-2B-96-15-D0
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2a00:f480:4:184:69c9:4031:9c54:5cca(Preferred)
IPv6 Address. . . . . . . . . . . : fd5e:6dc5:33b8::7(Preferred)
Lease Obtained. . . . . . . . . . : Thursday, February 13, 2014 11:29:11 PM
Lease Expires . . . . . . . . . . : Monday, March 23, 2150 6:02:10 AM
Temporary IPv6 Address. . . . . . : 2a00:f480:4:184:4108:dbdc:98cf:e2b4(Preferred)
Link-local IPv6 Address . . . . . : fe80::69c9:4031:9c54:5cca%3(Preferred)
IPv4 Address. . . . . . . . . . . : 89.249.166.212(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.248.0
Lease Obtained. . . . . . . . . . : Thursday, February 13, 2014 11:29:09 PM
Lease Expires . . . . . . . . . . : Friday, February 14, 2014 1:29:09 AM
Default Gateway . . . . . . . . . : fe80::215:c7ff:fe47:ec00%3
89.249.160.1
DHCP Server . . . . . . . . . . . : 89.249.160.1
DHCPv6 IAID . . . . . . . . . . . : 57987115
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-19-A7-83-47-74-D0-2B-96-15-D0
DNS Servers . . . . . . . . . . . : 93.180.4.5
Primary WINS Server . . . . . . . : 93.180.4.5
NetBIOS over Tcpip. . . . . . . . : Enabled
Run Code Online (Sandbox Code Playgroud)
当我通过路由器连接时,路由器的设置是
IPv6 Connection Type: Native with DHCP-PD
WAN IPv6 Address: 2a00:f480:4:184:da50:e6ff:fe95:e730/64
WAN IPv6 Gateway: fe80::215:c7ff:fe47:ec00
LAN IPv6 Address: /64
LAN IPv6 Link-Local Address: fe80::da50:e6ff:fe95:e731/128
DHCP-PD: Enabled
LAN IPv6 Prefix: /64
DNS Address:
Run Code Online (Sandbox Code Playgroud)
以及我的电脑上的以下设置:
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 74-D0-2B-96-15-D0
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : fd5e:6dc5:33b8::7(Preferred)
Lease Obtained. . . . . . . . . . : Thursday, February 13, 2014 11:29:11 PM
Lease Expires . . . . . . . . . . : Monday, March 23, 2150 6:28:23 AM
Link-local IPv6 Address . . . . . : fe80::69c9:4031:9c54:5cca%3(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.14(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, February 13, 2014 11:35:41 PM
Lease Expires . . . . . . . . . . : Friday, February 14, 2014 11:58:19 PM
Default Gateway . . . . . . . . . : fe80::da50:e6ff:fe95:e731%3
192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 57987115
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-19-A7-83-47-74-D0-2B-96-15-D0
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Run Code Online (Sandbox Code Playgroud)
一切看起来都很好。我可以 ping 我的路由器:
ping fe80::da50:e6ff:fe95:e731
Pinging fe80::da50:e6ff:fe95:e731 with 32 bytes of data:
Reply from fe80::da50:e6ff:fe95:e731: time<1ms
Reply from fe80::da50:e6ff:fe95:e731: time<1ms
Reply from fe80::da50:e6ff:fe95:e731: time<1ms
Reply from fe80::da50:e6ff:fe95:e731: time<1ms
Run Code Online (Sandbox Code Playgroud)
但无法从外部世界 ping 任何内容(但是,名称似乎已解析):
ping ipv6.google.com
Pinging ipv6.l.google.com [2a00:1450:4010:c03::66] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Run Code Online (Sandbox Code Playgroud)
您的路由器似乎已成功使用 IPv6 路由器发现和无状态地址自动配置 (SLAAC) 来获取自己的 WAN IPv6 地址。然而,它似乎没有成功使用 DHCP-PD,因此它不知道应该向其“LAN”端的 IPv6 客户端通告什么 IPv6 前缀。如果 LAN 端没有单独的 IPv6 前缀(上游网络知道路由到其 WAN 接口),则它无法充当 LAN 和 WAN 之间的路由器。
DHCP-PD 中的 PD 代表“前缀委派”。这是 DHCP 的一个特殊用例,其中 IPv6 路由器可以要求 DHCP 服务器委托一个 IPv6 前缀供路由器使用。使用 DHCP-PD 的支持 IPv6 的 ISP 必须确保其 DHCP 服务器知道如何将前缀委托给路由器,并且还知道如何通知 ISP 的路由层给定的前缀已委托给给定的路由器,以便 ISP 的路由表得到更新并开始将该前缀的流量转发到该路由器。
您的下一步是与您的 ISP 联系,了解他们到底提供哪种本机 IPv6 服务。他们真的准备进行 DHCP-PD 吗?或者他们是否希望您通过他们的客户服务网站手动请求前缀,并将其手动输入到您的路由器中,而不是通过 DHCP-PD 自动委派?或者他们可能根本不支持客户拥有自己的 IPv6路由器;也许它们只支持单个 IPv6 主机,而不支持路由整个前缀的路由器?
如果他们说 DHCP-PD 应该可以工作,您可以在华硕路由器的 WAN 端设置一个数据包嗅探器并捕获其 DHCP-PD 尝试,看看它们的格式是否正确,以及是否得到任何响应来自 ISP 的 DHCP 服务器,以及这些响应的格式是否正确。