Possible boot-time race involving PPPoE and DHCPv6-PD

Started by dinguz, August 18, 2026, 07:31:11 PM

Previous topic - Next topic
Recently, I have encountered an issue where OPNsense more often than not stops progressing during boot. In most cases, it stalls at the "Setting up gateway monitoring" step. My WAN uses PPPoE over VLAN, with DHCPv6 prefix delegation enabled. It remains stuck indefinitely until I manually trigger a network-related action in the GUI, after which startup continues normally.
As a precaution, I reset the gateway monitoring part of the configuration files to defaults, but this didn't make any difference.

Disabling the DHCPv6 rapid commit option appears to make the issue occur less frequently. However, it is unclear whether rapid commit is the underlying cause or whether disabling it merely masks the problem by changing the timing of the boot and interface configuration sequence.
If I disable IPV6 completely in the WAN interface, the system always boots normally.

The logs suggest that dhcp6c, PPPoE link events, and rc.newwanipv6 may be running concurrently. I see repeated interface reconfiguration and Can't assign requested address errors, which makes me wonder whether this could be a timing or ordering issue during boot.

I am running OPNsense 26.7.2_2 (amd64). Is there any way I can assist in solving this by providing logs or try out things?

18:49:46 rc.bootup: plugins_configure bootup (execute task : unbound_configure_do(1))
18:49:51 dhcp6c: rtsold_script: starting dhcp6c
18:49:51 dhcp6c: Sending Solicit on pppoe1
18:49:52 dhcp6c: Received REPLY for REQUEST
18:49:52 dhcp6c: create a prefix .../48
18:49:53 rc.newwanipv6: IP renewal deferred during boot on 'pppoe1'
18:50:54 /interfaces.php: plugins_configure dhcp (,inet6,[lan])
18:50:54 dhcp6c: restarting
18:50:54 dhcp6c: Start address release
18:50:54 dhcp6c: Sending Release on pppoe1
18:50:54 dhcp6c: remove a site prefix .../48
18:50:54 ppp: caught fatal signal TERM
18:50:54 ppp: [opt1] IFACE: Close event
18:50:54 ppp: [opt1_link0] PPPoE: connection closed
18:50:54 rc.newwanip: IP renewal deferred during boot on 'pppoe1'
18:50:55 dhcp6c: Sending Solicit on pppoe1
18:50:55 dhcp6c: transmit failed: Can't assign requested address

rc.newwanipv6: IP renewal starting (reason: request, ... device: pppoe1)
rc.newwanipv6: plugins_configure dhcp (,inet6)
rc.newwanipv6: ROUTING: entering configure using opt1, lan
rc.newwanipv6: plugins_configure monitor (... INTERNET_DHCP6)

/interfaces.php: The required INTERNET_DHCP6 IPv6 interface address could not be found, skipping.
dhcp6c: Sending Solicit on pppoe1
dhcp6c: transmit failed: Can't assign requested address
rc.newwanipv6: IP renewal starting (reason: force, address: misconfigured, ...)

Note: This post may have been lightly edited by AI for spelling and minor readability improvements. The content and findings are entirely my own.