OPNSense bekommt keine IPv6-Adresse mehr (Deutsche Glasfaser)

Started by gothbert, April 21, 2026, 09:09:42 PM

Previous topic - Next topic
Hallo,

ich denke, dass es nach dem Update auf Version 26.1 (von 25.7?) passiert ist (aktuell: 26.1.6): mein Interface WAN_DHCP6 bezieht keine IPv6-Adresse mehr (Provider: Deutsche Glasfaser Dual Stack IPv4/IPv6).

Die Option "Use IPv4 connectivity" ist weggefallen, aber sie scheint nun der Standard zu sein. Einstellungen zum WAN-Interface anbei. Keine Änderungen vorgenommen.

Die OPNSense-Firewall ist per Kupferport igb9 mit dem Genexis-Medienwandler verbunden. IPv4-Konnektivität besteht, WAN_DHCP eine eine IPv4-Adresse. Im Log sehe ich regelmäßig vergebliche Versuche von

2026-04-21T20:17:01 Notice dhcp6c Sending Solicit on igb9
Debug logging ist angeschaltet bei Interfaces:Logging, aber keine Debug-Meldungen im Log zu sehen.

Liegt es am Provider oder an OPNSense? Ich habe etwas davon gelesen, das Parent Interface zu setzen, aber finde keine passende Einstellung.

Wer kann mir bitte helfen?

Viele Grüße
Boris

Ich betreibe meine Opnsense auch direkt am DG-Anschluss. Ich hatte mit Updates der Opnsense in dieser Hinsicht bisher nie Probleme gehabt. Die Option ,,Use IPv4 connectivity" gibt es nur für PPPoE-Verbindungen. Dies hat bei der DG keine Relevanz.

Was steht unter Interfaces -> Overview -> (WAN-Interface)?


Du kannst zunächst folgendes probieren:

  • Nimm mal das Glasfasermodem für kurze Zeit vom Stromnetz und warte nach Wiederherstellung der Stromversorgung ca. 15 Minuten. Prüfe dann, ob die WAN-Schnittstelle IPv6-Adresse und -Präfix erhält
  • Falls Punkt 1 nicht hilft. Trenne die Ethernet-Verbindung zum ONT und starte einen Paketmitschnitt auf der WAN-Schnittstelle (Protocol: IPv6, Count: 3000). Schließe dass Ethernetkabel dann wieder an und lasse den Mitschnitt für ca. 15-20 Minuten mitlaufen.


Danke Schnipp!

You cannot view this attachment.

Ich mache das mit dem Neustart des Medienwandlers/Modems, wenn ich am Wochenende wieder physischen Zugriff auf den Anschluss habe.

Da hatte doch eben noch jemand ein ähnliches Problem, nur hinter einer Fritzbox. Vielleicht hilft hier ein mehrfacher refresh ja auch? Nicht, daß da auch radvd läuft...?

Die DG scheint - zumindest an manchen Anschlüssen - erst nach einigen Minuten eine IPv6 zu vergeben. Warte mal 15 Minuten ab.
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, ZTE F6005

1100 down / 450 up, Bufferbloat A+

Tja, geht nicht... :-(

Habe das Genexis vom Strom genommen und wieder verbunden. Die OpnSense bekommt dann gleich wieder eine IPv4-Adresse auf dem WAN-Interface igb9, bettelt aber regelmäßig um eine IPv6-Adresse. Auch nach 30 Minuten kein Erfolg, auch nicht nach mehrmaligen Reload im GUI.

ifctl -6pi igb9 zeigt nichts.

ifconfig igb9 zeigt

igb9: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        description: WAN (wan)
        options=48500b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 7c:5a:1c:57:15:05
        inet 100.84.160.102 netmask 0xffff0000 broadcast 100.84.255.255
        inet6 fe80::7e5a:1cff:fe57:1505%igb9 prefixlen 64 scopeid 0xa
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>

So schaut es im Log aus:

2026-04-26T19:40:56 Notice dhcp6c Sending Solicit on igb9
2026-04-26T19:39:39 Notice dhcp6c Sending Solicit on igb9
2026-04-26T19:39:02 Notice dhcp6c Sending Solicit on igb9
2026-04-26T19:38:43 Notice dhcp6c Sending Solicit on igb9
2026-04-26T19:38:34 Notice dhcp6c Sending Solicit on igb9
2026-04-26T19:38:29 Notice dhcp6c Sending Solicit on igb9
2026-04-26T19:38:27 Notice dhcp6c Sending Solicit on igb9
2026-04-26T19:38:26 Notice dhcp6c Sending Solicit on igb9
2026-04-26T19:38:26 Notice dhcp6c restarting
2026-04-26T19:38:26 Notice dhcp6c rtsold_script: reloading dhcp6c
2026-04-26T19:38:21 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : wireguard_sync())
2026-04-26T19:38:21 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : webgui_configure_do(,[wan]))
2026-04-26T19:38:20 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : vxlan_configure_do())
2026-04-26T19:38:20 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : unbound_configure_do(,[wan]))
2026-04-26T19:38:20 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : openssh_configure_do(,[wan]))
2026-04-26T19:38:20 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : opendns_configure_do())
2026-04-26T19:38:20 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure newwanip:rfc2136 (1,[wan])
2026-04-26T19:38:20 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : ntpd_configure_do())
2026-04-26T19:38:20 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : dhcrelay_configure_if(,[wan],inet))
2026-04-26T19:38:20 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (,[wan],inet)
2026-04-26T19:38:19 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : wireguard_configure_do())
2026-04-26T19:38:19 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : openvpn_configure_do(,[wan]))
2026-04-26T19:38:19 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : ipsec_configure_do(,[wan]))
2026-04-26T19:38:19 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (,[wan],inet)
2026-04-26T19:38:18 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dns (execute task : unbound_configure_do(1))
2026-04-26T19:38:18 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dns (execute task : dnsmasq_configure_do(1))
2026-04-26T19:38:18 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dns (1)
2026-04-26T19:38:18 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dhcp (execute task : radvd_configure_dhcp(1))
2026-04-26T19:38:18 Warning opnsense /usr/local/etc/rc.configure_interface: dhcpd_dhcp6_configure() found no suitable IPv6 address on lan(bridge0)
2026-04-26T19:38:17 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure monitor (execute task : dpinger_configure_do(,[WAN_DHCP,UDM]))
2026-04-26T19:38:17 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure monitor (,[WAN_DHCP,UDM])
2026-04-26T19:38:17 Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: setting inet default route to 100.84.0.1
2026-04-26T19:38:17 Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: configuring inet default gateway on wan
2026-04-26T19:38:17 Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: setting inet interface route to 10.21.1.1 via igb9
2026-04-26T19:38:17 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(1))
2026-04-26T19:38:17 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure dhcp (1)
2026-04-26T19:38:17 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure ipsec (execute task : ipsec_configure_do(1,wan))
2026-04-26T19:38:17 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure ipsec (1,wan)
2026-04-26T19:38:17 Warning opnsense /usr/local/etc/rc.configure_interface: The required WAN_DHCP6 IPv6 interface address could not be found, skipping.
2026-04-26T19:38:17 Warning opnsense /usr/local/etc/rc.configure_interface: Skipping gateway WAN_DHCP6 due to empty 'gateway' property.
2026-04-26T19:38:17 Warning opnsense /usr/local/etc/rc.configure_interface: Skipping gateway WAN_DHCP6 due to empty 'monitor' property.
2026-04-26T19:38:17 Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: entering configure using wan
2026-04-26T19:38:17 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure monitor (execute task : dpinger_configure_do(1,[WAN_DHCP6,WAN_DHCP,UDM]))
2026-04-26T19:38:17 Notice opnsense /usr/local/etc/rc.configure_interface: plugins_configure monitor (1,[WAN_DHCP6,WAN_DHCP,UDM])
2026-04-26T19:38:17 Error opnsense /usr/local/etc/rc.configure_interface: ROUTING: refusing to set inet gateway on addressless wan(igb9)
2026-04-26T19:38:17 Warning opnsense /usr/local/etc/rc.configure_interface: ROUTING: refusing to set interface route on addressless wan(igb9)
2026-04-26T19:38:17 Warning opnsense /usr/local/etc/rc.configure_interface: ROUTING: refusing to set interface route on addressless wan(igb9)
2026-04-26T19:38:16 Notice opnsense /usr/local/etc/rc.newwanip: IP renewal starting (new: 100.84.160.102, old: 100.84.160.102, interface: wan, device: igb9, force: yes)

"Skipping gateway WAN_DHCP6" sieht verdächtig aus.

Versuch bitte mal "Request Prefix only" zu aktivieren und in der "Optional prefix ID" eine ID, die ungleich der verwendeten IDs in allen VLANs ist.
Die Präfixlänge /56 ist korrekt.

Ich gehe davon aus, dass Du bei DG die Betriebsart "eigener Router" gewählt hast? Das ist Grundvoraussetzung - normalerweise machen die irgendeinen Quatsch mit AFTR, soweit ich weiß. Siehe auch hier: https://forum.opnsense.org/index.php?topic=49000.0

"Skipping gateway" ist ein Folgefehler: Ohne IPv6 auf dem WAN gibt es auch kein IPv6-Gateway.
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, ZTE F6005

1100 down / 450 up, Bufferbloat A+