why teredo IP Address keep changing?

I managed to configure teredo on windows 7 but I come up with one problem ... teredo IP address keep changing . I noticed that terendo stat keep change too , it moving from dormant to enabled and vica versa

when I run (ipconfig /all) it give me :

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

and if I running it again after a while it give me :

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

note that ip version 6 of the teredo interface changed . why this happening ? and how to solve this ? ( I'm behind a NAT if this make any difference )

thanks

UPDATE :

I believe my ip address and port number is not changing , the things that changes is the state of teredo ... I noticed that teredo interface ip number not changing directly , but it's state moving to disabled ( or offline or whatever state) then it restart with new IP address ... is this the default behavior or something wrong (in the RFC nothing mentioned about that)

this is ipconfig /all command output that show the state of the teredo before the IP get changed :

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
0
задан 31 May 2016 в 21:34
1 ответ

Teredo - это протокол, который туннелирует IPv6-трафик через UDP на IPv4 к серверу Teredo, который затем направляет IPv6-трафик в Интернет, или обратно к вам.

Получаемый вами IPv6-адрес Teredo кодирует IPv4-адрес сервера Teredo и UDP-порт для вашего конкретного туннельного соединения. Например, в первом случае , ваш адрес Teredo кодирует IPv4-адрес сервера Teredo 65.55.158.116 и UDP-порт 59132. Во втором случае IPv4-адрес тот же самый, но UDP-порт 60204. Таким образом, мы можем сказать, что ваш туннель отключился и снова подключился хотя бы один раз.

Teredo также кодирует IPv4 RFC1918 адрес локальной машины, который в вашем случае 192.168.8.102.

Все это необходимо для того, чтобы протокол Teredo корректно маршрутизировал пакеты через NAT.

Кроме того, по каждому адресу устанавливаются флаги случайных адресов, в результате чего IP-адрес имеет любое из 4096 возможных значений на одну комбинацию Teredo сервер/Порт UDP. Это обеспечивает меру сопротивления сканированию IPv6-адресов, что в противном случае было бы тривиально для соединений Teredo.

Тередо полностью объясняется в RFC 5991, случайные флаги в разделе 3.1, и соображения безопасности в разделе 4.

.
3
ответ дан 4 December 2019 в 12:23

Теги

Похожие вопросы