Traffic is not re-routed over secondary internet connection (PPPOE), once it returns from being down.
-
@bnetworker
Can you provide steps to reproduce this issue?
I am asking, because I have had this issue several times, but did not find how to trigger it. It does not happening every time when PPPoE connection is down even if it's ISP failure or whatever. -
The way I can trigger it (100% of the time) here is to drop (unplug) the DSL line going into the modem/bridge. Then plug it back in. It will re-negotiate and them I'm stuck with the blank gateway. As you said, If you drop Ethernet (from modem/bridge to Netgate box), it's been functioning correctly.
-
@bnetworker
I have plain PPPoE, no modem, just ethernet cable. I'll try some other methods tomorrow, I hope, and let you know. -
@bnetworker
No, I can not re-produce this on the 22.05.b.20220524.1701, what build you have now? -
22.05.b.20220524.0600, but I've had this issue on every recent version. So, it may be a difference in config that is causing the issue. My setup is
DSL -> Modem in Bridge Mode (Carrier VLAN setup here) -> PFSense (Auth here)
-
@bnetworker
How did you configure the default gateway? Mine is configured as group and using tiers to prioritize which one is the primary. -
@w0w -
Yes the overall default gateway is my primary gateway group, WAN1WAN2, with WAN 1 having tier 1 priority, WAN2 Tier 2.
But... configured in the firewall for INSIDE, I have explicitly setup the WAN1WAN2 gateway group as being their default gateway. The Guest network explicitly has WAN2WAN1.
Now that the filters are reloading at the end of the rc.newwanip, I've had zero failover issues. It's been working great.
-
@bnetworker
I've similar configuration and anyway I've tried — I don't have this re-routing issue on the last build without any patching. -
@w0w - It would be interesting to see if when your PPPoE returns, if you see "Filter Reload" in your logs. Mine does not, until I put in the manual workaround.
-
@bnetworker
Looks like yes... but not sure...
When it's going downJun 4 07:11:46 php-fpm 61963 /rc.openvpn: MONITOR: WAN_PPPOE has packet loss, omitting from routing group WAN_FAIL_BACK Jun 4 07:11:46 check_reload_status 47693 Reloading filter
When it's UP
Jun 4 07:17:25 check_reload_status 47693 Reloading filter Jun 4 07:17:25 check_reload_status 47693 Restarting OpenVPN tunnels/interfaces Jun 4 07:17:25 check_reload_status 47693 Restarting IPsec tunnels Jun 4 07:17:25 check_reload_status 47693 updating dyndns HENETV6_TUNNELV6 Jun 4 07:17:25 rc.gateway_alarm 16761 >>> Gateway alarm: HENETV6_TUNNELV6 (Addr:x001:xx0:27:191::1 Alarm:1 RTT:0.000ms RTTsd:0.000ms Loss:100%) Jun 4 07:17:23 php-fpm 93505 /rc.newwanip: Removing static route for monitor 8.8.8.8 and adding a new route through x0.0.x00.1 Jun 4 07:17:22 php-fpm 93505 /rc.newwanip: Default gateway setting Interface HENETV6_TUNNELV6 Gateway as default. Jun 4 07:17:22 php-fpm 93505 ---xxx.xxx.xxx.xxx---|---xxx.xxx.xxx.xxx---|WAN_PPPOE|0.254ms|0.022ms|0.0%|online|none Jun 4 07:17:22 php-fpm 93505 /rc.newwanip: MONITOR: WAN_PPPOE is available now, adding to routing group WAN_FAIL_BACK Jun 4 07:17:22 kernel gif0: link state changed to UP Jun 4 07:17:22 kernel gif0: link state changed to DOWN ********* Jun 4 07:17:20 ppp 17338 [wan] IFACE: Up event Jun 4 07:17:20 check_reload_status 47693 rc.newwanip starting pppoe0 *********
This "Reloading filter" appears several times, not just PPPoE, but also Ipv6 tunneling and IPSEC, Openvpn (Resyncing OpenVPN instances for interface WAN) and so on, and I have other "spam" in logs too, like snort. So sometimes it's very difficult to understand what was exactly happened.
-
Hey @jimp - Just wanted to give an update on this. Been working perfectly with the modifications as below. I just have to remember to insert the filter_configure after every update:
} } else { /* signal filter reload */ filter_configure(); } filter_configure(); ?>
If there is any way I can help narrow down the issue as to why this is needed, please let me know.
Thanks!
-
Leave a note on https://redmine.pfsense.org/issues/13228 that the fix works for you.
It's still something I plan on changing for the next release it just hasn't happened yet.