AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 779880
Accepted
mahmoud nezar sarhan
mahmoud nezar sarhan
Asked: 2016-05-31 12:06:56 +0800 CST2016-05-31 12:06:56 +0800 CST 2016-05-31 12:06:56 +0800 CST

为什么 teredo IP 地址不断变化?

  • 772

我设法在 Windows 7 上配置了 teredo,但我遇到了一个问题…… teredo IP 地址不断变化。我注意到 terendo stat 也在不断变化,它从休眠状态变为启用状态,反之亦然

当我运行(ipconfig / all)时,它给了我:

Windows IP Configuration

   Host Name . . . . . . . . . . . . : mahmoud-PC
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek RTL8723AE Wireless LAN 802.11n PC
I-E NIC
   Physical Address. . . . . . . . . : 20-16-D8-E0-25-2A
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::bc13:29c3:a8c3:c74a%14(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.8.102(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 30 أيار, 2016 07:16:29 م
   Lease Expires . . . . . . . . . . : 31 أيار, 2016 07:16:29 م
   Default Gateway . . . . . . . . . : 192.168.8.1
   DHCP Server . . . . . . . . . . . : 192.168.8.1
   DHCPv6 IAID . . . . . . . . . . . : 371201752
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-CA-DC-A6-58-2C-80-13-92-63

   DNS Servers . . . . . . . . . . . : 192.168.8.1
                                       192.168.8.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{5B08C959-60F6-48C1-BD72-E0E7F1323658}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e74:1c26:1903:3f57:f799(Pref
erred)
   Link-local IPv6 Address . . . . . : fe80::1c26:1903:3f57:f799%15(Preferred)
   Default Gateway . . . . . . . . . : ::
   NetBIOS over Tcpip. . . . . . . . : Disabled

如果我在一段时间后再次运行它,它会给我:

Windows IP Configuration

   Host Name . . . . . . . . . . . . : mahmoud-PC
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek RTL8723AE Wireless LAN 802.11n PC
I-E NIC
   Physical Address. . . . . . . . . : 20-16-D8-E0-25-2A
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::bc13:29c3:a8c3:c74a%14(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.8.102(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 30 أيار, 2016 07:16:29 م
   Lease Expires . . . . . . . . . . : 31 أيار, 2016 07:16:29 م
   Default Gateway . . . . . . . . . : 192.168.8.1
   DHCP Server . . . . . . . . . . . : 192.168.8.1
   DHCPv6 IAID . . . . . . . . . . . : 371201752
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-CA-DC-A6-58-2C-80-13-92-63

   DNS Servers . . . . . . . . . . . : 192.168.8.1
                                       192.168.8.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{5B08C959-60F6-48C1-BD72-E0E7F1323658}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e74:10f6:14d3:3f57:f799(Pref
erred)
   Link-local IPv6 Address . . . . . : fe80::10f6:14d3:3f57:f799%15(Preferred)
   Default Gateway . . . . . . . . . : ::
   NetBIOS over Tcpip. . . . . . . . : Disabled

请注意,teredo 接口的 ip 版本 6 已更改。为什么会这样?以及如何解决这个问题?(如果这有什么不同,我在 NAT 后面)

谢谢

更新 :

我相信我的IP地址和端口号没有改变,改变的是teredo的状态......我注意到teredo接口IP号没有直接改变,但它的状态移动到禁用(或离线或任何状态)然后它使用新的 IP 地址重新启动...这是默认行为还是有问题(在 RFC 中没有提及)

这是显示 IP 更改前 teredo 状态的 ipconfig /all 命令输出:

Windows IP Configuration

   Host Name . . . . . . . . . . . . : mahmoud-PC
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek RTL8723AE Wireless LAN 802.11n PC
I-E NIC
   Physical Address. . . . . . . . . : 20-16-D8-E0-25-2A
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::bc13:29c3:a8c3:c74a%14(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.8.100(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 31 أيار, 2016 08:16:34 م
   Lease Expires . . . . . . . . . . : 01 حزيران, 2016 08:19:06 م
   Default Gateway . . . . . . . . . : 192.168.8.1
   DHCP Server . . . . . . . . . . . : 192.168.8.1
   DHCPv6 IAID . . . . . . . . . . . : 371201752
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-CA-DC-A6-58-2C-80-13-92-63

   DNS Servers . . . . . . . . . . . : 192.168.8.1
                                       192.168.8.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{5B08C959-60F6-48C1-BD72-E0E7F1323658}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
nat ipv6 teredo
  • 1 1 个回答
  • 1086 Views

1 个回答

  • Voted
  1. Best Answer
    Michael Hampton
    2016-05-31T12:58:27+08:002016-05-31T12:58:27+08:00

    Teredo 是一种协议,它通过 IPv4 上的 UDP 将 IPv6 流量传送到 Teredo 服务器,然后将 IPv6 流量转发到 Internet,或返回给您。

    您收到的 Teredo IPv6 地址对 Teredo 服务器的 IPv4 地址和特定隧道连接的 UDP 端口进行编码。如果隧道断开并重新连接,这些可能会改变。

    例如,在第一种情况下,您的 Teredo 地址将 Teredo 服务器 IPv4 地址编码为 65.55.158.116 和 UDP 端口 59132。在第二种情况下,IPv4 地址相同,但 UDP 端口为 60204。所以,我们可以看出您的隧道至少断开连接并重新连接一次。

    Teredo 还对本地机器的 IPv4 RFC1918 地址进行编码,在您的情况下为 192.168.8.102。

    为了使 Teredo 协议通过您的 NAT 正确路由数据包,所有这些都是必需的。

    此外,在每个地址上设置随机地址标志,导致每个 Teredo 服务器/UDP 端口组合的 IP 地址具有 4,096 个可能值中的任何一个。这提供了一种抵抗 IPv6 地址扫描的措施,否则这对于 Teredo 连接来说是微不足道的。

    Teredo 在RFC 5991中、第 3.1 节中的随机标志和第 4 节中的安全注意事项中进行了全面解释。

    • 4

相关问题

  • 为 Cisco ASA 5510 上的端口 443/80 创建 NAT 规则和安全策略

  • Linux 路由器上的 NAT GRE(IP 协议 47)

  • OCS 2007 R2 A/V NAT - 外部客户端尝试内部 IP

  • 为什么我无法从我的win2008 NAT 后面连接到某些ftp 服务器?

  • 隧道 Xbox 网络流量 [关闭]

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve