OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: Ozymandias on August 01, 2023, 06:55:03 PM

Title: radvd needs restarting after a reboot
Post by: Ozymandias on August 01, 2023, 06:55:03 PM
After every reboot I need to restart radvd in order to get an IPv6 address on my windows machine.


2023-08-01T16:30:05 Notice opnsense 70262 /usr/local/etc/rc.newwanipv6: Failed to detect IP for WAN[wan]
2023-08-01T16:30:03 Notice dhcp6c 69003 dhcp6c_script: REQUEST on pppoe0 renewal
2023-08-01T16:30:03 Notice dhcp6c 62709 dhcp6c_script: REQUEST on pppoe0 executing
2023-08-01T16:30:02 Notice opnsense 19569 /usr/local/etc/rc.newwanipv6: Failed to detect IP for WAN[wan]
2023-08-01T16:30:02 Notice dhcp6c 46570 RTSOLD script - Sending SIGHUP to dhcp6c
Title: Re: radvd needs restarting after a reboot
Post by: franco on August 01, 2023, 07:11:52 PM
Which version would that be?


Cheers,
Franco
Title: Re: radvd needs restarting after a reboot
Post by: Ozymandias on August 01, 2023, 07:15:58 PM
2.19_2
Title: Re: radvd needs restarting after a reboot
Post by: franco on August 01, 2023, 07:22:42 PM
OPNsense, not radvd. ;)
Title: Re: radvd needs restarting after a reboot
Post by: Ozymandias on August 01, 2023, 07:41:28 PM
Sorry 23.7
Title: Re: radvd needs restarting after a reboot
Post by: franco on August 01, 2023, 08:22:36 PM
To be honest it should have been fixed with https://github.com/opnsense/core/issues/6637 in time for 23.7 and I got multiple confirms.

The full log would likely help. I suspect PPPoE flapping quite a bit...


Cheers,
Franco
Title: Re: radvd needs restarting after a reboot
Post by: Ozymandias on August 01, 2023, 08:34:22 PM
I've sent the log via private message
Title: Re: radvd needs restarting after a reboot
Post by: franco on August 01, 2023, 08:45:00 PM
Hmm, so several seconds after saying IPv6 is up your setup doesn't find an IPv6 and also does not acquire one during boot sequence which makes me think the final connectivity is set up later when all the scripts looking for it ended. Not sure what to do here, but it's not a locking issue anymore.

You could try to increase the DAD timer via

# sysctl net.inet6.ip6.dad_count=10

and see if that makes it better, but 10 seconds is just a guess here... it could also be minutes...


Cheers,
Franco
Title: Re: radvd needs restarting after a reboot
Post by: Ozymandias on August 01, 2023, 08:50:58 PM
OK I'll try that a little later tonight and let you know the outcome.
Title: Re: radvd needs restarting after a reboot
Post by: Ozymandias on August 03, 2023, 10:30:26 AM
net.inet6.ip6.dad_count = 10 made no difference.

I tried up to 60 with no positive result  :(