radvd needs restarting after a reboot

Started by Ozymandias, August 01, 2023, 06:55:03 PM

Previous topic - Next topic
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

Which version would that be?


Cheers,
Franco




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


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

OK I'll try that a little later tonight and let you know the outcome.

net.inet6.ip6.dad_count = 10 made no difference.

I tried up to 60 with no positive result  :(