Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - cayenne

#1
Quote from: bringha on May 27, 2023, 10:08:23 AM
@Gromhelm That's interesting!

Exactly the other way round for my place:

Finally test-ipv6.com reports that I have ipv6 connectivity with 23.1.8 ... :o
Br br

Like me, who created this post.
#2
Hi @franco,

Has the problem been solved?

I've upgraded to OPNsense 23.1.8 and I'm not having the same problem. The IPv6 default route is not deleted.
#3
Hello,
I have just upgraded to version 23.1.2 and the problem is still there
#4
My OPNSense WAN interface is not DHCPv6 but SLAAC.

Maybe the patch is just for those who are in DHCPv6 @franco ?
#5
Quote from: franco on February 22, 2023, 04:27:00 PM
Can you try this patch?

https://github.com/opnsense/core/commit/9eaff5c21907d

# opnsense-patch 9eaff5c21907d


Cheers,
Franco
Hello,

I have just tested the patch:
# opnsense-patch 9eaff5c21907d

it's not good.

As soon as Opnsense receives a router advertisement packet, the default gateway disappears in IPv6
#6
Hello,
I have just updated OPNSense to version 23.1.1

The bug is not solved.
@franco
#7
I have just tried to analyse what is happening with a network analyser.

As soon as OPNSense receives an ICMPv6 type 134 (RA: Router Advertisement) from the Freebox, OPNSense removes the IPv6 default route

The IPv6 default route comes back when I disable/reactivate the IPv6 gateway in web interface system_gateways.php.
#8
Hello,

I have the same problem losing the default route but only in IPv6.
In IPv4, the WAN interface is configured as static IP.

https://forum.opnsense.org/index.php?topic=32263
#9
23.1 Legacy Series / Re: Default route lost
February 12, 2023, 10:14:20 AM
Hi,


I have the same problem but only on the IPv6 gateway : https://forum.opnsense.org/index.php?topic=32263.0
#10
same problem since a few months, forced to launch the reboot in console
#11
System: Log Files: General :

2023-02-03T16:47:16 Notice opnsense /usr/local/etc/rc.newwanipv6: No IP change detected for WAN_FTTH_Freebox[opt2]
2023-02-03T16:38:51 Notice opnsense /usr/local/etc/rc.newwanipv6: No IP change detected for WAN_FTTH_Freebox[opt2]
2023-02-03T16:36:16 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : webgui_configure_do(,opt2))
2023-02-03T16:36:16 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : vxlan_configure_do())
2023-02-03T16:36:16 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : unbound_configure_do(,opt2))
2023-02-03T16:36:16 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : openssh_configure_do(,opt2))
2023-02-03T16:36:16 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : opendns_configure_do())
2023-02-03T16:36:16 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : ntpd_configure_do())
2023-02-03T16:36:16 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : dyndns_configure_do(,opt2))
2023-02-03T16:36:16 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : dnsmasq_configure_do())
2023-02-03T16:36:16 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (,opt2)
2023-02-03T16:36:16 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (execute task : openvpn_configure_do(,opt2))
2023-02-03T16:36:16 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (execute task : ipsec_configure_do(,opt2))
2023-02-03T16:36:16 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (,opt2)
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: Gateway currently empty for 2001:4860:4860::8888 on opt2
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure monitor (execute task : dpinger_configure_do(,WAN_FTTH_FREEBOX_SLAAC))
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure monitor (,WAN_FTTH_FREEBOX_SLAAC)
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: Gateway currently empty for 2001:4860:4860::8888 on opt2
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure monitor (execute task : dpinger_configure_do(,Gateway_FTTH_Freebox))
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure monitor (,Gateway_FTTH_Freebox)
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: skipping IPv6 default route
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: IPv6 default gateway set to opt2
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: keeping current default gateway '192.168.220.254'
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv4 default route to 192.168.220.254
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: IPv4 default gateway set to opt2
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: entering configure using 'opt2'
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(,inet6))
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure dhcp (,inet6)
2023-02-03T16:36:15 Notice opnsense /usr/local/etc/rc.newwanipv6: IP renwal starting (new: 2a01:e0a:1fc:4xx0:xxxx:xxxx:xxxx:xxxx, old: , interface: WAN_FTTH_Freebox[opt2], device: vtnet2)
2023-02-03T16:36:11 Error dhcp6c transmit failed: Can't assign requested address
2023-02-03T16:36:11 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(1))
2023-02-03T16:36:11 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcp (1)
2023-02-03T16:36:11 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: skipping IPv6 default route
2023-02-03T16:36:11 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: IPv6 default gateway set to opt2
2023-02-03T16:36:11 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: setting IPv4 default route to 192.168.220.254
2023-02-03T16:36:11 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: IPv4 default gateway set to opt2
2023-02-03T16:36:11 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: entering configure using defaults
2023-02-03T16:36:11 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : webgui_configure_do(1))
2023-02-03T16:36:11 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : unbound_cache_flush(1))
2023-02-03T16:36:11 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : openssh_configure_do(1))
2023-02-03T16:36:11 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (1)
2023-02-03T16:36:10 Notice dhcp6c RTSOLD script - Starting dhcp6 client
2023-02-03T16:36:10 Notice syslog-ng syslog-ng starting up; version='3.38.1'
2023-02-03T16:35:32 Notice dhcp6c dhcp6c EXIT on vtnet2 - running newipv6
2023-02-03T16:35:32 Notice syslog-ng syslog-ng shutting down; version='3.38.1'
#12
Quote from: franco on February 03, 2023, 09:18:52 AM
Let's try this patch to diagnose... https://github.com/opnsense/core/commit/930685e7d6

# opnsense-patch 930685e7d6

Does it keep working after reboot?


Cheers,
Franco

Hello,

I just tested and it's not good.
I just tested commenting out lines 65 and 69 in the "/usr/local/opnsense/scripts/interfaces/rtsold_resolvconf.sh" file.
I then restarted the OPNSense.

It doesn't change the behaviour. The default IPv6 route would disappear after 5 minutes~ (it's random time).



#13
System: Log Files: General on debug mode as of reboot

2023-02-02T17:20:44 Notice opnsense /usr/local/etc/rc.newwanipv6: No IP change detected for WAN_FTTH_Freebox[opt2]
2023-02-02T17:15:25 Notice opnsense /usr/local/etc/rc.newwanipv6: No IP change detected for WAN_FTTH_Freebox[opt2]
2023-02-02T17:09:16 Notice opnsense /usr/local/etc/rc.newwanipv6: No IP change detected for WAN_FTTH_Freebox[opt2]
2023-02-02T17:05:43 Notice opnsense /usr/local/etc/rc.newwanipv6: No IP change detected for WAN_FTTH_Freebox[opt2]
2023-02-02T17:02:22 Notice opnsense /usr/local/etc/rc.newwanipv6: No IP change detected for WAN_FTTH_Freebox[opt2]
2023-02-02T16:59:04 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : webgui_configure_do(,opt2))
2023-02-02T16:59:04 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : vxlan_configure_do())
2023-02-02T16:59:04 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : unbound_configure_do(,opt2))
2023-02-02T16:59:04 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : openssh_configure_do(,opt2))
2023-02-02T16:59:04 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : opendns_configure_do())
2023-02-02T16:59:04 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : ntpd_configure_do())
2023-02-02T16:59:04 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : dyndns_configure_do(,opt2))
2023-02-02T16:59:04 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : dnsmasq_configure_do())
2023-02-02T16:59:04 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (,opt2)
2023-02-02T16:59:04 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (execute task : openvpn_configure_do(,opt2))
2023-02-02T16:59:04 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (execute task : ipsec_configure_do(,opt2))
2023-02-02T16:59:04 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (,opt2)
2023-02-02T16:59:03 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure monitor (execute task : dpinger_configure_do(,WAN_FTTH_FREEBOX_SLAAC))
2023-02-02T16:59:03 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure monitor (,WAN_FTTH_FREEBOX_SLAAC)
2023-02-02T16:59:03 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure monitor (execute task : dpinger_configure_do(,Gateway_FTTH_Freebox))
2023-02-02T16:59:03 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure monitor (,Gateway_FTTH_Freebox)
2023-02-02T16:59:03 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: keeping current default gateway 'fe80::8e97:eaff:fe37:xxxx%vtnet2'
2023-02-02T16:59:03 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv6 default route to fe80::8e97:eaff:fe37:xxxx
2023-02-02T16:59:03 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: IPv6 default gateway set to opt2
2023-02-02T16:59:03 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: keeping current default gateway '192.168.220.254'
2023-02-02T16:59:03 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv4 default route to 192.168.220.254
2023-02-02T16:59:03 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: IPv4 default gateway set to opt2
2023-02-02T16:59:03 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: entering configure using 'opt2'
2023-02-02T16:58:47 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(,inet6))
2023-02-02T16:58:47 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure dhcp (,inet6)
2023-02-02T16:58:47 Notice opnsense /usr/local/etc/rc.newwanipv6: IP renwal starting (new: 2a01:e0a:1fc:4xx0:xxxx:xxxx:xxxx:xxxx, old: , interface: WAN_FTTH_Freebox[opt2], device: vtnet2)
2023-02-02T16:58:46 Notice syslog-ng Configuration reload finished;
2023-02-02T16:58:46 Notice syslog-ng Configuration reload request received, reloading configuration;
2023-02-02T16:58:45 Warning opnsense /usr/local/etc/rc.routing_configure: The required WAN_FTTH_FREEBOX_SLAAC IPv6 interface address could not be found, skipping.
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.routing_configure: plugins_configure monitor (execute task : dpinger_configure_do(1,))
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.routing_configure: plugins_configure monitor (1,)
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.routing_configure: ROUTING: keeping current default gateway 'fe80::8e97:eaff:fe37:xxxx%vtnet2'
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.routing_configure: ROUTING: setting IPv6 default route to fe80::8e97:eaff:fe37:xxx
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.routing_configure: ROUTING: IPv6 default gateway set to opt2
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.routing_configure: ROUTING: keeping current default gateway '192.168.220.254'
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.routing_configure: ROUTING: setting IPv4 default route to 192.168.220.254
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.routing_configure: ROUTING: IPv4 default gateway set to opt2
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.routing_configure: ROUTING: entering configure using defaults
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (execute task : unbound_configure_do(1))
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (execute task : opendns_configure_do(1))
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (execute task : ntpd_configure_do(1))
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.bootup: miniupnpd: Starting service on interface: lan
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (execute task : miniupnpd_configure_do(1))
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (execute task : dyndns_configure_do(1))
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure bootup (1)
2023-02-02T16:58:45 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure vpn (execute task : openvpn_configure_do(1))
2023-02-02T16:58:43 Error dhcp6c transmit failed: Can't assign requested address
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure vpn (execute task : ipsec_configure_do(1))
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure vpn (1)
2023-02-02T16:58:43 Warning opnsense /usr/local/etc/rc.bootup: The required WAN_FTTH_FREEBOX_SLAAC IPv6 interface address could not be found, skipping.
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: Gateway currently empty for 2001:4860:4860::8888 on opt2
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure monitor (execute task : dpinger_configure_do(1,,1))
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure monitor (1,,1)
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dns (execute task : unbound_configure_do(1))
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dns (execute task : dnsmasq_configure_do(1))
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dns (1)
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcrelay (execute task : dhcpd_dhcrelay_configure(1))
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcrelay (1)
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(1))
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure dhcp (1)
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: skipping IPv6 default route
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: IPv6 default gateway set to opt2
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: setting IPv4 default route to 192.168.220.254
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: IPv4 default gateway set to opt2
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: ROUTING: entering configure using defaults
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : webgui_configure_do(1))
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : unbound_cache_flush(1))
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (execute task : openssh_configure_do(1))
2023-02-02T16:58:43 Notice opnsense /usr/local/etc/rc.bootup: plugins_configure early (1)
2023-02-02T16:58:42 Notice dhcp6c RTSOLD script - Starting dhcp6 client
2023-02-02T16:58:42 Notice syslog-ng syslog-ng starting up; version='3.38.1'
2023-02-02T16:58:04 Notice dhcp6c dhcp6c EXIT on vtnet2 - running newipv6
2023-02-02T16:58:04 Notice syslog-ng syslog-ng shutting down; version='3.38.1'
2023-02-02T16:58:04 Critical reboot rebooted by root
#14
Here are the Warn/erreor/critical logs after restarting the OPNSense:



2023-02-02T16:58:45 Warning opnsense /usr/local/etc/rc.routing_configure: The required WAN_FTTH_FREEBOX_SLAAC IPv6 interface address could not be found, skipping.
2023-02-02T16:58:43 Error dhcp6c transmit failed: Can't assign requested address
2023-02-02T16:58:43 Warning opnsense /usr/local/etc/rc.bootup: The required WAN_FTTH_FREEBOX_SLAAC IPv6 interface address could not be found, skipping.
2023-02-02T16:58:04 Critical reboot rebooted by root


The IPv6 default route has disappeared as of 17:02:22.
#15
After restarting OPNSense, IPv6 was good for less than 5 minutes~ and I could browse the internet in IPv6.
after 5 minutes~, the IPv6 default route disappeared from "System: Routes: Status"