Default gateway possible bug
-
So it always switches the default gateway from the DHCP WAN to the PPPoE WAN when the DHCP WAN fails, but when it recovers it doesn't switch it back?
-
Correct.
-
Tried it with two static WANs, no problem there. Switches back to WAN1 as it should.
-
Funny thing is, that it works sometimes :)
I tried 5 times and it failed 2 times.
Next try 5 times 1 time only didn't switch… -
Umm yeah, this is definitly a problem, now confirmed on 2 boxes.
See attached image.
-
There is something to that with PPP gateways. I'll look at it at some point past release. It's much better than it was in every version with apinger.
-
Cool, should I file bug or.. ?
-
https://redmine.pfsense.org/issues/6110
Created a redmine ticket.
-
I tested this quite a bit with multiple PPPoE gateways and it was good there 100% of the time, though I don't think I tested it specifically with DHCP WAN1 + PPPoE WAN2.
You can try reversing my change in commit 2efb39d092a971c6ea8d06b25c315be7d400c4a1 to see if that helps.
-
Someone just updated ticket, I'm sure I'm not alone :)