1
22.7 Legacy Series / IPv6 Issues with 22.7_4
« on: August 15, 2022, 02:33:10 pm »
After three years of pretty much flawless operation I encountered an issue I'm not able to solve myself.
Since my upgrade to 22.7 I keep losing IPv6, intermittently.
Service is dslite, upon release/reload of the interface, manually restarting dhcpd6, IPv6 is working fine, but after a while it stops
start:
Mon Aug 15 12:47:48 PM CEST 2022 64 bytes from 2001:4860:4860::8888: icmp_seq=1 ttl=120 time=9.35 ms
stop:
Mon Aug 15 01:44:10 PM CEST 2022 64 bytes from 2001:4860:4860::8888: icmp_seq=3280 ttl=120 time=7.74 ms
These are the events I see in the log at the given time:
2022-08-15T13:44:17 1 Error opnsense 11210 /usr/local/etc/rc.resolv_conf_generate: The command '/sbin/route add -host -'inet6' '2001:4860:4860::8888' 'xxxx' returned exit code '71', the output was 'route: xxxx: Name does not resolve'
2022-08-15T13:44:16 1 Error opnsense 99065 /usr/local/etc/rc.resolv_conf_generate: The command '/sbin/route add -host -'inet6' '2001:4860:4860::8888' 'xxxx' returned exit code '71', the output was 'route: xxxx: Name does not resolve'
2022-08-15T13:44:12 1 Notice dhcp6c 8274 dhcp6c RELEASE on igb0 - running dns reload
2022-08-15T13:44:11 1 Notice dhcp6c 94544 dhcp6c RELEASE on igb0 - running dns reload
2022-08-15T13:44:11 1 Notice dhcp6c 89645 RTSOLD script - Sending SIGHUP to dhcp6c
2022-08-15T13:44:10 1 Notice opnsense 64287 plugins_configure hosts (execute task : unbound_hosts_generate())
2022-08-15T13:44:10 1 Notice opnsense 64287 plugins_configure hosts (execute task : dnsmasq_hosts_generate())
2022-08-15T13:44:10 1 Notice opnsense 64287 plugins_configure hosts ()
2022-08-15T13:44:10 1 Error opnsense 64287 /usr/local/etc/rc.newwanip: The command '/sbin/route add -host -'inet6' '2001:4860:4860::8888' 'xxxx' returned exit code '71', the output was 'route: xxxx: Name does not resolve'
2022-08-15T13:44:10 1 Error opnsense 64287 /usr/local/etc/rc.newwanip: On (IP address: 100.xxx.xxx.xxx) (interface: WAN[wan]) (real interface: igb0).
2022-08-15T13:44:10 1 Error opnsense 64287 /usr/local/etc/rc.newwanip: IPv4 renewal is starting on 'igb0'
Then after 30 minutes of no IPv6, this happens, once rc.newwanipv6 is done, IPv6 is working again, the gateway is online
2022-08-15T14:14:15 1 Error opnsense 52540 /usr/local/etc/rc.newwanipv6: On (IP address: xxxx) (interface: WAN[wan]) (real interface: igb0).
2022-08-15T14:14:15 1 Error opnsense 52540 /usr/local/etc/rc.newwanipv6: IPv6 renewal is starting on 'igb0'
2022-08-15T14:14:14 1 Notice dhcp6c 34434 dhcp6c REQUEST on igb0 - running newipv6
2022-08-15T14:14:12 1 Notice dhcp6c 16796 RTSOLD script - Sending SIGHUP to dhcp6c
2022-08-15T14:14:10 1 Notice dhcp6c 11598 RTSOLD script - Sending SIGHUP to dhcp6c
2022-08-15T14:14:10 1 Notice opnsense 89525 plugins_configure hosts (execute task : unbound_hosts_generate())
2022-08-15T14:14:10 1 Notice opnsense 89525 plugins_configure hosts (execute task : dnsmasq_hosts_generate())
2022-08-15T14:14:10 1 Notice opnsense 89525 plugins_configure hosts ()
2022-08-15T14:14:10 1 Error opnsense 89525 /usr/local/etc/rc.newwanip: The command '/sbin/route add -host -'inet6' '2001:4860:4860::8888' 'xxxx' returned exit code '71', the output was 'route: xxxx: Name does not resolve'
2022-08-15T14:14:10 1 Error opnsense 89525 /usr/local/etc/rc.newwanip: On (IP address: 100.115.53.238) (interface: WAN[wan]) (real interface: igb0).
2022-08-15T14:14:10 1 Error opnsense 89525 /usr/local/etc/rc.newwanip: IPv4 renewal is starting on 'igb0'
2022-08-15T14:14:09 1 Notice dhclient 84371 Creating resolv.conf
It's a multi-wan setup with dpinger for gateway monitoring.
This behavior is really strange. Any pointers or assistance would be most appreciated.
Since my upgrade to 22.7 I keep losing IPv6, intermittently.
Service is dslite, upon release/reload of the interface, manually restarting dhcpd6, IPv6 is working fine, but after a while it stops
start:
Mon Aug 15 12:47:48 PM CEST 2022 64 bytes from 2001:4860:4860::8888: icmp_seq=1 ttl=120 time=9.35 ms
stop:
Mon Aug 15 01:44:10 PM CEST 2022 64 bytes from 2001:4860:4860::8888: icmp_seq=3280 ttl=120 time=7.74 ms
These are the events I see in the log at the given time:
2022-08-15T13:44:17 1 Error opnsense 11210 /usr/local/etc/rc.resolv_conf_generate: The command '/sbin/route add -host -'inet6' '2001:4860:4860::8888' 'xxxx' returned exit code '71', the output was 'route: xxxx: Name does not resolve'
2022-08-15T13:44:16 1 Error opnsense 99065 /usr/local/etc/rc.resolv_conf_generate: The command '/sbin/route add -host -'inet6' '2001:4860:4860::8888' 'xxxx' returned exit code '71', the output was 'route: xxxx: Name does not resolve'
2022-08-15T13:44:12 1 Notice dhcp6c 8274 dhcp6c RELEASE on igb0 - running dns reload
2022-08-15T13:44:11 1 Notice dhcp6c 94544 dhcp6c RELEASE on igb0 - running dns reload
2022-08-15T13:44:11 1 Notice dhcp6c 89645 RTSOLD script - Sending SIGHUP to dhcp6c
2022-08-15T13:44:10 1 Notice opnsense 64287 plugins_configure hosts (execute task : unbound_hosts_generate())
2022-08-15T13:44:10 1 Notice opnsense 64287 plugins_configure hosts (execute task : dnsmasq_hosts_generate())
2022-08-15T13:44:10 1 Notice opnsense 64287 plugins_configure hosts ()
2022-08-15T13:44:10 1 Error opnsense 64287 /usr/local/etc/rc.newwanip: The command '/sbin/route add -host -'inet6' '2001:4860:4860::8888' 'xxxx' returned exit code '71', the output was 'route: xxxx: Name does not resolve'
2022-08-15T13:44:10 1 Error opnsense 64287 /usr/local/etc/rc.newwanip: On (IP address: 100.xxx.xxx.xxx) (interface: WAN[wan]) (real interface: igb0).
2022-08-15T13:44:10 1 Error opnsense 64287 /usr/local/etc/rc.newwanip: IPv4 renewal is starting on 'igb0'
Then after 30 minutes of no IPv6, this happens, once rc.newwanipv6 is done, IPv6 is working again, the gateway is online
2022-08-15T14:14:15 1 Error opnsense 52540 /usr/local/etc/rc.newwanipv6: On (IP address: xxxx) (interface: WAN[wan]) (real interface: igb0).
2022-08-15T14:14:15 1 Error opnsense 52540 /usr/local/etc/rc.newwanipv6: IPv6 renewal is starting on 'igb0'
2022-08-15T14:14:14 1 Notice dhcp6c 34434 dhcp6c REQUEST on igb0 - running newipv6
2022-08-15T14:14:12 1 Notice dhcp6c 16796 RTSOLD script - Sending SIGHUP to dhcp6c
2022-08-15T14:14:10 1 Notice dhcp6c 11598 RTSOLD script - Sending SIGHUP to dhcp6c
2022-08-15T14:14:10 1 Notice opnsense 89525 plugins_configure hosts (execute task : unbound_hosts_generate())
2022-08-15T14:14:10 1 Notice opnsense 89525 plugins_configure hosts (execute task : dnsmasq_hosts_generate())
2022-08-15T14:14:10 1 Notice opnsense 89525 plugins_configure hosts ()
2022-08-15T14:14:10 1 Error opnsense 89525 /usr/local/etc/rc.newwanip: The command '/sbin/route add -host -'inet6' '2001:4860:4860::8888' 'xxxx' returned exit code '71', the output was 'route: xxxx: Name does not resolve'
2022-08-15T14:14:10 1 Error opnsense 89525 /usr/local/etc/rc.newwanip: On (IP address: 100.115.53.238) (interface: WAN[wan]) (real interface: igb0).
2022-08-15T14:14:10 1 Error opnsense 89525 /usr/local/etc/rc.newwanip: IPv4 renewal is starting on 'igb0'
2022-08-15T14:14:09 1 Notice dhclient 84371 Creating resolv.conf
It's a multi-wan setup with dpinger for gateway monitoring.
This behavior is really strange. Any pointers or assistance would be most appreciated.

