Multiple static routes WAN
sander1 last edited by
I wan't to use a pfSense router/firewall for my colocation servers i have only one question i can't find a answer.
I need to route my own IP block and i get a single IP from my datacenter i can use for my own router, i get 2 gateway/router IP's from my datacenter, one primair and a fallback.
So i need a single WAN interface with multiple gateways or 0.0.0.0/0 routes.
How can i do this with pfSense?
viragomann last edited by
Similar to Multi WAN you have to create a gateway group.
If the lower tier gateway fails, pfSense will direct traffic to the next higher one.
Depends on what the data center is giving you. If it is two different interfaces then no problem.
If it is two different gateways on the same interface I think you can still do Multi-WAN but it'd be an uncommon scenario. And it would be a single point of failure on your side.
I don't see any reason you can't put multiple gateways on one interface, make a gateway group, and policy route to it though I have never seen it done (which doesn't mean it hasn't).
Only one of them can be the default gateway.