WAN interface keeps losing IPv6 address after 24.1.9 update

Started by therobin, June 25, 2024, 11:56:57 AM

Previous topic - Next topic
Following up my previous post about unbound not working due to IPv6 wan address not working. It turns out that since the 24.1.9 update, my WAN interface keeps losing it's IPv6 address.

If I reapply the WAN interface configuration, it will get back it's IPv6 address for about 5 minutes then it will be lost again. The other interfaces and devices maintain their IPv6 addresses and connectivity just fine. Only the WAN interface, which address is outside the prefix range is having this problem for me.

Once the IPv6 address is lost, it will not auto renew. I have to manually reapply the interface configuration, which it then repeats the issue.

Here is the log file from the time I refresh the WAN interface upto the point it lost it's IPv6 address.

2024-06-25T05:37:21-04:00 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-06-25T05:37:21-04:00 Notice dhcp6c Received REPLY for RENEW
2024-06-25T05:37:20-04:00 Notice dhcp6c Sending Renew
2024-06-25T05:37:20-04:00 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-06-25T05:37:20-04:00 Notice dhcp6c Received REPLY for RENEW
2024-06-25T05:37:20-04:00 Notice dhcp6c Sending Renew
2024-06-25T05:32:20-04:00 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-06-25T05:32:20-04:00 Notice dhcp6c Received REPLY for RENEW
2024-06-25T05:32:20-04:00 Notice dhcp6c dhcp6c_script: RENEW on igc0 executing
2024-06-25T05:32:20-04:00 Notice dhcp6c Received REPLY for RENEW
2024-06-25T05:32:20-04:00 Notice dhcp6c Sending Renew
2024-06-25T05:32:20-04:00 Notice dhcp6c Sending Renew
2024-06-25T05:28:12-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : wireguard_sync(,lan))
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : webgui_configure_do(,lan))
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : vxlan_configure_do())
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : unbound_configure_do(,lan))
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : openssh_configure_do(,lan))
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : opendns_configure_do())
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : ntpd_configure_do())
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : dnsmasq_configure_do())
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (,lan)
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (execute task : wireguard_configure_do(,lan))
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: Resyncing OpenVPN instances for interface LAN.
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (execute task : openvpn_configure_do(,lan))
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (execute task : ipsec_configure_do(,lan))
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (,lan)
2024-06-25T05:28:09-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : wireguard_sync(,wan))
2024-06-25T05:28:09-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : webgui_configure_do(,wan))
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : wireguard_sync(,wan))
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : webgui_configure_do(,wan))
2024-06-25T05:28:09-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : vxlan_configure_do())
2024-06-25T05:28:09-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : vxlan_configure_do())
2024-06-25T05:28:08-04:00 Error opnsense /interfaces.php: The command '/sbin/mount -r -t nullfs '/lib' '/var/unbound/lib'' returned exit code '1', the output was 'mount_nullfs: /var/unbound/lib: Resource deadlock avoided'
2024-06-25T05:28:08-04:00 Error opnsense /interfaces.php: The command '/sbin/mount -r -t nullfs '/usr/local/lib/python3.11' '/var/unbound/usr/local/lib/python3.11'' returned exit code '1', the output was 'mount_nullfs: /var/unbound/usr/local/lib/python3.11: Resource deadlock avoided'
2024-06-25T05:28:08-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : unbound_configure_do(,wan))
2024-06-25T05:28:08-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : openssh_configure_do(,wan))
2024-06-25T05:28:08-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : opendns_configure_do())
2024-06-25T05:28:08-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : ntpd_configure_do())
2024-06-25T05:28:08-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : dnsmasq_configure_do())
2024-06-25T05:28:08-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (,wan)
2024-06-25T05:28:08-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (execute task : wireguard_configure_do(,wan))
2024-06-25T05:28:08-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: Resyncing OpenVPN instances for interface WAN.
2024-06-25T05:28:08-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (execute task : openvpn_configure_do(,wan))
2024-06-25T05:28:08-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (execute task : ipsec_configure_do(,wan))
2024-06-25T05:28:08-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (,wan)
2024-06-25T05:28:07-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : unbound_configure_do(,wan))
2024-06-25T05:28:07-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : openssh_configure_do(,wan))
2024-06-25T05:28:07-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : opendns_configure_do())
2024-06-25T05:28:07-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: entering configure using 'lan'
2024-06-25T05:28:07-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure monitor (execute task : dpinger_configure_do(,WAN_DHCP6))
2024-06-25T05:28:07-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure monitor (,WAN_DHCP6)
2024-06-25T05:28:07-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: keeping inet6 default route to fe80::[redacted]%igc0
2024-06-25T05:28:07-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: configuring inet6 default gateway on wan
2024-06-25T05:28:07-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: entering configure using 'wan'
2024-06-25T05:28:07-04:00 Warning radvd exiting, 1 sigterm(s) received
2024-06-25T05:28:06-04:00 Error opnsense /usr/local/etc/rc.newwanipv6: The command '/bin/kill -'TERM' '55211''(pid:/var/dhcpd/var/run/dhcpdv6.pid) returned exit code '1', the output was 'kill: 55211: No such process'
2024-06-25T05:28:06-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(,inet6))
2024-06-25T05:28:06-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure dhcp (,inet6)
2024-06-25T05:28:06-04:00 Notice opnsense /usr/local/etc/rc.newwanipv6: IP renewal starting (address: 2607:[redacted], interface: wan, device: igc0)
2024-06-25T05:28:05-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : ntpd_configure_do())
2024-06-25T05:28:05-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : dnsmasq_configure_do())
2024-06-25T05:28:05-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (,wan)
2024-06-25T05:28:04-04:00 Notice opnsense /interfaces.php: plugins_configure monitor (execute task : dpinger_configure_do())
2024-06-25T05:28:04-04:00 Notice opnsense /interfaces.php: plugins_configure monitor ()
2024-06-25T05:28:04-04:00 Notice opnsense /interfaces.php: ROUTING: keeping inet6 default route to fe80::[redacted]%igc0
2024-06-25T05:28:04-04:00 Notice opnsense /interfaces.php: ROUTING: configuring inet6 default gateway on wan
2024-06-25T05:28:04-04:00 Notice opnsense /interfaces.php: ROUTING: keeping inet default route to 173.[redacted]
2024-06-25T05:28:04-04:00 Notice opnsense /interfaces.php: ROUTING: configuring inet default gateway on wan
2024-06-25T05:28:04-04:00 Notice opnsense /interfaces.php: ROUTING: entering configure using defaults
2024-06-25T05:28:03-04:00 Notice dhcp6c dhcp6c_script: REQUEST on igc0 renewal
2024-06-25T05:28:03-04:00 Notice dhcp6c dhcp6c_script: REQUEST on igc0 executing
2024-06-25T05:28:03-04:00 Notice dhcp6c add an address 2607:[redacted]/128 on igc0
2024-06-25T05:28:03-04:00 Notice dhcp6c add an address 2607:[redacted]/64 on bridge0
2024-06-25T05:28:03-04:00 Notice dhcp6c Received REPLY for REQUEST
2024-06-25T05:28:03-04:00 Notice dhcp6c Sending Request
2024-06-25T05:28:03-04:00 Notice opnsense /interfaces.php: plugins_configure dns (execute task : unbound_configure_do())
2024-06-25T05:28:03-04:00 Notice opnsense /interfaces.php: plugins_configure dns (execute task : dnsmasq_configure_do())
2024-06-25T05:28:03-04:00 Notice opnsense /interfaces.php: plugins_configure dns ()
2024-06-25T05:28:03-04:00 Warning radvd exiting, 1 sigterm(s) received
2024-06-25T05:28:03-04:00 Warning opnsense /interfaces.php: dhcpd_radvd_configure(auto) found no suitable IPv6 address on lan(bridge0)
2024-06-25T05:28:03-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : wireguard_sync(,wan))
2024-06-25T05:28:03-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : webgui_configure_do(,wan))
2024-06-25T05:28:02-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : vxlan_configure_do())
2024-06-25T05:28:02-04:00 Notice dhcp6c Sending Solicit
2024-06-25T05:28:01-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : unbound_configure_do(,wan))
2024-06-25T05:28:01-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : openssh_configure_do(,wan))
2024-06-25T05:28:01-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : opendns_configure_do())
2024-06-25T05:28:01-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : ntpd_configure_do())
2024-06-25T05:28:01-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : dnsmasq_configure_do())
2024-06-25T05:28:01-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (,wan)
2024-06-25T05:28:01-04:00 Notice dhcp6c duplicated interface: igc0
2024-06-25T05:28:01-04:00 Notice dhcp6c restarting
2024-06-25T05:28:01-04:00 Notice dhcp6c RTSOLD script - Sending SIGHUP to dhcp6c
2024-06-25T05:28:01-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : wireguard_configure_do(,wan))
2024-06-25T05:28:01-04:00 Notice opnsense /usr/local/etc/rc.newwanip: Resyncing OpenVPN instances for interface WAN.
2024-06-25T05:28:01-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : openvpn_configure_do(,wan))
2024-06-25T05:28:01-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : ipsec_configure_do(,wan))
2024-06-25T05:28:01-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (,wan)
2024-06-25T05:28:01-04:00 Notice dhcp6c Sending Solicit
2024-06-25T05:28:00-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure monitor (execute task : dpinger_configure_do(,WAN_DHCP))
2024-06-25T05:28:00-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure monitor (,WAN_DHCP)
2024-06-25T05:28:00-04:00 Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: keeping inet default route to 173.[redacted]
2024-06-25T05:28:00-04:00 Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: configuring inet default gateway on wan
2024-06-25T05:28:00-04:00 Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: entering configure using 'wan'
2024-06-25T05:28:00-04:00 Notice opnsense /usr/local/etc/rc.newwanip: IP renewal starting (new: 173.[redacted], old: 173.[redacted], interface: wan, device: igc0, force: yes)
2024-06-25T05:28:00-04:00 Notice opnsense /interfaces.php: plugins_configure dhcp (execute task : dhcpd_dhcp_configure())
2024-06-25T05:28:00-04:00 Notice opnsense /interfaces.php: plugins_configure dhcp ()
2024-06-25T05:28:00-04:00 Notice opnsense /interfaces.php: plugins_configure ipsec (execute task : ipsec_configure_do(,wan))
2024-06-25T05:28:00-04:00 Notice opnsense /interfaces.php: plugins_configure ipsec (,wan)
2024-06-25T05:28:00-04:00 Notice opnsense /interfaces.php: plugins_configure monitor (execute task : dpinger_configure_do(,WAN_DHCP))
2024-06-25T05:28:00-04:00 Notice opnsense /interfaces.php: plugins_configure monitor (,WAN_DHCP)
2024-06-25T05:28:00-04:00 Notice opnsense /interfaces.php: plugins_configure monitor (execute task : dpinger_configure_do(,WAN_DHCP6))
2024-06-25T05:28:00-04:00 Notice opnsense /interfaces.php: plugins_configure monitor (,WAN_DHCP6)
2024-06-25T05:28:00-04:00 Notice opnsense /interfaces.php: ROUTING: setting inet default route to 173.[redacted]
2024-06-25T05:28:00-04:00 Notice opnsense /interfaces.php: ROUTING: configuring inet default gateway on wan
2024-06-25T05:28:00-04:00 Notice opnsense /interfaces.php: ROUTING: entering configure using 'wan'
2024-06-25T05:28:00-04:00 Notice dhcp6c duplicated interface: igc0
2024-06-25T05:28:00-04:00 Notice dhcp6c restarting
2024-06-25T05:28:00-04:00 Notice dhcp6c RTSOLD script - Sending SIGHUP to dhcp6c
2024-06-25T05:28:00-04:00 Warning rtsold <autoifprobe> probing vlan06
2024-06-25T05:28:00-04:00 Warning rtsold <autoifprobe> probing igc0
2024-06-25T05:28:00-04:00 Notice dhclient dhclient-script: Creating resolv.conf
2024-06-25T05:28:00-04:00 Notice dhclient dhclient-script: New Routers (igc0): 173.[redacted]
2024-06-25T05:28:00-04:00 Notice dhclient dhclient-script: New Broadcast Address (igc0): 173.[redacted]
2024-06-25T05:28:00-04:00 Notice dhclient dhclient-script: New Subnet Mask (igc0): 255.255.254.0
2024-06-25T05:28:00-04:00 Notice dhclient dhclient-script: New IP Address (igc0): 173.[redacted]
2024-06-25T05:28:00-04:00 Notice dhclient dhclient-script: New Hostname (igc0): OPN100
2024-06-25T05:28:00-04:00 Notice dhclient dhclient-script: Reason BOUND on igc0 executing
2024-06-25T05:28:00-04:00 Notice dhclient dhclient-script: Reason ARPCHECK on igc0 executing
2024-06-25T05:27:58-04:00 Notice dhclient dhclient-script: Reason ARPSEND on igc0 executing
2024-06-25T05:27:44-04:00 Notice dhcp6c status code: unspec failure
2024-06-25T05:27:44-04:00 Notice dhcp6c Received REPLY for REQUEST
2024-06-25T05:27:44-04:00 Notice dhcp6c Sending Request
2024-06-25T05:27:43-04:00 Notice dhcp6c Sending Solicit
2024-06-25T05:27:43-04:00 Notice dhclient dhclient-script: Reason PREINIT on igc0 executing
2024-06-25T05:27:42-04:00 Critical dhclient exiting.
2024-06-25T05:27:42-04:00 Error dhclient connection closed
2024-06-25T05:27:42-04:00 Notice dhcp6c remove an address 2607:[redacted]/64 on bridge0
2024-06-25T05:27:42-04:00 Notice dhcp6c Bypassing address release because of -n flag
2024-06-25T05:27:42-04:00 Notice dhcp6c failed to remove an address on igc0: Can't assign requested address
2024-06-25T05:27:42-04:00 Notice dhcp6c Bypassing address release because of -n flag
2024-06-25T05:27:42-04:00 Notice dhcp6c restarting


Quote from: Taunt9930 on June 25, 2024, 01:36:21 PM
Did you try the fix here? https://forum.opnsense.org/index.php?topic=41160.0

Notice the thread the same time you replied. I applied the patch and restarted. Will report back in a few hours.