Last few weeks, I received a message that IPV4 has been used up, and I need to adapt IPV6. I saw the following display of various applications that support IPV6. As a mobile developer, I am thinking about how to support IPV6.
There is too little information on the Internet for Android to support IPV6, so I found a lot of information to solve this problem, Very Happy, so I would like to share the research process.
The results are as follows
Request IPV6 Interface (Unicom card)
IPV6 interface Wifi mode
The reason for
IOS has been forced to support IPV6 in 2016, but now with the increase of Internet devices, IPV4 has been exhausted, Android needs to support, it is suggested to use Mac to simulate IPV6 Only signal, IOS app can normally access the network. However, when I accessed Android, I couldn’t connect to it, and then I used Alipay, Zhihu and other applications that already support IPV6, but I found that they couldn’t access it properly, and then I was puzzled.
Research with questions in mind
- IPV6 network interface (because IPV6 domain name resolution mode is AAAA and IPV4 domain name resolution mode is A)
- IPV6 carrier or Wifi support (Wifi released by Mac cannot be supported, and finally found that The Unicom SIM card can support IPV6)
- Network framework supporting network request (okHTTP network framework is used in our application, supporting IPV4+IPV6 mode)
- Whether the IPV4 and IPV6 modes are compatible, and whether you can access only IPV6 or IPV4 preferentially
Then I read the wiki and related articles about IPV6 and found that DHCPV6 IP mode was needed, but my OnePlus 6 did not have this mode. I wondered whether the manufacturer did not support this mode, and whether it was stuck in the direction of hardware that could not be carried out. Finally, I tested step by step that IPV6 was supported.
Refer to the article
- MAC build simulated IPV6 environment book
- IPv6 Wikipedia, the free encyclopedia
- Introduction to IPv6