我正在尝试设置实验室 IPv6 网络,并按以下方式进行。
- 我有一个设备,需要一个 IPv6 全局地址。
我已使用以下命令将我的 Windows-10 笔记本电脑配置为接入点:
netsh wlan set hostednetwork mode=allow ssid=ipv6-hotspot key="12345678" netsh wlan start hostednetwork
我已为 DHCPv6 服务器安装了 dibbler,其配置如下:
log-level 7 log-mode short iface "Local Area Connection* 3" { T1 1800 T2 2000 class { pool 2001:db8:1111::1-2001:db8:2222::ff } pd-class { pd-pool 2001:db8:1122::/48 pd-length 48 } option dns-server 2001:db8::1, 2001:db8::2 option domain ipv6.com, pinger.ipv6.com }
我没有在系统上安装 DNS 服务器 - 不确定如何使用 Windows DNS 服务器。
托管网络通过 WLAN 连接 - 我的子网仅使用 Wi-Fi 设备。
我可以为我的设备获取前缀(DHCPv6 前缀委派工作)和 IPv6 地址。
然而:
当我执行ping -6 2001:db8:1111:0100:0000:0000:0000:0004
(从设备的 DHCPv6 服务器获取)时,出现以下错误:
PING: transmit failed. General failure.
我的 ipconfig 如下所示:
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::ad12:52ad:e258:8cad%10
IPv4 Address. . . . . . . . . . . : 192.168.1.6
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
Wireless LAN adapter Local Area Connection* 3:
Connection-specific DNS Suffix . : ipv6.com
IPv6 Address. . . . . . . . . . . : 2001:db8:218d:5505:5189:27d2:2922:9563
Link-local IPv6 Address . . . . . : fe80::b4b0:39b1:844b:147b%11
IPv4 Address. . . . . . . . . . . : 192.168.173.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Tunnel adapter Local Area Connection* 5:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fd:1038:21db:3f57:fef9
Link-local IPv6 Address . . . . . : fe80::1038:21db:3f57:fef9%2
Default Gateway . . . . . . . . . :
Tunnel adapter isatap.{879E8F32-A273-4DE5-A08B-16AEC97153A9}:
我的route print -6
给了我:
===========================================================================
Interface List
22...34 e6 d7 23 65 97 ......Intel(R) Ethernet Connection I218-LM
7...a0 a8 cd 76 26 f5 ......Microsoft Wi-Fi Direct Virtual Adapter
10...a0 a8 cd 76 26 f4 ......Intel(R) Dual Band Wireless-AC 7260
11...a2 a8 cd 76 26 f4 ......Microsoft Hosted Network Virtual Adapter
1...........................Software Loopback Interface 1
2...00 00 00 00 00 00 00 e0 Microsoft Teredo Tunneling Adapter
13...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
18...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
2 306 2001::/32 On-link
2 306 2001:0:5ef5:79fd:1038:21db:3f57:fef9/128
On-link
11 281 2001:db8::/48 On-link
11 281 2001:db8:218d:5505:5189:27d2:2922:9563/128
On-link
10 266 fe80::/64 On-link
11 281 fe80::/64 On-link
2 306 fe80::/64 On-link
2 306 fe80::1038:21db:3f57:fef9/128
On-link
10 266 fe80::ad12:52ad:e258:8cad/128
On-link
11 281 fe80::b4b0:39b1:844b:147b/128
On-link
1 306 ff00::/8 On-link
10 266 ff00::/8 On-link
11 281 ff00::/8 On-link
2 306 ff00::/8 On-link
===========================================================================
Persistent Routes:
If Metric Network Destination Gateway
0 4294967295 2001:db8::/48 On-link
===========================================================================
子网上我的节点的链接ping -6
本地地址可以正常工作。但是,ping 提供的全局 IPv6 地址不起作用。
有人能帮我吗?请注意,我正在关闭Local Connection* 3
界面的 Windows Defender。