我设法在 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