When IPv6 and IPv4 coexist, the static IPv6 address setting is invalid by defaul

Started by jack9603301, May 26, 2020, 11:30:36 AM

Previous topic - Next topic
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?
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

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?
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

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:?
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

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.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Under normal circumstances, when I restart the system, it should look like this:





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.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member


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.