IPv6 Study Notes

1. Concept and current situation

  • IPv6 is the abbreviation of "Internet Protocol Version 6" (Internet Protocol Version 6) in English. It is the next-generation IP protocol designed by the Internet Engineering Task Force (IETF) to replace IPv4. Make up an address with a grain of sand.

  • The biggest problem of IPv4 is the insufficient network address resources, which seriously restricts the application and development of the Internet. The use of IPv6 can not only solve the problem of the number of network address resources, but also solve the obstacles for multiple access devices to connect to the Internet.

  • The Internet Assigned Numbers Authority (IANA) proposed to the Internet Engineering Task Force (IETF) in 2016 that the newly formulated international Internet standards only support IPv6 and are no longer compatible with IPv4.

  • Currently, newly installed broadband and mobile data networks in the country have IPv6 enabled and assigned IPv6 addresses.

2. Applicable scenarios

  All devices with public IPv6 are in a super LAN and can be connected and accessed directly through IPv6 addresses. For example: accessing the built website, logging in to the host remotely, connecting to Windows devices via remote desktop, accessing the NAS device at home, accessing the monitoring equipment at home, etc.

3. Address allocation

IPv6 address prefix Operator
2409 China Mobile
2408 China Unicom
240e China Telecom

4. Check whether you are connected to the IPv6 network

  1. In the [Command Prompt] or [Run] dialog box, enter: ncpa.cpl and press the Enter key to open the [Network Connection] folder. Find the network card connected to the Internet (both wired network card and wireless network card are possible), select and right-click, and select [Status] in the pop-up shortcut menu, and the following interface will pop up. If [IPv6 Connection] is [Internet], it means Already connected to an IPv6 network. If [IPv6 Connection] is [No Network Access], it means that you are not connected to the IPv6 network. Please check the relevant settings of the network device.

insert image description here

  Click [Details] to see the detailed parameters of the network, as shown below.

insert image description here

5. Query the IPv6 address of the machine

  • In the local command prompt, enter: ipconfig and press Enter. The following content will appear (irrelevant content has been hidden)
C:\Users\YangQun>ipconfig

Windows IP 配置

无线局域网适配器 WLAN:
   连接特定的 DNS 后缀 . . . . . . . :
   IPv6 地址 . . . . . . . . . . . . : 2409:8a3c:1e1d:6980:683f:9b5f:74ab:84db
   本地链接 IPv6 地址. . . . . . . . . : fe80::683f:9b5f:74ab:84db%18
   IPv4 地址 . . . . . . . . . . . . : 10.0.0.2
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . : fe80::1%18
                                       10.0.0.1
C:\Users\YangQun> 
  • Use a browser to open the IPv6 address query tool http://ip.zxinc.org/ipquery/

insert image description here

  Not only can it display IPv4 and IPv6 addresses, but it can also display the attribution and operator of the IP address and the User-Agent of the browser. Among them, the attribution of IPv4 is accurate to prefecture-level cities, and the address of IPv6 is accurate to counties (cities, districts).

6. Methods to access IPv6 resources

  • When using an IPv6 address for direct connection, the IPv6 address must be wrapped with [] to distinguish it from the port number.

  1. If the website or system is accessed through an IPv6 address, the format of the address is as follows:

http://[2409:8a3c:1e1d:6980:683f:9b5f:74ab:84db]/

http://[2409:8a3c:1e1d:6980:683f:9b5f:74ab:84db]:8080/

  2. Use the remote desktop connection that comes with the system. The address format is as follows: 4500 is the port number of the RDP service.

mstsc /v [2409:8a3c:1e1d:6980:683f:9b5f:74ab:84db]:4500 /admin /f

  The current problem is that the remote login credentials (password) cannot be saved and need to be entered manually each time to connect.

  • If you need to be accessed, you need to close the firewall on the optical modem. Uncheck [Ipv4Spi] and [Ipv6Spi], as shown in the figure below:

insert image description here

Guess you like

Origin blog.csdn.net/u011046671/article/details/131574311