OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: Voodoo on November 09, 2020, 02:55:37 pm

Title: ipv6 wan stops working after a while
Post by: Voodoo on November 09, 2020, 02:55:37 pm
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 ?!
Title: Re: ipv6 wan dhcp stops working after a while
Post by: jeremygaither on November 10, 2020, 12:20:40 am
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
Title: Re: ipv6 wan stops working after a while
Post by: mahescho on November 15, 2020, 10:47:45 am
Perhaps this may help:

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

It solved my problem.
Title: Re: ipv6 wan stops working after a while
Post by: Voodoo on November 19, 2020, 11:52:57 pm
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.
Title: Re: ipv6 wan stops working after a while
Post by: gogolathome on November 20, 2020, 11:30:02 am
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.
Title: Re: ipv6 wan stops working after a while
Post by: agh1701 on November 20, 2020, 05:14:49 pm
Is this fixed in 21.7.5?  Don't see any menchion of RADVD in the change log.
Title: Re: ipv6 wan stops working after a while
Post by: gpb on November 20, 2020, 06:30:52 pm
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)

Title: Re: ipv6 wan stops working after a while
Post by: 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
Title: Re: ipv6 wan stops working after a while
Post by: gpb on November 20, 2020, 06:37:14 pm
I believe it is superseded by opnsense-patch 9a4a908

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


Thanks!