Routing problem
-
There is Pfsense 2.5.0 with two providers.
A few days ago, one of them fell off, packets to its gateway do not go to it from the LAN, and the gateway itself is available. But when tracing - all packets fly away into the void. I just can't understand what's the matter, I'm guilty of some kind of routing failure.
The provider distributes the routing rules.
In System / Routing / Static Routes, I made a rule by hand (the picture is attached), after that the packets began to go as needed, but it seems to me that this is not the most beautiful solution, maybe you can somehow reset the routing settings for a specific interface so that this interface started getting a route from the provider?
Thank you!
-
@ilya-v
Possibly only the gateway monitoring is failing?
Ensure that the monitoring IP is responding to pings properly.
If you don't need to failover the internet connections you can also disable gateway monitoring.In System / Routing / Static Routes, I made a rule by hand (the picture is attached)
0.0.0.0/24 doesn't make much sense at all. That encompasses only 256 addresses.
What you might try to set here, is the default route (0.0.0.0/0), but this is to be done in the "Default gateway" section. -
@viragomann The odd thing is that both gateways are available. If you ping the gateway - it is available, if there is something behind the gateway - the packets just seem to be dropped.
I agree about the route 0.0.0.0/24, yesterday I did not realize it a little. Now I turned it off, it seems, it continues to work.
I continue to monitor)