-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ BE 23.10 ... BE 24.10_7-amd64 ] Automatic fail-over to a Fallback Gateway still fails #8064
Comments
Background Connection: FttB ; DSL into Flat ; "M-Net Premium IP" : Connections of this type have caused problems before; Details
[x] Check: All of this is working as to be expected :-)
|
Additionally enabling IPv6 for LAN: . . . "IPv6 Configuration Type" = "Track Interface" Test Site Results German Test Site: "wieistmeineip.de" . . . Ihre IPv4-Adresse lautet: xxx.xxx.xxx.xxx Hope Kind regards |
Completely dis-abling IPv6: . . . WAN interface "MNET" : Flint_GW (active) "111 (upstream)" BUT: Hint: Re-start the Fallback IPv4 Gateway results into proper fallback default IPv4 route. REBOOT: RE-CONNECT: DIS-CONNECT: RE-CONNECT: |
In -> System: Settings: General, Even after re-starting the Fallback IPv4 Gateway, Even ssh -> : "host ..." delivers, but "ping ..." fails Although -> Services: Unbound DNS: General : "Enable Unbound" |
Probably related: |
Further observations: . -> System: Gateways: Configuration : Disable Failover Gateway:
. -> Interfaces: Disable Interface:
.-> un-plug connection:
|
@Manfred-Knick I'm sorry to say it's very hard to follow your report. Can you break this down into the initial issue and the relevant logs? Otherwise I'm unable to follow. |
Hallo, Franco! Kurzfassung, aktueller Stand: Loosing the primary connection [ Dual Stack IPv4 + dynamic IPv6 ] , System: Gateways: Configuration: System: Log Files: General Mein Eindruck: No 'automatic' work-around; System: Gateways: Configuration: Routes (correct now): Mein Verdacht: Grüße aus einem frisch verschneiten München |
. # cd /var/log . <<<<<<<<<< <<<<<<<<<< the following is as to be expected: >>>>>>>>>> >>>>>>>>>> . # grep -s -R "MNET_" ./gateways/gateways_20241123.log:<165>1 2024-11-23T11:18:52+01:00 aaa.bbbbb.de ./gateways/gateways_20241123.log:<165>1 2024-11-23T11:18:52+01:00 aaa.bbbbb.de ./gateways/gateways_20241123.log:<165>1 2024-11-23T11:18:57+01:00 aaa.bbbbb.de ./gateways/gateways_20241123.log:<165>1 2024-11-23T11:18:57+01:00 aaa.bbbbb.de . # cat system/latest.log <45>1 2024-11-23T11:10:53+01:00 aaa.bbbbb.de syslog-ng 9405 - [meta sequenceId="1"] . <<<<<<<<<< <<<<<<<<<< not as to be expected: >>>>>>>>>> >>>>>>>>>> <13>1 2024-11-23T11:19:49+01:00 aaa.bbbbb.de opnsense-business 47641 - [meta sequenceId="1"] <11>1 2024-11-23T11:25:10+01:00 aaa.bbbbb.de send_heartbeat.py 65880 - [meta sequenceId="1"] <27>1 2024-11-23T11:29:20+01:00 aaa.bbbbb.de dhcp6c 41978 - [meta sequenceId="1"] . { ... iterated ... } |
No, I just use one connection with no fallback. M-Net is quite reliable... ;-) |
Allerdings! Mir geht es um die Validierung, ob ich OPNsense BE inklusive dieser Option ("Absicherung via Fallback") im Kunden-Umfeld anbieten und verlässlich einsetzen kann. Bisher ist die Notwendigkeit "Manual Intervention" dafür leider ein K.o.-Kriterium :-( |
Observation:
|
All I can see here is that monitoring is either not set up correctly or the prerequisites for reconnect are not given.
It just shows there is something else that's weird. BTW, IPv4 and IPv6 failovers act independently of each other. In most cases the link is dead on both ends but you have to consider gateway groups can be set for IPv4 and IPv6 separately and the ordering is not strict between address families. I'd suggest commercial support for these types of issues since it requires looking at the box as it exhibits the behaviour to find the problems with the configuration. Cheers, |
Lieber Franco: .- System: Gateways: Configuration : 2 + 1 GW, Prio 101 | 102 | 111 .- obige Fehlermeldung: ausschließlich, nachdem die DSL-MoDem-Verbindung gekappt wurde .- reset: keine einzige Fehlermeldung, alles wie erwartet: Wieso OPNsense BE in [ System: Gateways: Configuration ] mein MNET_DHCP6 immer noch als "102 (upstream)" führt ? Wir hier im Office können problemlos ggfs. auf's Reboot-Knöpfchen drücken. Für beides bitte ich um Verständnis. Meinerseits werde ich diese Nachforschung zunächst einstellen. Was mir sehr wichtig ist: Herzliche Grüße |
Hallo Manfred, Ich kenne leider das System nicht und auch nicht die Einstellungen. Es ists darauf zu achten, dass alle Gateway Monitor IPs über separate Host Routes laufen und das DNS dazu. Diese Einstellung muss stimmig sein. Auch muss das Gateway Monitoring bei allen verwendenten Gateways aktiviert sein. Es müssen alle Gateways funktionieren mit entsprechenden Angaben über Loss usw. Dann ist darauf zu achten, dass gegebener Paketverlust oder Latenz auf manchen Leitungen normal ist (z.B. Mobile/LTE) -- dort funktionieren die Standardeinstellungen nicht. Teilweise auch bei ISP Standleitungen bei zu viel Traffic. Dann auch bitte das System / Log Files / General Log anhängen für rc.newwanip -- IPv6 bitte auch ausklammern. Es macht das Debugging zu wild. Alles weitere ist wie gesagt Business Support. Da schauen wir in einer Remote Session direkt drauf. Alles viel einfacher und zielführender. Wenn es noch Bugs gibt werden diese dann auch behoben, sonst reicht ja die Rekonfiguration. Grüsse |
PS: Logs an [email protected] -- danke |
Guten Morgen! Überraschung: Ich habe einen alten Test aus meinem ersten OP #7335 wiederholt: Wenn ich Jetzt zum erfreulichen Teil: Wenn ich danach das DSL-MoDem-Kabel ziehe, . . . . . Fallback erfolgreich, ohne manuellen Eingriff Allerdings mit Fragezeichen : Wieso gibt es immer noch ein GW "MNET_DHCP6" ? Wenn ich danach das DSL-MoDem-Kabel wieder stecke, . . . . . Retour erfolgreich, ohne manuellen Eingriff HTH PS: Screenshots, Logs gingen wieder direkt an [email protected] |
Wenn der Gateway 1x editiert wurde bleibt er natürlich im System. Das ist allein schon deswegen nötig, weil man das Monitoring einschaltet da es im Standard aus ist. Ab dann bleibt der Gateway auch wenn er nicht benötigt wird, aber kann gelöscht werden. Das wäre ja schon ein Anfang, wenn IPv6 hier negativ auf IPv4 einwirkt. Vielleicht reicht es schon das Monitoring abzustellen in MNET_DHCP6. Gibt es denn auf dem Failover auch ein funktionierendes IPv6? |
Danke für Deine Erläuterung!
System: Gateways: Configuration: -> "Edit Gateway":
widerspricht m.V.n. dem help-text (i) ; werde ich aber natürlich testen
Wie oben dokumentiert: |
as expected: does not help; default route not being switched |
@Manfred-Knick ping :) |
24.10.1 business edition released . . . o system: ignore gateway monitor status on boot when setting up routes Having upgraded to Version OPNsense 24.10.1-amd64, Thus I would like to confirm . . . . . "SOLVED - WORKSFORME" . Many thanks @franco, @meyergru, @emesterhazy |
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
Loosing the primary connection [ M-Net Premium IP, "Dual Stack" IPv4 + (dynamic) IPv6 ] ,
automatic fail-over to another IPv4 Fallback Gateway fails.
Hint:
Although "Loss = 100%" and "Status=Offline",
the IPv6 part of the WAN interface does not get recognized as "defunct". <----- !
To Reproduce
Simplest: by un-plugging the DSL connection / MoDem cable.
Expected behavior
The lost primary IPv6 connection should not remain "active", but result into "defunct" proper
Describe alternatives you considered
Disabling the broken IPv6 in "System: Gateways: Configuration" does not help.
Possible work-around
A) Manually delete IPv6 default gateway via "route -6 delete -net default",
afterwards re-start the Fallback IPv4 Gateway, e.g.:
-> System: Gateways: Configuration,
. . . select Fallback Gateway -> Edit, -> Save, ->Apply
to allow configuration of its alternative default route.
B) Reboot
Confirmation
Re-plugging the DSL connection / MoDem cable properly re-instantiates the primary connection without any further intervention.
Additional context
Pre-decessor: #7335
Probably related: #5630
Environment
OPNsense Business Edition 24.10_7-amd64
Processor: Intel Haswell I3-4360T
Memory: 32 GiB
Network:
. Intel I218-V
. Intel I350-T2 v2
. Intel I350-T4 v2
The text was updated successfully, but these errors were encountered: