ipv6 wan stops working after a while

Started by Voodoo, November 09, 2020, 02:55:37 PM

Previous topic - Next topic
November 09, 2020, 02:55:37 PM Last Edit: November 10, 2020, 02:42:45 AM by Voodoo
I have a ipv6 wan dhcp setup which works fine except it stops working every 3-6 weeks.

The system log gets spammed with:
in6_ifadd: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx is already configured

I have to interfaces -> overview -> wan -> dhcp reload, to make it work again.

The ipv6 i get from my isp has a static prefix and i think this messes up the dhcp lease.

Opnsense should ignore if its the same ip and just go with it, right now its killing the interface ?!

I've seen mine lose their IPv6 address and delegated prefix, but usually can't get it back without turning everything off, and then waiting a while before turning it back on.


Sent from my iPad using Tapatalk

Perhaps this may help:

https://github.com/opnsense/core/issues/4338

It solved my problem.
OPNsense 24.1.6-amd64
FreeBSD 13.2-RELEASE-p11
OpenSSL 3.0.13

Thanks for the update, I will restart the daemon next time the problem occurs to verify if its the same problem and apply the patch.

Restarting radvd didn't work for me. You can also try to restart DHCPv6 service, but this wasn't a very consistent solution for me. One time it did work and another time it didn't.
Going back to 20.1 made my system rock solid again.
As I understand it it is all still under investigation.

Is this fixed in 21.7.5?  Don't see any menchion of RADVD in the change log.

November 20, 2020, 06:30:52 PM #6 Last Edit: November 20, 2020, 06:38:20 PM by gpb
Apparently not fixed yet, and if you applied the patch for rtadvd (which is a direct replacement for radvd and native to freebsd) you'll need to reapply it after upgrade.

opnsense-patch 9a4a908 (per link above in this thread)

Edit: modified patch version (per below)

HP T730/AMD  RX-427BB/8GB/500GB SSD
HP NC365T 4-PORT


Quote from: agh1701 on November 20, 2020, 06:33:55 PM
I believe it is superseded by opnsense-patch 9a4a908

see https://github.com/opnsense/core/pull/4461


Thanks!
HP T730/AMD  RX-427BB/8GB/500GB SSD
HP NC365T 4-PORT