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