Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: ctek on January 14, 2012, 06:00:48 pm

Title: Zentyal Wan failover faulty behavior
Post by: ctek on January 14, 2012, 06:00:48 pm
I have setup two gateways in my home server and i tested the situation of one of the links going down.

In wan failover i have setup two rules for each gateway.

Time 10 Seconds

   dhcp-gw-eth1    Ping to host    www.google.com    6    90 %    
   dhcp-gw-eth0    Ping to host    www.google.com    6    90 %    

The problem is that after using the second gateway the main gate-way is not enabled back up when the connection is working.
In short. Once a gateway is disabled because of network fault it is not used when the network comes online...
Each GW is set weight 1

Is there any solution or the setup i'm using is wrong?
Title: Re: Zentyal Wan failover faulty behavior
Post by: christian on July 23, 2012, 11:56:49 am
I'm experiencing similar behaviour but not always  :-\
I already received messages stating that default gateway was back the "main" one but most of the time, when this gateway is seen as faulty, Zentyal switches to the second gateway. Main gateway is is disabled, no more stamped as the default one until I change it manually in Zentyal GUI. Interesting enough: each and every time I change, surprisingly, it works. I mean main gateway is operational and not faulty.

So despite capability to set different weight to each gateway in order to manage priority, it works perhaps well if you do not mind using one or the other gateway but doesn't work that well if your goal is to have one main gateway and one being only "failover" in case of failure on the main one.
Still i didn't try with 2.3  :-[
Title: Re: Zentyal Wan failover faulty behavior
Post by: jsalamero on July 23, 2012, 03:10:02 pm
What version of zentyal-network are you using?
Title: Re: Zentyal Wan failover faulty behavior
Post by: christian on July 23, 2012, 03:55:25 pm
mine is 2.2 (2.2.8 for network configuration)