Dual wan + Failover posible problem with gateway monitor (Dpinger)
-
Hi, my problem is to try dual wan with failover.
I have 2 Wan conections (different ISP) and one Lan, Is the typical dual wan + failover scenario.
wan 1 –> dhcp (WAN_DHCP) (use gateway x.x.0.30)
wan 2 --> static (GW_OPT1) (use gateway x.x.0.29)Problem with gateways monitoring images:
both wans activated:
https://drive.google.com/file/d/0B8vILEYP4QRPcU9NYnFBVy02WVE/view?usp=sharingafter deactivate Wan 1:
https://drive.google.com/file/d/0B8vILEYP4QRPQk1taDNYd0JSMjA/view?usp=sharingafter reboot Dpinger with Wan 1 deactivate:
https://drive.google.com/file/d/0B8vILEYP4QRPendPcUQyaUp0TDg/view?usp=sharingafter activate Wan 1
https://drive.google.com/file/d/0B8vILEYP4QRPNlhpYUdCTTgtVVk/view?usp=sharingat the end deactivate Wan 2:
https://drive.google.com/file/d/0B8vILEYP4QRPU0s1WXJYc1JiV3M/view?usp=sharingAs you can see, when I deactivate Wan 2, still online, only get offline when Wan 1 get offline, and when I activated Wan 1 automatically Wan 2 get online even if it is deactivate. This is my problem.
both gateways have the same Rtt but when I ping separately have different ms, a difference between 10-20ms
I using VirtualBox with PfSense 2.3-RELEASE (amd64) built on Mon Apr 11 18:10:34 CDT 2016 FreeBSD 10.3-RELEASE
My gateway group for failover (Packet loss or high latency):
https://drive.google.com/file/d/0B8vILEYP4QRPbGp4TG1qUHJRZFk/view?usp=sharingLan rule - Firewall:
https://drive.google.com/file/d/0B8vILEYP4QRPTHdHWUhsakZZX0U/view?usp=sharingI also have marked –> System / Advanced / Miscellaneous / LB / Default gateway switching / Enable default gateway switching
If someone happens the same or a similar problem I would appreciate any possible help.
Greeting and good morning.pdt: Sorry for my bad English!! ;)
-
your failover group has both on TIER1 ==> thats loadbalancing, not failover
also find it odd that the ip "the last" 2 bytes of your wan interfaces happen to be ending the same. this is unusual if there are 2 isps involved.
Are you positive that both wan interfaces are on a different subnet & their gateways are not the same? -
your failover group has both on TIER1 ==> thats loadbalancing, not failover
also find it odd that the ip "the last" 2 bytes of your wan interfaces happen to be ending the same. this is unusual if there are 2 isps involved.
Are you positive that both wan interfaces are on a different subnet & their gateways are not the same?Right, only I had config one group of gateways for the loadbalancing, now I have two more groups for failover where wan 1 has tier 1 and wan 2 has tier 2 & vice versa and also I add the rules on the firewall.
Maybe the problem may come from the subnet settings.
I have both Wans in the same subnet x.x.0.1/24Wan 1 use dhcp with gateway x.x.0.30 and Wan 2 only use static ips in a little range into the same subnet with gateway x.x.0.29.
-
So two network interfaces with the same subnet.
Fail.
-
need to change x.x.y.x change y not the last x
-
I will try to change and reconfig my network and I will try again with pfsense.
Thanks to all! :)