将路由器升级为支持 ipv6 的路由器、ipv6 隧道,并将所有家庭网络启用为 ipv6。除了 XP 模式下的 ipv6 之外,其他一切都运行正常。XP 模式直接使用 Win7 主机的 wifi 适配器。
在“ipv6 install”之后,我甚至无法 ping 通 localhost。在为 localhost 和 Win7 主机(在 LAN2 上)添加路由后,我可以 ping 通两者,但只能这样了。如何让数据包继续路由?尝试使用路由器的 ipv6 地址添加路由规则,但无法访问。“ipv6 nc”不显示来自家庭网络的单个 ipv6 地址。
我需要 XP 模式来测试很多 Windows 内容(现在包括 ipv6 内容),它包含在 Win7 许可证中,因此更改为其他内容并不是一个真正的选择。
更新:制作了全新的 XP Mode vm 进行测试。除了安装了 ipv6 之外,默认设置没有发生任何变化。如下所示:
C:\Documents and Settings\Administrator>ipconfig/all
Windows IP 配置
Host Name . . . . . . . . . . . . : IPV6-1
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : net.local
以太网适配器本地连接2:
Connection-specific DNS Suffix . : net.local
Description . . . . . . . . . . . : Intel 21140-Based PCI Fast Ethernet Adapter (Generic) #2
Physical Address. . . . . . . . . : 00-03-FF-E1-6C-89
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.123.252
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IP Address. . . . . . . . . . . . : fe80::203:ffff:fee1:6c89%5
Default Gateway . . . . . . . . . : 192.168.123.254
DHCP Server . . . . . . . . . . . : 192.168.123.254
DNS Servers . . . . . . . . . . . : 192.168.123.254
fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
Primary WINS Server . . . . . . . : 192.168.123.254
Lease Obtained. . . . . . . . . . : Tuesday, November 19, 2013 6:37:31 PM
Lease Expires . . . . . . . . . . : Wednesday, November 20, 2013 6:37:31 PM
C:\Documents and Settings\Administrator>路由打印
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 03 ff e6 6c 89 ...... Intel 21140-Based PCI Fast Ethernet Adapter (Generic) - Packet Scheduler Miniport
0x3 ...00 03 ff e1 6c 89 ...... Intel 21140-Based PCI Fast Ethernet Adapter (Generic) #2 - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.123.254 192.168.123.252 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.123.0 255.255.255.0 192.168.123.252 192.168.123.252 20
192.168.123.252 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.123.255 255.255.255.255 192.168.123.252 192.168.123.252 20
224.0.0.0 240.0.0.0 192.168.123.252 192.168.123.252 20
255.255.255.255 255.255.255.255 192.168.123.252 2 1
255.255.255.255 255.255.255.255 192.168.123.252 192.168.123.252 1
Default Gateway: 192.168.123.254
===========================================================================
Persistent Routes:
None
C:\Documents and Settings\Administrator>ipv6 nc
6: fe80::ffff:ffff:fffd 0.0.0.0:0 permanent
5: fe80::203:ffff:fee1:6c89 00-03-ff-e1-6c-89 permanent
4: fe80::203:ffff:fee6:6c89 incomplete
2: fe80::5efe:192.168.123.252 127.0.0.1 permanent
1: fe80::1 permanent
1: ::1 permanent
C:\Documents and Settings\Administrator>ipv6 如果
Interface 6: Teredo Tunneling Pseudo-Interface
Guid {DD5FD1F6-E257-47CB-9F44-57FF4738C478}
zones: link 6 site 3
cable unplugged
uses Neighbor Discovery
uses Router Discovery
routing preference 2
link-layer address: 0.0.0.0:0
preferred link-local fe80::ffff:ffff:fffd, life infinite
multicast interface-local ff01::1, 1 refs, not reportable
multicast link-local ff02::1, 1 refs, not reportable
link MTU 1280 (true link MTU 1280)
current hop limit 128
reachable time 18000ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 0
default site prefix length 48
Interface 5: Ethernet: Local Area Connection 2
Guid {E60C0BEF-BAE6-4E6A-929A-10DA739EB95F}
uses Neighbor Discovery
uses Router Discovery
link-layer address: 00-03-ff-e1-6c-89
preferred link-local fe80::203:ffff:fee1:6c89, life infinite
multicast interface-local ff01::1, 1 refs, not reportable
multicast link-local ff02::1, 1 refs, not reportable
multicast link-local ff02::1:ffe1:6c89, 1 refs, last reporter
link MTU 1500 (true link MTU 1500)
current hop limit 128
reachable time 17500ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 1
default site prefix length 48
Interface 4: Ethernet: Local Area Connection
Guid {FBF53FC5-3CEC-491A-AEF1-49918DBA552F}
zones: link 4 site 2
cable unplugged
uses Neighbor Discovery
uses Router Discovery
link-layer address: 00-03-ff-e6-6c-89
tentative link-local fe80::203:ffff:fee6:6c89, life infinite
multicast interface-local ff01::1, 1 refs, not reportable
multicast link-local ff02::1, 1 refs, not reportable
multicast link-local ff02::1:ffe6:6c89, 1 refs, last reporter
link MTU 1500 (true link MTU 1500)
current hop limit 128
reachable time 43500ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 1
default site prefix length 48
Interface 3: 6to4 Tunneling Pseudo-Interface
Guid {A995346E-9F3E-2EDB-47D1-9CC7BA01CD73}
does not use Neighbor Discovery
does not use Router Discovery
routing preference 1
link MTU 1280 (true link MTU 65515)
current hop limit 128
reachable time 39000ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 0
default site prefix length 48
Interface 2: Automatic Tunneling Pseudo-Interface
Guid {48FCE3FC-EC30-E50E-F1A7-71172AEEE3AE}
does not use Neighbor Discovery
does not use Router Discovery
routing preference 1
EUI-64 embedded IPv4 address: 0.0.0.0
router link-layer address: 0.0.0.0
preferred link-local fe80::5efe:192.168.123.252, life infinite
link MTU 1280 (true link MTU 65515)
current hop limit 128
reachable time 33500ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 0
default site prefix length 48
Interface 1: Loopback Pseudo-Interface
Guid {6BD113CC-5EC2-7638-B953-0B889DA72014}
zones: link 1 site 4
does not use Neighbor Discovery
does not use Router Discovery
link-layer address:
preferred link-local ::1, life infinite
preferred link-local fe80::1, life infinite
link MTU 1500 (true link MTU 4294967295)
current hop limit 128
reachable time 33500ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 0
default site prefix length 48
C:\Documents and Settings\Administrator>ipv6 -v rt
fe80::5efe:192.168.123.252/128 -> 2/fe80::5efe:192.168.123.252 pref 1if+4=5 life infinite (system)
fe80::ffff:ffff:fffd/128 -> 6/fe80::ffff:ffff:fffd pref 2if+4=6 life infinite (system)
ff00::/8 -> 5 pref 8 life infinite (system)
fe80::203:ffff:fee1:6c89/128 -> 5/fe80::203:ffff:fee1:6c89 pref 4 life infinite (system)
ff00::/8 -> 4 pref 8 life infinite (system)
fe80::203:ffff:fee6:6c89/128 -> 4/fe80::203:ffff:fee6:6c89 pref 4 life 0s (system)
::1/128 -> 1/::1 pref 4 life infinite (system)
ff00::/8 -> 1 pref 8 life infinite (system)
fe80::1/128 -> 1/fe80::1 pref 4 life infinite (system)
Ipv 在任何地方都能完美运行,但使用 ipv6 时我只能 ping 主机,甚至没有默认路由。其他人是否也遇到过这种情况,必须从路由开始手动配置一切?
至少,如果您可以提供系统上相同命令的打印输出,以便给我一些想法。
(有趣的是,尽管接口 5:以太网:本地连接 2 是连接的网络,但它甚至没有出现在路线打印输出中,实际上主机上有一个英特尔 Wifi Link 5300。)
答案1
IPV6 在 XP 模式中确实有效。加载没有问题http://ipv6.google.com或者http://test-ipv6.com/这里。
VM 网络:桥接(选择常规网络适配器,同一台主机用于所有操作)。
XP 模式内部:为本地连接安装了“Microsoft TCP/IP 版本 6”、基于 Intel 21140 的 PCI 快速以太网适配器。
路由器:我使用公共 6to4 隧道(192.88.99.1),没有配置 IPV6 DNS,因为我使用的 IPv4 可访问名称服务器返回 IPv6 地址(6to4 设置中的 IPV6 DNS 字段留空)。
不确定你哪里做错了。使用桥接适配器类似于拥有虚拟以太网交换机,并且虚拟机像任何其他本地机器一样连接到你的 LAN。
仔细检查无线路由器上是否存在某些安全设置,只为无线客户端提供一个 IP 地址(您的机器需要一个 IP 地址,每个设置为使用桥接网络连接的虚拟机都需要一个 IP 地址)。尝试有线连接并桥接,看看这是否是问题的根源。
IPCONFIG /ALL 的第一部分以及从 XP Mode VM 对路由器和 ipv6.google.com 进行 ping 操作。
C:\>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : VirtualXP-41525
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Broadcast
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : MyLocalNet
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : MyLocalNet
Description . . . . . . . . . . . : Intel 21140-Based PCI Fast Ethernet Adapter (Generic
Physical Address. . . . . . . . . : 00-03-FF-55-46-4B
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.108
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IP Address. . . . . . . . . . . . : 2002:18f6:3f2:1:a848:b95e:2b24:7b83
IP Address. . . . . . . . . . . . : 2002:18f6:3f2:1:203:ffff:fe55:464b
IP Address. . . . . . . . . . . . : fe80::203:ffff:fe55:464b%4
Default Gateway . . . . . . . . . : 192.168.0.1
fe80::218:e7ff:fef1:158e%4
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 206.248.154.22
206.248.154.170
fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
Lease Obtained. . . . . . . . . . : Tuesday, November 19, 2013 5:44:33 PM
Lease Expires . . . . . . . . . . : Wednesday, November 20, 2013 5:44:33 PM
C:\>ping6 fe80::218:e7ff:fef1:158e%4
Pinging fe80::218:e7ff:fef1:158e%4
from fe80::203:ffff:fe55:464b%4 with 32 bytes of data:
Reply from fe80::218:e7ff:fef1:158e%4: bytes=32 time<1ms
Reply from fe80::218:e7ff:fef1:158e%4: bytes=32 time<1ms
Reply from fe80::218:e7ff:fef1:158e%4: bytes=32 time<1ms
Reply from fe80::218:e7ff:fef1:158e%4: bytes=32 time<1ms
Ping statistics for fe80::218:e7ff:fef1:158e%4:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\>ping6 ipv6.google.com
Pinging ipv6.l.google.com [2607:f8b0:400b:80b::1013]
from 2002:18f6:3f2:1:a848:b95e:2b24:7b83 with 32 bytes of data:
Reply from 2607:f8b0:400b:80b::1013: bytes=32 time=76ms
Reply from 2607:f8b0:400b:80b::1013: bytes=32 time=100ms
Reply from 2607:f8b0:400b:80b::1013: bytes=32 time=56ms
Reply from 2607:f8b0:400b:80b::1013: bytes=32 time=35ms
Ping statistics for 2607:f8b0:400b:80b::1013:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 35ms, Maximum = 100ms, Average = 66ms
路由器 IPv6 配置
路由器 IPv6 状态