手动配置ipv6地址及删除ipv6地址的方法

admin 发表于 网络技术 分类,标签:
0

ipv6地址在“网络连接”的属性配置里是无法手工配置的,只能使用netsh配置。配置方法如下:

add address 7 2001:250:804:2001:216::157

#7在这里是网络连接标识,可以使用名字如“本地连接”,也可以使用索引号。

举个例子:

C:\Documents and Settings\wss8848>netsh
netsh>int ipv
netsh interface ipv6>sh int
正在查询活动状态…
索引 Met   MTU    状态          名称


—- —-  —–  ————  —–
  7     0   1500  已连接           本地连接
  6     0   1500  已连接           VMware Network Adapter VMnet1
  5     0   1500  已连接           VMware Network Adapter VMnet8
  4     2   1280  已断开           Teredo Tunneling Pseudo-Interface
  3     1   1280  已连接           6to4 Pseudo-Interface
  2     1   1280  已连接           Automatic Tunneling Pseudo-Interface
  1     0   1500  已连接           Loopback Pseudo-Interface

netsh interface ipv6>add address 7 2001:250:804:2001:216::157
确定。

netsh interface ipv6>^Z#quit或按Ctrl+Z退出

删除方法:

C:\Documents and Settings\wss8848>netsh
netsh>int
netsh interface>ipv6
netsh interface ipv6>delete address 7 2001:250:804:2001:216::157
确定。

netsh interface ipv6>^Z


发表我的评论

icon_wink.gif icon_neutral.gif icon_mad.gif icon_twisted.gif icon_smile.gif icon_eek.gif icon_sad.gif icon_rolleyes.gif icon_razz.gif icon_redface.gif icon_surprised.gif icon_mrgreen.gif icon_lol.gif icon_idea.gif icon_biggrin.gif icon_evil.gif icon_cry.gif icon_cool.gif icon_arrow.gif icon_confused.gif icon_question.gif icon_exclaim.gif 

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word