iQiyi soft router series iQiyi IPv6 function configuration tutorial
本文最后更新于 832 天前,其中的信息可能已经有所发展或是发生改变,如有失效可到评论区留言。
Article Summary
随着国内IPv4地址紧缺,运营商加速推进IPv6部署,但用户常因路由器配置不当无法正常使用IPv6公网地址。文章以爱快软路由为例,详解通过外网接口获取IPv6地址、内网接口分配及DHCPv6-PD功能的配置流程,同时介绍动态域名解析等配套工具,解决IPv6地址固定性差导致的访问难题。实践表明,合理配置后可稳定获取/64网段地址,结合动态域名客户端实现公网服务访问,验证了爱快在家庭网络IPv6场景下的可行性,其统计、黑白名单等功能也提升了管理效率。
Qwen3-14B · 2026-06-18

Preface

image.png

As shown in the figure above, with the in-depth implementation of the "Network Power" strategy, major domestic operators have been racking their brains to recycle IPv4 public network addresses in the past two years. Take Chengdu Telecom as an example: as long as you change the package, even if you upgrade the package, the original IPv4 public network address may be gone. You must know that it was a high-level unspoken rule to retain the old configuration during the upgrade, and the IPv4 public network address package was sold at a high price (Chengdu Telecom is at least 399 packages plus 100 yuan service fee). The number of home broadbands with IPv4 public networks will only decrease, but the number of IPv6 public network addresses is increasing.

However, IPv6 and IPv4 are different after all. Even if the operator issues an IPv6 address, if the router does not support it or supports it but is not configured correctly, you still cannot enjoy this invisible benefit. So I will take the iKuai soft router I use as an example to introduce the relevant configuration of IPv6. However, since different router brands support different IPv6 functions, the specific configuration needs to be adjusted according to your actual equipment. I can only give you a sample.

In addition, the premise of the following is that the broadband operator has successfully deployed IPv6 and correctly transferred the policy to the optical modem. This is actually relatively easy to test. Just use a computer to connect directly to the optical modem to perform PPPOE dial-up, and then check whether an IPv6 address is obtained. In addition, this can also be verified with the operator. It is possible that the optical modem configuration problem causes the failure to obtain an IPv6 address. I will not go into details here, otherwise there are too many possibilities.

Prerequisite knowledge: Differences between IPv4 and IPv6 public network address allocation methods

In fact, it is essentially the difference between "one" and "a bunch":
IPv4
Operators allocate IPv4 public network addresses. They only need to allocate an IPv4 public network address to a user's optical modem (routing mode) or router's WAN port (bridge mode) (usually through Ppoe), and then all data destined for this IPv4 public network address can be sent to the user's device.
IPv6
When a carrier allocates an IPv6 public network address, it allocates a relatively large network segment to the user. Well, the term "relatively large network segment" is a bit conservative. Take the IPv6 address allocation of my home telecom as an example:

image.png

As shown in the figure above, China Telecom assigns a /60 prefix, but because IPv6 requires that all public network addresses (global unicast addresses) must have a /64 prefix in the subnet, the IPv6 address segment of the LAN1 port is actually just one of the 16 available /64 prefix segments (usually the first one). However, in an environment with multiple LAN ports, iQIYI can further subdivide the /60 prefix segment and assign it to different LAN ports:

image.png

This function is actually DHCPv6-PD, which is very useful for environments that require hierarchical deployment of IPv6 public network addresses.


Note 1: iQiyi also supports multi-line IPv6 function:

image.png

However, this function is charged. I even bought a one-month dual-line to play with it, but I found that it was useless for me because I also need a multi-LAN environment: that is, one IPv6 line can be bound to one LAN port. For home users, there is no such need for isolation, unless you have multiple LAN segments like I did before and use Huawei S5720-28P three-layer switch as the core switch of the home for more than two years. But later, because of the noise problem, I couldn't stand it anymore, so I optimized it back to one LAN segment and used TP-LINK's TL-SG2024D as the core switch, and the world was quiet in an instant. . The conclusion is that the physical topology of the home network should not be too complicated.

Note 2:

Without IPv4 public network addresses and with the popularization of 1000M downstream and IPv6 public network addresses, the multi-dial technology used to expand upstream and downstream bandwidth and obtain multiple IPv4 public network addresses will completely withdraw from the stage of history, and the traditional port mapping is only suitable for the scenario of IPv4 public network address -> IPv4 private address. Port forwarding technology will become a technology to replace traditional port mapping in some special scenarios (such as in the intranet, the router interface IPv6 public network address -> the IPv6 public network address of other devices in the intranet, or the router interface IPv6 public network address -> the IPv4 private address of other devices in the intranet). Unfortunately, iQIYI does not support IPv6 port forwarding at present. Openwrt wins: it can be indirectly realized by installing software such as socat or lucky, but it is a bit unfair to compare like this, because this is not a built-in function of openwrt. .

Note 3:

A network segment with a /60 prefix can be divided in the following ways: 1 /60 segment; 2 /61 segments; 4 /62 segments; 8 /63 segments, and 16 /64 segments. This is because 64-60=4, 2^4=16. Just get a general idea of this. The specific IPv6 is too complicated, and it’s painful to think about it. Fortunately, I only used IPv4 when I was working on the network. . . However, when I was working on application delivery, I did not escape the wave of IPv6 transformation in the financial industry around 2020. All kinds of strange problems made me very painful. . .


Back to the question above, why do I say that allocating a "large network segment" is conservative? How big is this network segment? Take the prefix /64 as an example, what is 2^64 equal to? I don't even know how to read that number. So IPv6 is really not kidding when it claims that it can allocate a public network address to every grain of sand in the world. /64 is only allocated to households. Unfortunately, I can't even get 100 devices with IPv6 public network addresses. What a waste.

iFast Enable IPv6

The IPv6 related settings of iKuai are set under "Network Settings" - "IPv6":

image.png

Just follow these steps:
1. External network configuration
In "IPv6 Settings", in "External Network Configuration", click "Add" in the red box on the right:
image.png

After selecting "External Network Interface", keep the default values for "Access Method" and "Request Prefix Length", and then click "Save" in the red box below:
image.png

If normal (the operator has configured the relevant environment), the external network opening can obtain an IPv6 public network address:
image.png

2. Intranet configuration
In "IPv6 Settings", in "Intranet Configuration", click "Add" in the red box on the right:
image.png

Select the LAN port that needs an IPv6 address (normal people have one LAN port) and the external network line that needs to be bound (the external network port I selected earlier is adsl3, so I also choose this here), keep the other default values, and finally click "Save" in the red box below:
image.png

If everything is normal, the intranet interface has obtained the IPv6 public address:
image.png

At the same time, you can confirm whether the public network address has been successfully obtained on the device that has IPv6 enabled in the intranet, such as my MacBook:
image.png

My win11 virtual machine:
image.png

Other features of iFastIPv6

iFastIPv6 also supports separate statistics of IPv6 line data:

image.png

Prefix static allocation:
image.png

DHCPv6 blacklist and whitelist:
image.png

View the DHCPv6 terminal:
image.png

View the list of neighbors:
image.png

The statistical function is still very strong.

Built-in dynamic domain name client

In fact, even if you have an IPv6 public network address, you are embarrassed to give it to others directly. Why? Please imagine the following scenario (Note: the last 12345 is the port number):

image.png

This picture is so beautiful that I dare not look at it. Therefore, the IPv6 public network address must be combined with the dynamic domain name to be normally accessed. Of course, the premise is that the visitor also has an IPv6 address.

iKuai's built-in dynamic domain name client is very powerful. In addition to supporting multiple domain name providers:

image.png

It also supports multiple parsing options:
image.png

The external network line is resolved to the IPv6 address of the wan port; the terminal MAC is the IPv6 address of the device corresponding to a certain internal MAC address; the terminal DUIO is the DHCP unique identifier in the previous DHCPv6 terminal interface:
image.png

The complete dynamic domain name interface is as follows, taking my cloudflare domain name as an example:
image.png

Let’s take a look at some of my domain name resolutions:
image.png

To be honest, in my 3-way environment, I don’t know what to do without iQuick’s dynamic domain name client, so iQuick is definitely one of the core components of my home data center.

In addition, AiKuai's IPv6-related help is also easy to understand and contains many examples. This is something I always like. It reminds me of the previous Netscreen firewall, where the help documentation was really well done and people who didn't understand it could follow along step by step with the help manual.

In addition: In fact, if you have a registered domain name, it is most cost-effective to use a domestic CDN supplier with an IPv6 public network address to build a website. I will have the opportunity to write an article specifically about this later.

Summarize

In fact, the IPv6 configuration logic of AiKuai is very clear and easy to understand. Some peripheral functions are also well done, especially the dynamic domain name part, which is my favorite. I rely on it to complete the dynamic domain name resolution of cloudflare, Tencent Cloud, and Alibaba Cloud. The free version is also very stable and has never crashed, including when I was running a virtual machine before. Not to mention the packet capture function, port mirroring, UDPXY, authentication and billing, VPN, behavior management, flow control and other functions. . There is no end to it. Except for not supporting scientific related functions, I personally think it is perfect.

There are many other devices that support ipv6 now, such as my ASUS AC86U:

image.png

It still has the necessary functions, and its main feature is simplicity. Many years ago, I also used an ASUS router to run IPv6 for a while, because other routers did not support IPv6 well at that time, and ASUS was the only one that stood out (the concept of soft routing had not yet emerged at that time).

In short, everyone should first look at the equipment they have. Reusing old equipment is always the priority, and only consider replacing the equipment if it really doesn’t work.

📌 Content Structure Hints:
This content belongs to "Blog Knowledge MapThis is part of the document; you can view the full content path here: Blog Knowledge Map .
View related categories · 3 matches
📎 Related Articles
Share this article
All blog content is original; please indicate the source when reprinting! The blog's RSS address is:https://blog.tangwudi.com/feed, welcome to subscribe; if necessary, you can joinTelegram GroupDiscuss the problem together.
No Comments

Send Comment Edit Comment


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠(ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ°Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
Emoticons
Emoji
Little Dinosaur
flower!
Previous
Next
       

👋 Welcome to "Invincible Personal Blog"“

This section will focus on long-term exploration in the following areas:

🧱 Building Personal Digital Infrastructure and Blog Systems
☁️ Cloudflare and Network Architecture Practices
🧠 Exploring AI and Knowledge Systems
🛡️ Network security and access optimization
🎵 Music and Sound Cognition
👁️ Cognitive Perspective and Worldview