OPNsense Forum

International Forums => German - Deutsch => Topic started by: Server07 on October 13, 2024, 12:45:04 PM

Title: OPnSense IPv6 Problem und blockiert Zugriff
Post by: Server07 on October 13, 2024, 12:45:04 PM
Hallo,

meine OPnSense zeigt in letzten Tagen folgende Fehler & Problem lässt sich scheinbar nur miteinem Reboot lösen. Komme dann nicht mehr auf die OpnSense selber drauf per HTTP oder SSH. Reboot muss ich via Shell am Gerät selber machen.

DeutscheGlasfaser gibt mir dann wieder eine IP wie erwartet.
100.118.83.aaa/16
2a00:aaaa:bbbb:cc::cce9/128

DG habe ich folgende Einstellungen:

DeutscheGlasfaser (wan) - re1:
Use IPv4 connectivity - check
Prefix delegation size - 56
Request prefix only - not checked (sonst bekomme ich keine IPv6, sondern nur fe80...)

LAN (lan) - re0:
IPv6 Configuration Type: Track Interface

Versions OPNsense 24.7.6-amd64 FreeBSD 14.1-RELEASE-p5 OpenSSL 3.0.15

Konnte folgende Fehler in den Log files zu dem Zeitpunkt des Abbruchs -  nur folgndendes finden:

2024-10-13T10:02:28   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : vxlan_configure_do())   
2024-10-13T10:02:28   Notice   opnsense   /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for lan(re0)   
2024-10-13T10:02:28   Notice   kernel   <6>vlan0.10: link state changed to UP   
2024-10-13T10:02:28   Notice   kernel   <6>vlan0.1: link state changed to UP   
2024-10-13T10:02:28   Notice   kernel   <6>re0: link state changed to UP   
2024-10-13T10:02:25   Notice   opnsense   /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for opt2(vlan0.1)   
2024-10-13T10:02:25   Notice   opnsense   /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for lan(re0)   
2024-10-13T10:02:24   Notice   kernel   <6>vlan0.10: link state changed to DOWN   
2024-10-13T10:02:24   Notice   kernel   <6>vlan0.1: link state changed to DOWN   
2024-10-13T10:02:24   Notice   kernel   <6>re0: link state changed to DOWN   
2024-10-13T10:02:24   Notice   kernel   <6>re0: watchdog timeout   
2024-10-13T10:02:23   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure newwanip_map:rfc2136 (,opt2)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : unbound_configure_do(,wan,lan,opt2))   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : openssh_configure_do(,wan,lan,opt2))   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : opendns_configure_do())   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : ntpd_configure_do())   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : dnsmasq_configure_do())   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (execute task : dhcrelay_configure_if(,wan,lan,opt2,inet6))   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip_map (,wan,lan,opt2,inet6)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (,opt2)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn (,opt2)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (,lan)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn (,lan)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (,wan)   
2024-10-13T10:02:22   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn (,wan)   
2024-10-13T10:02:21   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn_map (execute task : wireguard_configure_do())   
2024-10-13T10:02:21   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn_map (execute task : openvpn_configure_do(,wan,lan,opt2))   
2024-10-13T10:02:21   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn_map (execute task : ipsec_configure_do(,wan,lan,opt2))   
2024-10-13T10:02:21   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure vpn_map (,wan,lan,opt2,inet6)   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure dns (execute task : unbound_configure_do())   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure dns (execute task : dnsmasq_configure_do())   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure dns ()   
2024-10-13T10:02:19   Warning   opnsense   /usr/local/etc/rc.linkup: dhcpd_radvd_configure(auto) found no suitable IPv6 address on opt2(vlan0.1)   
2024-10-13T10:02:19   Notice   dhcp6c   dhcp6c_script: REQUEST on re1 renewal   
2024-10-13T10:02:19   Notice   dhcp6c   dhcp6c_script: REQUEST on re1 executing   
2024-10-13T10:02:19   Warning   opnsense   /usr/local/etc/rc.linkup: dhcpd_radvd_configure(auto) found no suitable IPv6 address on lan(re0)   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure monitor (execute task : dpinger_configure_do(,[WAN_DHCP6]))   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.newwanipv6: plugins_configure monitor (,[WAN_DHCP6])   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.newwanipv6: ROUTING: keeping inet6 default route to fe80::ff:fe04:101%re1   
2024-10-13T10:02:19   Notice   opnsense   /usr/local/etc/rc.newwanipv6: ROUTING: configuring inet6 default gateway on wan   
2024-10-13T10:02:19   Error   opnsense   /usr/local/etc/rc.linkup: The command '/bin/kill -'TERM' '6788''(pid:/var/run/dhcpleases6.pid) returned exit code '1', the output was 'kill: 6788: No such process'   
2024-10-13T10:02:19   Error   opnsense   /usr/local/etc/rc.linkup: The command '/bin/kill -'TERM' '5987''(pid:/var/dhcpd/var/run/dhcpdv6.pid) returned exit code '1', the output was 'kill: 5987: No such process'   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.newwanipv6: ROUTING: entering configure using wan, lan, opt2   
2024-10-13T10:02:18   Warning   opnsense   /usr/local/etc/rc.newwanipv6: dhcpd_radvd_configure(auto) found no suitable IPv6 address on opt2(vlan0.1)   
2024-10-13T10:02:18   Warning   opnsense   /usr/local/etc/rc.newwanipv6: dhcpd_radvd_configure(auto) found no suitable IPv6 address on lan(re0)   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure())   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure dhcp ()   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure ipsec (execute task : ipsec_configure_do(,opt2))   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure ipsec (,opt2)   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure monitor (execute task : dpinger_configure_do(,[]))   
2024-10-13T10:02:18   Notice   opnsense   /usr/local/etc/rc.linkup: plugins_configure monitor (,[])   
2024-10-13T10:02:18   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: 6788'   
2024-10-13T10:02:18   Error   opnsense   /usr/local/etc/rc.newwanipv6: The command '/usr/local/sbin/dhcpd -6 -user dhcpd -group dhcpd -chroot /var/dhcpd -cf /etc/dhcpdv6.conf -pf /var/run/dhcpdv6.pid re0 vlan0.1' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.4.3-P1 Copyright 2004-2022 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Config file: /etc/dhcpdv6.conf Database file: /var/db/dhcpd6.leases PID file: /var/run/dhcpdv6.pid Wrote 0 NA, 0 TA, 1 PD leases to lease file. No subnet6 declaration for vlan0.1 (fe80::201:2eff:fe96:7406). ** Ignoring requests on vlan0.1. If this is not what you want, please write a subnet6 declaration in your dhcpd.conf file for the network segment to which interface vlan0.1 is attached. ** No subnet6 declaration for re0 (fe80::201:2eff:fe96:7406). ** Ignoring requests on re0. If this is not what you want, please write a subnet6 declaration in your dhcpd.conf file for the network segment to which interface re0 is attached. ** Not configured to listen on any interfaces! If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging. exiting.'
Title: Re: OPnSense IPv6 Problem und blockiert Zugriff
Post by: Server07 on October 13, 2024, 02:31:16 PM
Es steigt jetzt mittlerweile alle paar Stunden aus. Selbst "11- restart all services" in der shell hilf nicht.
Ist meine DG Konfiguration falsch oder verschluckt sich die OPNSense, weil DG evtl. was umgestellt hat?

Habe das ganze jetzt mal nach folgender Anleitung umkonfiguriert. mal schauen ob das Problem damit gelöst ist:

https://www.blogger-it.de/2023/08/20/ipv6-einrichtung-opnsense-deutsche-glasfaser/