OPNsense Forum

English Forums => 26.1 Series => Topic started by: Aerowinder on January 24, 2026, 03:40:44 PM

Title: Track interface / Identity association - IPv6 prefix ID already in use
Post by: Aerowinder on January 24, 2026, 03:40:44 PM
Greetings,

After updating to 26.1, I was switching my IPv6 interfaces over to the new Identity association option. I am met with an error - You specified an IPv6 prefix ID that is already in use.

No worries, I thought. I'll just change it to an unused one, save, change it back, save again. Changing to an unused prefix ID allows me to save, but I'm unable to change back to my previous (now unused prefix ID - still "in use"). Even after a reboot, still can't revert it - still "in use" (it's not).

I pulled a backup and modified+restored the config file to fix it. It's perfectly happy with the old setting now.

It may be useful to know I'm on AT&T, using a bypass method. AT&T's IPv6 is kind of a joke, you have to script the PDs. I'm not sure if that's relevant here, but I can make that script available upon request.
Title: Re: Track interface / Identity association - IPv6 prefix ID already in use
Post by: franco on January 24, 2026, 05:03:26 PM
Hi,

I'm not entirely sure what config you use and what the scripting looks like but I'm working on better PD selection, see

https://github.com/opnsense/core/commit/52018a0260

Patch does not readily apply at the moment but once 26.1 comes out I want to make another round of testing.

If you can privately dump the output of "pluginctl -g interfaces" for your config that produces the error I can try to see if that is expected given the constraints or if there is a new bug with the validation.

That being said in the new patch you can (optionally) select different PDs for each interface.  The author of the ticket https://github.com/opnsense/core/issues/7647 also uses AT&T.


Cheers,
Franco
Title: Re: Track interface / Identity association - IPv6 prefix ID already in use
Post by: Aerowinder on January 24, 2026, 06:16:50 PM
franco,

I have sent via PM the interface dump and my AT&T PD script (it's the same as posted in the GitHub issue linked). I bypass the AT&T device altogether, so I have access to all PDs (16), but only use a handful.

This does very much seem like a validation error. I can go into the interface settings and change something unrelated to IPv6, and I still get the error saying the PD is already in use. I know that it's in use - it's supposed to be.