zoukankan      html  css  js  c++  java
  • 在 Windows 7 中禁用IPv6协议/IPv6隧道

    How to disable certain Internet Protocol version 6 (IPv6) components in Windows Vista, Windows 7 and Windows Server 2008
    http://support.microsoft.com/kb/929852/

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpip6Parameters
    双击 DisabledComponents 来修改 DisabledComponents 项。
    如果 DisabledComponents 项不可用, 则必须创建它,为 DWORD (32 - bit) 值。

    键入下列任何之一值来配置 IPv 6 协议, 然后单击 确定 :

    类型 0 要启用所有 IPv 6 组件。 注意 : 值 " 0 " 是默认设置。
    类型 0xffffffff 要禁用所有 IPv 6 组件, 除 IPv 6 环回接口。 此值也将 WindowsVista 以使用 Internet 协议版本 4 (IPv 4) 代替 IPv 6 前缀策略中。
    类型 0x20 以前缀策略中使用 IPv 4 而不是 IPv 6。
    类型 0x10 要禁用本机 IPv 6 接口。
    类型 0x01 要禁用所有隧道 IPv 6 接口。
    类型 0x11 要禁用除用于 IPv 6 环回接口所有 IPv 6 接口。

    注意 您必须重新启动计算机才能使这些更改影响。

     

    Windows 7下关闭IPV6隧道
    http://soft.chinabyte.com/os/285/11355785.shtml
    IPv6隧道是将IPv6报文封装在IPv4报文中,让IPv6数据包穿过IPv4网络进行通信。对于采用隧道技术的设备来说,在隧道的入口处,将IPv6的数据报封装进IPv4,IPv4报文的源地址和目的地址分别是隧道入口和隧道出口的IPv4地址。

    我们可以通过手动关闭IPv6隧道。
      netsh interface teredo set state disable
      netsh interface 6to4 set state disabled
      netsh interface isatap set state disabled

    若想还原IPv6隧道则用以下命令:
      netsh interface teredo set state default
      netsh interface 6to4 set state default
      netsh interface isatap set state default


  • 相关阅读:
    27. Remove Element
    26. Remove Duplicates from Sorted Array
    643. Maximum Average Subarray I
    674. Longest Continuous Increasing Subsequence
    1. Two Sum
    217. Contains Duplicate
    448. Find All Numbers Disappeared in an Array
    566. Reshape the Matrix
    628. Maximum Product of Three Numbers
    UVa 1349 Optimal Bus Route Design (最佳完美匹配)
  • 原文地址:https://www.cnblogs.com/moqiang02/p/4061394.html
Copyright © 2011-2022 走看看