您的位置:首页 > 其它

怎样配置ipv6的ip地址

2010-05-27 16:52 337 查看
1安装ipv6的协议
在“开始”-----“运行”----“cmd”后回车,〖输入“netsh interface ipv6 install”
则安装成功(这适应windows 2003版本的)
卸载的时候用netsh interface ipv6 uninstall〗
【windows xp 可以用 ipv6 install。】
【卸载的时候用 ipv6 uninstall。】
2.手动配置ipv6的ip地址
使用手动地址配置 IPv6

打开

命令提示符

在命令提示符处,键入 netsh,然后按 Enter。
键入 interface ipv6,然后按 Enter。
键入 add address [interface=]String [address=]IPv6Address
其中:

[interface=]String
指定接口名称。
[address=]IPv6Address
指定 IPv6 地址。

实例是:

C:\>netsh
netsh>interface
netsh interface>ipv6
netsh interface ipv6>set address interface="aa" address=fec0::a
确定。
“aa”可以是本地连接。
3.用ipconfig /all 来查看你配置的ip地址.
Ethernet adapter aa:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.3.123
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IP Address. . . . . . . . . . . . : fec0::a%1
IP Address. . . . . . . . . . . . : 1111::124
IP Address. . . . . . . . . . . . : fe80::216:ecff:fe9a:595a%7
Default Gateway . . . . . . . . . : 192.168.3.1
假如是同一网段的可以ping通。

4.测试
C:\>ping fec0::b%1
Pinging fec0::b%1 from fec0::a%1 with 32 bytes of data:
Reply from fec0::b%1: time<1ms
Reply from fec0::b%1: time<1ms
Reply from fec0::b%1: time<1ms
Reply from fec0::b%1: time=3ms
Ping statistics for fec0::b%1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 3ms, Average = 0ms
有%号的时候,要加%。

本文出自 “浅浅的” 博客,请务必保留此出处http://2010guo.blog.51cto.com/1468636/322288
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: