Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
OpnSense hangs due to Ipv6
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpnSense hangs due to Ipv6 (Read 367 times)
Server07
Newbie
Posts: 35
Karma: 0
OpnSense hangs due to Ipv6
«
on:
October 15, 2024, 02:36:43 pm »
Hello,
using now OPNsense 24.7.6-amd64, I have the issue that my network dies randomly after some hours.
Also also tried to find errors in my config, but not able to link it to the logged issue.
When the network is down and only restart via Shell helps to resolve.
WAN : IPv6 Configuration Type: DHCPv6
Prefix 56
Log:
Running OpnSense, there is no log at all on errors, notice,..., until this happens e.g. today 7:21, log starts getting filled and network died soon after. At 9:00 I did restarted and again log is remain empty until it happen again at 12:48:
2024-10-15T12:48:56 Error opnsense /usr/local/etc/rc.newwanipv6: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 47755'
2024-10-15T12:48:45 Warning opnsense /usr/local/etc/rc.bootup: Skipping gateway WAN_DHCP6 due to empty 'gateway' property.
2024-10-15T12:48:45 Warning opnsense /usr/local/etc/rc.bootup: Skipping gateway WAN_DHCP6 due to empty 'monitor' property.
restart
2024-10-15T08:58:52 Warning opnsense /usr/local/etc/rc.newwanipv6: Skipping gateway WAN_DHCP6 due to empty 'gateway' property.
2024-10-15T08:58:52 Warning opnsense /usr/local/etc/rc.newwanipv6: Skipping gateway WAN_DHCP6 due to empty 'monitor' property.
2024-10-15T08:58:51 Error opnsense /usr/local/etc/rc.newwanipv6: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 80564'
2024-10-15T08:58:39 Warning opnsense /usr/local/etc/rc.bootup: Skipping gateway WAN_DHCP6 due to empty 'gateway' property.
2024-10-15T08:58:39 Warning opnsense /usr/local/etc/rc.bootup: Skipping gateway WAN_DHCP6 due to empty 'monitor' property.
2024-10-15T08:57:12 Warning radvd exiting, 1 sigterm(s) received
2024-10-15T08:57:01 Error opnsense /usr/local/etc/rc.linkup: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 57225'
2024-10-15T08:57:01 Warning radvd exiting, 1 sigterm(s) received
....
2024-10-15T07:39:03 Error opnsense /usr/local/etc/rc.linkup: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 86503'
2024-10-15T07:39:01 Warning radvd exiting, 1 sigterm(s) received
2024-10-15T07:39:01 Error opnsense /usr/local/etc/rc.newwanipv6: The command '/bin/kill -'TERM' '10204''(pid:/var/dhcpd/var/run/dhcpdv6.pid) returned exit code '1', the output was 'kill: 10204: No such process'
2024-10-15T07:38:56 Warning radvd sendmsg: No buffer space available
2024-10-15T07:38:56 Warning radvd sendmsg: No buffer space available
2024-10-15T07:38:56 Warning radvd exiting, 1 sigterm(s) received
2024-10-15T07:38:56 Warning opnsense /usr/local/etc/rc.linkup: dhcpd_radvd_configure(auto) found no suitable IPv6 address on lan(re0)
2024-10-15T07:38:55 Error upsmon Poll UPS [qnapups@192.168.0.7:3493] failed - Server disconnected
2024-10-15T07:21:14 Error opnsense /usr/local/etc/rc.linkup: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 89310'
2024-10-15T07:21:14 Error opnsense /usr/local/etc/rc.linkup: The command '/bin/kill -'TERM' '89310''(pid:/var/run/dhcpleases6.pid) returned exit code '1', the output was 'kill: 89310: No such process'
2024-10-15T07:21:07 Error opnsense /usr/local/etc/rc.linkup: The command '/usr/sbin/daemon -f -p '/var/run/dhcpleases6.pid' '/usr/local/opnsense/scripts/dhcp/prefixes.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 89310'
2024-10-15T07:21:06 Warning radvd exiting, 1 sigterm(s) received
2024-10-15T07:21:05 Error opnsense /usr/local/etc/rc.newwanipv6: The command '/bin/kill -'TERM' '62412''(pid:/var/dhcpd/var/run/dhcpdv6.pid) returned exit code '1', the output was 'kill: 62412: No such process'
2024-10-15T07:21:01 Warning radvd exiting, 1 sigterm(s) received
2024-10-15T07:21:01 Warning opnsense /usr/local/etc/rc.linkup: dhcpd_radvd_configure(auto) found no suitable IPv6 address on lan(re0)
«
Last Edit: October 15, 2024, 02:38:48 pm by Server07
»
Logged
Server07
Newbie
Posts: 35
Karma: 0
Re: OpnSense hangs due to Ipv6
«
Reply #1 on:
October 16, 2024, 08:48:31 pm »
What can I do to investigate here further?
I tried to deactivate all other services, as DynDNS, Wireguard, VLANs, but not improvement yet - but need to find a solution as our home network cannot die now one a day....
radvd seems to run.
Code:
[Select]
root@OPNsense:~ # pgrep radvd
4684
If my WAN IPv6 starts with:
WAN: 2a00:6020:101x:xxxx
LAN: 2a00:6020:434x:xxxx::/64
>Should the prefix of WAN not be re-used by DHCP of LAN for first 64 bit?
root@OPNsense:~ # cat /var/etc/radvd.conf
# Automatically generated, do not edit
# Generated RADVD config for manual assignment on lan
interface re0 {
AdvSendAdvert on;
MinRtrAdvInterval 200;
MaxRtrAdvInterval 600;
AdvLinkMTU 1500;
AdvDefaultPreference high;
AdvManagedFlag on;
AdvOtherConfigFlag on;
prefix 2a00:6020:434x:xxxx::/64 {
DeprecatePrefix on;
AdvOnLink on;
AdvAutonomous off;
};
RDNSS 2a00:6020:434x:xxxx:201:2eff:fe96:7406 {
};
DNSSL localdomain {
};
};
Logged
patrick3000
Jr. Member
Posts: 87
Karma: 6
Re: OpnSense hangs due to Ipv6
«
Reply #2 on:
October 16, 2024, 10:31:57 pm »
I had a problem that OPNsense took hours to update or, in some cases, hung and didn't update at all. I solved the problem a few weeks ago (when I was on something like version 24.7.3) by selecting “Prefer to use IPv4 even if IPv6 is available" in System > Settings > General.
Perhaps you are having a similar problem that could be solved by changing this setting.
Logged
Server07
Newbie
Posts: 35
Karma: 0
Re: OpnSense hangs due to Ipv6
«
Reply #3 on:
October 20, 2024, 08:03:20 pm »
Thanks, I will try now your proposal, lets hope.
Did you select under DNS servers - Use gateway for the IPv4 or IPv6 WAN each for each DNS or kept it on "none"?
2024-10-20T18:57:03 Warning radvd sendmsg: No buffer space available
2024-10-20T18:57:03 Warning radvd sendmsg: No buffer space available
2024-10-20T18:57:03 Warning radvd exiting, 1 sigterm(s) received
2024-10-20T18:57:03 Error opnsense /usr/local/etc/rc.linkup: The command '/bin/kill -'TERM' '50521''(pid:/var/dhcpd/var/run/dhcpdv6.pid) returned exit code '1', the output was 'kill: 50521: No such process'
2024-10-20T18:57:00 Error opnsense /usr/local/etc/rc.linkup: The command '/bin/kill -'TERM' '19286''(pid:/var/run/unbound.pid) returned exit code '1', the output was 'kill: 19286: No such process'
2024-10-20T18:57:00 Warning radvd exiting, 1 sigterm(s) received
2024-10-20T18:57:00 Warning opnsense /usr/local/etc/rc.linkup: dhcpd_radvd_configure(manual) found no suitable IPv6 address on lan(re0)
2024-10-20T18:57:00 Error opnsense /usr/local/etc/rc.linkup: The command '/bin/kill -'TERM' '50521''(pid:/var/dhcpd/var/run/dhcpdv6.pid) returned exit code '1', the output was 'kill: 50521: No such process'
Logged
Server07
Newbie
Posts: 35
Karma: 0
Re: OpnSense hangs due to Ipv6
«
Reply #4 on:
October 28, 2024, 03:21:10 pm »
Hello, until now I saw no effect on “Prefer to use IPv4 even if IPv6 is available", but I recognized the relation, that having no devices on my VLANs, the system had no issue for a complete week (vs before min once per day), when I was traveling.
I now deleted both VLANs and also related networks in the Omada controller, lets see if it remains stable!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
OpnSense hangs due to Ipv6