淘主机 发表于 2010-11-4 10:57:27

Windows XP_2003操作系统下IPv6配置方法

在通常使用的Windows操作系统中,Windows XP和Windows Server 2003能够直接支持IPv6,而Windows 2000则需要另外安装插件才可以支持。下面以Windows XP操作系统为例,描述通过校园网接入IPv6环境的配置方法。Windows XP在默认状态下不安装IPv6协议,有两种方法可以在Windows XP中安装协议:
============================================
Windows XP(SP1+):

netsh interface ipv6 install
netsh interface ipv6 set teredo client

若想用微软的服务器,可以用下面的命令:
netsh interface ipv6 set teredo client teredo.ipv6.microsoft.com.

公共Teredo服务器地址列表
* teredo.remlab.net / teredo-debian.remlab.net (法国) (Miredo 默认设置)
* teredo.autotrans.consulintel.com (西班牙)
* teredo.ipv6.microsoft.com (美国 雷蒙德) (Windows XP/2003/Vista/7/2008 系统默认设置)
* teredo.ngix.ne.kr (韩国)
* teredo.managemydedi.com (美国 芝加哥)
打开浏览器,输入网址: ipv6.google.com 并回车,你看到了什么?
                                                                              

















淘主机 发表于 2010-11-4 11:07:06

ISATAP IPv6 隧道接入方式

1. ISATAP隧道点IP地址是 isatap.sjtu.edu.cn

用户设置isatap隧道的终结点router为 isatap.sjtu.edu.cn

Windows XP/2003 设置如下:
点击“开始”-“运行”打开运行窗口,输入cmd 回车
然后 C:\Documents and Settings\Administrator> ipv6 install
回车添加ipv6协议,下来添加隧道。
C:\Documents and Settings\Administrator>netsh
netsh>int
netsh interface>ipv6
netsh interface>ipv6>install
netsh interface ipv6>isatap
netsh interface ipv6 isatap>set router isatap.sjtu.edu.cn
---------------------------------------------------------------------
使用上海交大的隧道服务
C:>netsh
netsh>int
netsh interface>ipv6
netsh interface>ipv6>install
netsh interface ipv6>isatap
netsh interface ipv6 isatap>set router 202.112.26.254
使用清华大学的隧道服务
C:>netsh
netsh>int
netsh interface>ipv6
netsh interface ipv6>isa
netsh interface ipv6 isatap>set router 59.66.17.202 enabled
netsh interface ipv6 isatap>ipv6
netsh interface ipv6>set route prefix=::/0 interface="Automatic Tunneling Pseudo-Interface" nexthop=fe80::5efe:59.66.17.202 metric=100

台湾某运营商,公网推荐用这个
C:>netsh
netsh>int
netsh interface>ipv6
netsh interface>ipv6>install
netsh interface ipv6>isatap
netsh interface ipv6 isatap>set router tb.ipv6.apol.com.tw
---------------------------------------------------------------------

Vista 设置如下:
鼠标右键点击“开始->程序->附件->命令提示符”,选择“以管理员身份运行”。
在新开启的【命令提示符】窗口中执行以下两条命令:
netsh interface ipv6 isatap set router isatap.sjtu.edu.cn
netsh interface ipv6 isatap set state enabled
(部分Vista系统的电脑会在本地LAN中发出IPv6 RA,导致相邻用户不走隧道,此时最好在本地网卡上禁用IPv6选项)
-----------------------------------------------------------------------
Linux 设置如下:
ip tunnel add sit1 mode sit remote 202.120.58.150 local a.b.c.d
ifconfig sit1 up
ifconfig sit1 add 2001:da8:8000:d010:0:5efe:a.b.c.d/64
ip route add ::/0 via 2001:da8:8000:d010::1 metric 1
注意: 上面的 a.b.c.d 请使用你的真实IPv4地址代替
-----------------------------------------------------------------------
配置好之后 ipconfig后应该看到一个2001:da8:8000:d010 为前缀的v6地址,hostid为5efe:a.b.c.d,其中a.b.c.d为你的真实的IPV4地址。

推荐使用ISATAP隧道方式接入,不要和下面的另一种6to4隧道同时使用。



2. 网络中心6to4隧道点IP地址是202.112.26.246

如果您无法使用ISATAP方式接入,可以考虑使用这种方式。

用户设置6to4隧道的终结点relay为202.112.26.246

Windows XP/2003 设置如下:
C:\Documents and Settings\Administrator>netsh
netsh>int
netsh interface>ipv6
netsh interface>ipv6>install
netsh interface ipv6>6to4
netsh interface ipv6 6to4>set relay 202.112.26.246 enable

然后 ipconfig后应该看到一个2002:xx:xx为前缀的v6地址,hostid亦为xx:xx,

其中xx.xx为你的真实的IPV4地址转化成得ipv6地址。

自动获得的默认网关是2002:ca70:1af6::ca70:1af6               

淘主机 发表于 2010-11-4 11:08:44

WIN7及XP系统下固定“个性化”IPv6地址教程WIN7环境

1.开始菜单-写入cmd-右键选择以管理员身份运行cmd,或者直接按windows徽标键+r
在弹窗里依次敲入以下每个命令并回车,正常情况下会返回三个“确定”结果。
C:\>netsh
netsh interface ipv6 set teredo disable
netsh interface ipv6 isatap set state disable
netsh interface ipv6 set privacy disable
2.由快速连接处进入网络共享中心(Open Network and Sharing Center)
3.点击进入本地连接(Local Area Connection),点击属性(Properties)
4.选择Internet proctocol Version(TCP/IPv6)协议,点属性
5.在IPv6地址设置里面,网关和DNS等不需改动,只需要填入自己想固定的IP,如2001:da
8:1007:XXXX:YYYY:YYYY:YYYY:YYYY。说明一下,XXXX应该与原来的ipv6地址一致,2001:
da8:1007号段属于南大,你原来的XXXX代表你所在的楼宇节点,四个YYYY可以自我设定,
可以非常个性化,但是最好不要不填或者都只填某个简单数字,只要不占用网关或与他人
冲突,系统就会接受。建议事先确定好IP,别重复操作。
6.重启。再次进入cmd,敲入ipconfig,回车,你所设定的IP应该处在v6地址的第一位了
如此,固定成功。

XP环境:

1.开始菜单-运行-cmd(也需要管理员权限)
在弹窗中敲入以下命令
C:\>netsh
netsh>interface ipv6
netsh interface ipv6>add address "本地连接" 2001:da8:1007:XXXX:YYYY:YYYY:YYYY:YYYY
回车,系统应该返回“确定”。
注意引号的中英文标点,应在英文状态下输入,本地连接四个字是中文,XXXX和YYYY意义
同上。

2.重启电脑,再次进入cmd,敲入ipconfig,回车,你所设定的IP也应该处在v6地址的第一
位了。      

淘主机 发表于 2010-11-4 11:11:45

微软官方IPv6介绍页面:
http://www.microsoft.com/china/windowsserver2003/techinfo/overview/ipv6faq.mspx
页: [1]
查看完整版本: Windows XP_2003操作系统下IPv6配置方法