默认情况下,一旦加载了ipv6模块,系统会自动给网卡配置好ipv6的本地链路地址(link local address),这里地址的特点是以[fe80::]开头。如果机器所接入的网络中,有支持ipv6的路由器,并且该路由器配置的是无状态地址自动配置,那么系统还会自动给网卡配置一个全球地址(Global Address)。本地链路地址是本地链路中唯一的,全球地址是全球IPv6网络中唯一的。
PING 2001:250:3000:1::1:2(2001:250:3000:2::1:1) 56 data bytes
64 bytes from 2001:250:3000:1::1:2: icmp_seq=1 ttl=64 time=0.082 ms
64 bytes from 2001:250:3000:1::1:2: icmp_seq=2 ttl=64 time=0.058 ms
这就表明这两个节点之间的ipv6网络连通性正常。
4.配置静态路由表
route -A inet6(可以查看ipv6的静态路由表);
route -A inet6 add default gw 2001:250:3000:2:2c0:95ff:fee0:473f(在系统的静态路由表里面加上一条静态路由记录)
1.Save the file tpipv6-001205.exe from the download page to a local folder (for example, C:\IPv6TP).
2.From the local folder (C:\IPv6TP), run Tpipv6-001205.exe and extract the files to the same location.
3.From the local folder (C:\IPv6TP), run Setup.exe -x and extract the files to a subfolder of the current folder (for example, C:\IPv6TP\files).
4.From the folder containing the extracted files (C:\IPv6TP\files), open the file Hotfix.inf in a text editor.
5.In the [Version] section of the Hotfix.inf file, change the line NTServicePackVersion=256 to NTServicePackVersion=1024, and then save changes.
6.From the folder containing the extracted files (C:\IPv6TP\files), run Hotfix.exe.
7.Restart the computer when prompted.
8.After the computer is restarted, continue installing the Microsoft IPv6 Technology Preview for Windows 2000 starting at step 3 of the “Installing the IPv6 Technology Preview for Windows 2000“ section of either the Introduction to the Microsoft IPv6 Technology Preview for Windows 2000 or the Readme.htm file in the folder containing Setup.exe (C:\IPv6TP).
2.安装配置
完成了准备工作之后,还需要给以太网卡添加IPv6协议族,这里也摘录部分原文。
1.From the Windows 2000 desktop, click Start, point to Settings, and then click Network and Dial-up Connections. As an alternative, you can right-click My Network Places, and then click Properties.
2.Right-click the Ethernet-based connection to which you want to add the IPv6 protocol, and then click Properties. Typically, this connection is named Local Area Connection.
3.Click Install.
4.In the Select Network Component Type dialog box, click Protocol, and then click Add.
5.In the Select Network Protocol dialog box, click Microsoft IPv6 Protocol and then click OK.
6.Click Close to close the Local Area Connection Properties dialog box.
3.测试网络连通性
测试的前题条件与之前在Linux环境下的配置类似。
Windows NT系列的操作系统中,一个网卡可以对应于多个接口(interface),一个interface对应一个ipv6地址,Windows 2000 Server也是如此。因此,当一个网卡通常具有多个ipv6地址的时候(至少有本地链路地址,通常还有站点地址,全球地址,ipv4向ipv6过渡阶段的过渡型地址),Windows 2000 Server就用多个interface来对应之,一般情况下一个网卡有4个interface。而其中之一对应的是全球地址,在手动给网卡配置全球地址的时候也要注意对应该接口,该接口的特点是其描述包含“本地连接”或“Local Area Connection”的关键字。