When IPv6 and IPv4 coexist, the static IPv6 address setting is invalid by default after reboot. Am I wrong?
The short answer is no, but you don't say what you are doing. WAN or LAN, VLANs what?
I created two VLAN sub interfaces (P1 or P2), which use static IPv4 + static IPv6, but only IPv4 takes effect after restart.
I have three vlans, all static on v4 and v6, they all work. Are you saying that when you restart the addresses you have applied to the vlans are no longer there?
Like attachment, the IPv6 address I set will not be applied unless I enter the interface to reapply the configuration.
Are they GUA addresses you are applying?
Does your ISP provide dynamic as well as static addresses:?
My opnsense is not directly connected to the ISP. Its superior equipment is proxmox ve (using openvswitch) and vyos router deployed in the industrial control soft route D525. Opnsense runs in switch mode instead of routing mode. This IP is only the IP of opnsense's web management background. According to the expected execution, it should be able to take effect through IPv6 and IPv4. After restarting, both IPv4 and IPv6 can go online at the same time. However, after I manually set IPv6 and IPv4 to take effect, only IPv4 is effective after restarting. I must reapply the interface. This abnormal.
Sorry cannot help you.. I really have no idea what you are trying to achieve. All I can say is that static GUAs save fine.
Under normal circumstances, when I restart the system, it should look like this:
(https://i.ibb.co/c8JV7Gm/interfaces.png) (https://ibb.co/t2BFW7d)
Just created a VLAN interface on my test unit, added the same address as you use, saved and apply, reboot and the image shows what is there. No problem on my system, however I am running the 20.7b path.
That's weird. Why is there a problem in my system?
Just now, I checked the related settings and found that I have enabled the option to enable the local address of the link. I'm sorry that I didn't notice this problem at all. I withdrew this option and it is normal after restarting.