winxp下通过isatap方式和6to4方式上ipv6网站

本文介绍了在Windows XP SP2环境下如何安装和配置IPv6协议,包括使用ISATAP隧道连接到上海交通大学的IPv6路由器,以及通过6to4隧道进行配置。此外,还提供了调整IPv6优先级的步骤,以确保6to4隧道正常工作,并列举了几个IPv6测试网站。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

首先在winxp+SP2版本下要安装ipv6协议:

  Windows XP/2003 可能需要预先安装IPv6协议,设置如下:
运行 netsh
netsh>int
netsh interface>ipv6
netsh interface>ipv6>install
netsh interface ipv6>exit
重启计算机

                                           cmd->ipv6 uninstall (卸载ipv6协议)

一、ISATAP隧道

利用上海交通大学的router来上ipv6网站:
Windows XP/2003 设置如下:
开始---运行---cmd,在dos下,依次运行
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  enable  //isatap.sjtu.edu.cn  地址为上海交通大学路由器地址。

 

二、6to4隧道

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 ipv6-lab-gw.cisco.com enable

貌似是xp的bug,本来ipv6的优先级列表是这样的:

netsh interface ipv6>show prefix
正在查询活动状态...

优先顺序    标签   前缀
----------  -----  --------------------------------
         5      5  2001::/32
        10      4  ::ffff:0:0/96
        20      3  ::/96
        30      2  2002::/16
        40      1  ::/0
        50      0  ::1/128
但6to4的还是在ipv4之后,用命令:
netsh interface ipv6>set prefix ::1/128 50 0
确定。

netsh interface ipv6>set prefix ::/0 40 1
确定。

netsh interface ipv6>set prefix 2002::/16 30 1
确定。

netsh interface ipv6>set prefix ::/96 20 3
确定。

netsh interface ipv6>set prefix ::ffff:0:0/96 10 4
确定。

netsh interface ipv6>set prefix 2001::/32 5 5
确定。

netsh interface ipv6>show pref
正在查询活动状态...

优先顺序    标签   前缀
----------  -----  --------------------------------
         5      5  2001::/32
        10      4  ::ffff:0:0/96
        20      3  ::/96
        40      1  ::/0
        50      0  ::1/128
        30      1  2002::/16

netsh interface ipv6>
改过来即可。

(改teredo的优先级同理,2001::/32     = Teredo (IPv6))

三、IPv6测试网站:

www.kame.net

http://www.ipv6.org.tw/newc.php

http://www.youtube.com/

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值