Bug #12811
openServices are not restarted when PPP interfaces connect
100%
Description
Hi there, I've got a Gateway Group containing my WAN (VDSL with PPPoE) on Tier 1 and my 2nd WAN (LTE Modem) on Tier 2.
The Failover from Tier 1 to Tier 2 works flawlessly, but the "recovery" or failback to Tier 1 seems to be flawed.
If Tier 1 (VDSL with PPPoE) fails, all traffic (Wireguard in that case) will almost immediately be routed through Tier 2 (LTE Modem).
If Tier 1 comes back up, Status - Gateways - Gateway Groups even shows that change, the traffic will still flow through Tier 2.
By the way: This Gateway Group is set as my default gateway.
Diagnosis:
I've put 2 additional lines in /etc/rc.gateway_alarm.
echo "$GW" >> /tmp/test
echo "$alarm_flag" >> /tmp/test
Here is the output if Tier 1 fails:
WAN_PPPOE
1
but there's no output if Tier 1 comes back up.
I GUESS rc.gateway_alarm doesn't get triggered, and I GUESS this only happens if the IP on the PPPoE interface didn't change.
The only way for me to force traffic back through Tier 1 is to disable or unplug the interface on Tier 2.
This only happens on the PPPoE Interface, the other Interfaces act as expected.
Related issues
Updated by Viktor Gurov 4 months ago
- Related to Regression #11570: Gateway monitoring services is not always restarted on interface events, which may prevent a WAN from recovering back to an online state added
Updated by Viktor Gurov 4 months ago
- Assignee set to Viktor Gurov
Updated by Jim Pingle 4 months ago
- Status changed from New to Pull Request Review
- Target version set to 2.7.0
- Plus Target Version set to 22.05
Updated by Viktor Gurov 4 months ago
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
Applied in changeset c467ca2f35c102aae897424a2fda08e9b2ace673.
Updated by Oskar Stroka 4 months ago
Thanks a lot guys :)
Is there an easy way for me to implement this change?
Updated by Viktor Gurov 4 months ago
- Priority changed from High to Normal
Oskar Stroka wrote in #note-6:
Thanks a lot guys :)
Is there an easy way for me to implement this change?
You need to install the System Patches pkg:
https://docs.netgate.com/pfsense/en/latest/development/system-patches.html
and apply patch id ec73bb89489d830ec21c4e04ffa3ec401791b55d
and c467ca2f35c102aae897424a2fda08e9b2ace673
Updated by Oskar Stroka 4 months ago
Sadly, after applying those patches, the problem still persists.
Is there any way I could help you to narrow it down?
Updated by Jim Pingle 3 months ago
- Subject changed from Gateway Groups, Failover and PPPoE to Services are not restarted when PPP interfaces connect
Updating subject for release notes.
Updated by Jim Pingle 26 days ago
- Status changed from Feedback to New
- Assignee changed from Viktor Gurov to Jim Pingle
- Plus Target Version changed from 22.05 to 22.09