Multi WAN/LAN - how to separate ISP connections?
-
Hi,
I have problem with multiwan setup. My current config:
ISP1 –------------- IF1 (ETHERNET) --------------------LAN 1
PFSENSE
ISP2 --------------- IF2 (WIFI AP) -----------------------LAN 2Clients on LAN1 can use both ISP with failover feature and this is working OK pfsense swith traffic if one of members is down (LAN1 use gateway group as default gateway). Clients on LAN2 are supposed to use only ISP2 so in advanced settings of default pass firewall rule for LAN2 I have set ISP2 gateway. Here everythig works great till ISP2 goes down. In this kond of situation pfsense swith LAN 2 to ISP2 ant this is not what I expected :( I tried to set up second gateway group with ISP2 -> Tier1 and ISP1 -> Never and assign it to LAN2 but this behaves the same way. My version of pfsense is 2.1.5
-
version of pfsense is 2.1.5
Please upgrade to 2.2.1 please.
I would decide to go by load balancing, and this is why.
- The entire traffic will be using all two ISP lines
- If on ISP is failing the entire traffic runs over the last ISP line
- So both lines will be used and a fail over is also automatic on top
By using the policy based routing method it should matching best at your situation.
-
I'm not clear on what you want to have happen when ISP2 goes down? LAN 2 should just be down and not use ISP 1?
If you want them both to use different circuits but both fail over, do this:
Make a gateway group with ISP 1 as Tier 1 and ISP 2 as Tier 2. Make another gateway group with ISP 1 as Tier 2 and ISP 2 as Tier 1.
On your LAN 1 rules policy route out the first group. On your LAN 2 rules, policy route out the second.
If you want to have the LAN 2 traffic go nowhere, look in System > Advanced, Miscellaneous for the Skip rules when gateway is down option and check it.
There are more elegant ways of dealing with this on a per-interface/rule basis but I think that checkbox will suffice in your situation.
-
I'm not clear on what you want to have happen when ISP2 goes down? LAN 2 should just be down and not use ISP 1?
Thats right. When ISP2 goes down LAN2 should not have access to internet. When "Skip rules when gateway is down" is enabled almost everything works ok. Internet is disabled but LAN2 can not access LAN1 (most likely all interface rules are skipped)
-
"Skip rules when gateway is down" only skips any rule that specifies a gateway that is down. Other rules should be working fine. Post your rules and a description of what you want to happen and what does not happen.
-
Yeah something's not adding up.