Load balancing check

Add-ons for Version 2.x BrazilFW
Regras do fórum
Addons Index - A list of all the available add-ons
How to install add-ons - A tutorial

Load balancing check

Mensagempor bobbb » Seg Mar 31, 2008 1:35 pm

Author: Bob Bonomo
URL: http://www.brazilfw.com.br/downloads/addons/bfw2.x/others/loadbalance.check/loadbalance.check.tgz
Add-on State: Untested in the real world
Add-on Version: 2008/03/26
System Version Required: 2.30+
Other Packages Required: None
Other Packages Conflict: None

Description:
The script checks the status of all Internet lines and keeps their states. If the current state is not the same as the previous then routing table 222 is flushed and recreated to reflect the status of the lines. Error status and new states are logged. Routing table 222 does the actual balancing.

Installation Instructions:
Standard Installation

Utilization Instructions:
You need to schedule the script loadbalance.check using Scheduled Tasks of the Webadmin menu. Suggested 15-20 minutes.

History:
2008/03/26 - Package released
2008/11/18 - New version released - Made some variables user configurable. See threads below

Original thread: http://www.brazilfw.com.br/forum/viewtopic.php?f=3&t=63584

Disclaimer:
It was discovered during testing that if there is residue in the fields for second, third, or fourth Internet link then the load balancing will not get configured properly. The main field is the IP address. If someone leaves that filled and blanks out any of the other 4 fields then the logic for loadbalancing will execute with NULL variables and the routing table will not be set. This is tested.

This problem exists for this script also so I say that if your external WANs are properly configured then this script will work.

TO DO:
Discover the new gateway if the device has changed MAC address.
Editado pela última vez por bobbb em Ter Nov 18, 2008 11:29 pm, em um total de 2 vezes.
bobbb
 

Re: Load balancing check

Mensagempor bobbb » Qui Set 11, 2008 1:06 am

An updated version in the works where the Gateway to test (if the line is dead) is user configurable. This is useful in the case where one of your interfaces is behind another router like a corporate firewall or just a home router like a D-Link or Linksys or another BrazilFW router :). This is a real option if you have 2 or more dynamic connections like PPPoE or DHCP.
bobbb
 

Re: Load balancing check

Mensagempor bobbb » Ter Nov 18, 2008 11:25 pm

An updated version where the Gateway to test is user configurable has been uploaded and replaces the original addon.

See http://bonomo.info/coyote/load-balance-failover.html for details of how to configure the Gateway variables.
bobbb
 


Voltar para Add-Ons Index BFW 2.x

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 5 visitantes