首页 Cisco Windows Linux Java .Net 互联网 IT动态 网络设备 服务器 IDC IT技术 专题 培训 下载 搜索 虚拟考场 在线实验 远程培训 周刊 博客



 
标题: 如何在windows Vista and windows Server2008 中禁用IPv6(转)
juain (elliot)
助理工程师
Rank: 2Rank: 2



UID 699166
精华 0
积分 86
帖子 50
经验值 250 点
威望 0 级
阅读权限 20
注册 2006-8-4
来自 广东河源市
状态 离线
发表于 2007-7-5 13:12  资料  个人空间  主页 短消息  加为好友  QQ
如何在windows Vista and windows Server2008 中禁用IPv6(转)

Disabling IPv6Unlike Windows XP, IPv6 in Windows Vista and Windows Server 2008 cannot be uninstalled. To disable IPv6 on a specific connection, you can do the following:
In the Network Connections folder, obtain properties of the connection and clear the check box next to the Internet Protocol version 6 (TCP/IPv6) component in the list under This connection uses the following items. This method disables IPv6 on your LAN interfaces and connections, but does not disable IPv6 on tunnel interfaces or the IPv6 loopback interface.
To selectively disable Pv6 components and configure behaviors for IPv6 in Windows Vista, create and configure the following registry value (DWORD type):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tcpip6\Parameters\DisabledComponents
DisabledComponents is set to 0 by default.
The DisabledComponents registry value is a bit mask that controls the following series of flags, starting with the low order bit (Bit 0):
Bit 0 Set to 1 to disable all IPv6 tunnel interfaces, including ISATAP, 6to4, and Teredo tunnels. Default value is 0.
Bit 1 Set to 1 to disable all 6to4-based interfaces. Default value is 0.
Bit 2 Set to 1 to disable all ISATAP-based interfaces. Default value is 0.
Bit 3 Set to 1 to disable all Teredo-based interfaces. Default value is 0.
Bit 4 Set to 1 to disable IPv6 over all non-tunnel interfaces, including LAN interfaces and Point-to-Point Protocol (PPP)-based interfaces. Default value is 0.
Bit 5 Set to 1 to modify the default prefix policy table to prefer IPv4 to IPv6 when attempting connections. Default value is 0. For more information about the prefix policy table, see Source and Destination Address Selection for IPv6, the February 2006 The Cable Guy article.
To determine the value of DisabledComponents for a specific set of bits, construct a binary number consisting of the bits and their values in their correct position and convert the resulting number to hexadecimal. For example, if you want to disable 6to4 interfaces, disable Teredo interfaces, and prefer IPv4 to IPv6, you would construct the following binary number: 101010. When converted to hexadecimal, the value of DisabledComponents is 0x2A.
The following table lists some common configuration combinations and the corresponding value of DisabledComponents.
Configuration combinationDisabledComponents value
Disable all tunnel interfaces
0x1
Disable 6to4
0x2
Disable ISATAP
0x4
Disable Teredo
0x8
Disable Teredo and 6to4
0xA
Disable all LAN and PPP interfaces
0x10
Disable all LAN, PPP, and tunnel interfaces
0x11
Prefer IPv4 over IPv6
0x20
Disable IPv6 over all interfaces and prefer IPv4 to IPv6
0xFF
You must restart the computer for the changes to the DisabledComponents registry value to take effect.


Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1678267

顶部
 



当前时区 GMT+8, 现在时间是 2008-7-24 19:28
粤ICP备05089709

    中国IT实验室 @ 2001-2008 Chinaitlab.com

清除 Cookies - 联系我们 - 中国IT实验室 - Archiver - WAP