Wednesday, April 24, 2024

Windows中访问IPv6网站的设置方法

Windows XP/Vista/7公网IPV6的设置方法:

1.点击“开始”“运行”,键入 cmd,“确定”
2.键入 ipv6 install 按回车 稍等片刻,显示安装成功(Vista/7用户可以忽略此步)
3.在命令提示行中依次输入下列命令:
C:Documents and SettingsAdministrator>netsh
netsh>interface
netsh interface>ipv6
netsh interface ipv6>isatap
netsh interface ipv6 isatap>set router 10.20.20.2
显示 “确定” 后关闭cmd。

只是在第三步中,把隧道服务器地址改一下,命令为:
netsh interface ipv6 reset
netsh interface ipv6 isatap set router isatap.sjtu.edu.cn (此处利用上海交大的IPV6通道,用其他高校通道亦可)

用记事本打开 C:WindowsSystem32driversetchosts 文件,再文件末尾加入相应的网站及IPv6地址列表即可。

如果上面的命令不行,用下面的命令 (我本人用了上面的命令就已经成功了,下面这段照发)

C:Documents and SettingsAdministrator>netsh
netsh>int
netsh interface>ipv6
netsh interface>ipv6>install (Vista/7用户可以忽略此步)
netsh interface ipv6>6to4
netsh interface ipv6 6to4>set relay 202.112.26.246 enable

附:上海交通大学网络中心ipv6-ISATAP隧道和6to4隧道测试方法
1. ISATAP隧道点IP地址是202.112.26.254

用户设置isatap隧道的终结点router为202.112.26.254

xp/win2003下设置如下

C:Documents and SettingsAdministrator>netsh

netsh>int

netsh interface>ipv6

netsh interface ipv6>isatap

netsh interface ipv6 isatap>set router 202.112.26.254

然后 ipconfig后应该看到一个3ffe:3217:ffff为前缀的v6地址,hostid为5efe:x.x.x.x,

其中x.x.x.x为你的真实的IPV4地址。

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

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

xp/win2003下设置如下

C:Documents and SettingsAdministrator>netsh

netsh>int

netsh interface>ipv6

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.