Pfsense 2.0 load balancing setup?
-
Hi,
I have been using 1.3 with three network cards, loadbalancing and failover working perfect.
I tried to upgrade to 2.0 but the load balancer stopped working and was just using the gateway on WAN
I tried to install 2.0 from the live install cd but the loadbalancer setup is so different.I was wondering if there is and docs or tut's to show how to setup 2.0???
My configuration is as below.nic1
LAN interface (fxp0)
IP address 192.168.0.2
Subnet mask 255.255.255.0
Media 100baseTX <full-duplex>nic2
WAN interface (xl0)
Status up
MAC address 00:01:02:57:04:b7
IP address 192.168.0.201
Subnet mask 255.255.255.255
Gateway WANGW 192.168.0.5
ISP DNS servers 202.136.43.239
202.136.42.241nic3
OPT1 interface (xl1)
Status up
MAC address 00:01:02:57:03:1c
IP address 192.168.0.202
Subnet mask 255.255.255.255
Gateway OPT1GW 192.168.0.3Any and all help is appreciated in advance.</full-duplex>
-
Hi,
I have been using 1.3 with three network cards, loadbalancing and failover working perfect.
I tried to upgrade to 2.0 but the load balancer stopped working and was just using the gateway on WAN
I tried to install 2.0 from the live install cd but the loadbalancer setup is so different.I was wondering if there is and docs or tut's to show how to setup 2.0???
Yes. Read this: http://forum.pfsense.org/index.php/topic,10407.0.html
-
Thanks dusan,
I have now setup the gateways…see below.
Name Interface Gateway Monitor IP DescriptionWANGW (default) WAN 192.168.0.5 192.168.0.5 Main_ADSL
OPT1GW OPT1 192.168.0.3 192.168.0.3 Backup_ADSLI have then gone into the Groups .....
Group Name LoadBalancing
Gateways WANGW OPT1GW
Priority Tier 1 Tier 1
Description Load BalancingBut it still is using the wan and never going to opt1.
Have I missed something???????
-
Thanks dusan,
I have now setup the gateways…see below.
Name Interface Gateway Monitor IP DescriptionWANGW (default) WAN 192.168.0.5 192.168.0.5 Main_ADSL
OPT1GW OPT1 192.168.0.3 192.168.0.3 Backup_ADSLI have then gone into the Groups .....
Group Name LoadBalancing
Gateways WANGW OPT1GW
Priority Tier 1 Tier 1
Description Load BalancingBut it still is using the wan and never going to opt1.
Have I missed something???????
Probably missing (policy-based) routing rules.
Checkout you Firewall -> Rules -> LAN tab to be sure there are rules with gateway=LoadBalancing. If every rule is with gateway=* (where * means the default gateway) then all traffics go out via the default gateway (WAN).