OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: Gromhelm on December 17, 2023, 08:15:24 AM

Title: [SOLVED] radvd not starting
Post by: Gromhelm on December 17, 2023, 08:15:24 AM
Since the last update, my radvd is not starting. It looks like playing with IPv6 (and finally disabling it again), I have  recurring problems with the DHCPv6 and radvd service.

Tried to reset everything following https://forum.opnsense.org/index.php?topic=34584.0 (https://forum.opnsense.org/index.php?topic=34584.0) this did not solve my issue. radvd still not starting, even if clicked manually. There is also no error in logs.

When following the above guide, I got:


2023-12-17T08:06:34 Error opnsense /interfaces.php: The command '/sbin/ifconfig 'igb3'
inet6 '::1' prefixlen '128' no_dad' returned exit code '1', the output was 'ifconfig:
ioctl (SIOCDIFADDR): Invalid argument'
2023-12-17T08:06:31 Error opnsense /interfaces.php: The command '/sbin/ifconfig 'igb2'
inet6 '::1' prefixlen '128' no_dad' returned exit code '1', the output was 'ifconfig:
ioctl (SIOCDIFADDR): Invalid argument'
2023-12-17T08:06:27 Error opnsense /interfaces.php: The command '/sbin/ifconfig 'igb1'
inet6 '::1' prefixlen '128' no_dad' returned exit code '1', the output was 'ifconfig:
ioctl (SIOCDIFADDR): Invalid argument'


But I cannot assign this to any specific action.

Where would I start debugging starting of radvd?
Title: Re: radvd not starting
Post by: meyergru on December 17, 2023, 01:28:58 PM
radvd needs an assigned IPv6 for the interfaces in order to derive the RA broadcasts from that.
The error message seems to indicate that your interfaces do not have a valid IPv6 in the first place.
Title: Re: radvd not starting
Post by: Gromhelm on December 17, 2023, 03:47:10 PM
Thank you. So this means this is normal and should be expected, when IPv6 is disabled?
Title: Re: radvd not starting
Post by: meyergru on December 17, 2023, 04:07:01 PM
Yes, it does not make much sense to start radvd when IPv6 is disabled altogether.
Title: Re: radvd not starting
Post by: Gromhelm on December 17, 2023, 04:45:08 PM
Great, thank you for the confirmation!

I think this was new, which is why radvd not starting caught my eye and got me worried.