Subversion Repositories ALCASAR

Rev

Rev 376 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 376 Rev 672
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-load_balancing.sh 376 2010-12-19 22:24:58Z franck $
2
# $Id: alcasar-load_balancing.sh 672 2011-07-08 15:34:22Z richard $
3
 
3
 
4
# alcasar-load_balancing.sh         Connection Internet au travers de 2 ou plusieurs liens internet
4
# alcasar-load_balancing.sh
5
#
-
 
6
# Version:              0.9 - 17 Nov 2010
5
# by BOUIJOUX Franck (3abTux) <3abtux@free.fr>
-
 
6
# This script is distributed under the Gnu General Public License (GPL)
7
#
7
 
8
# by Author:               BOUIJOUX Franck (3abTux) <3abtux@free.fr>
8
# Équilibrage de charge sur 2 ou plusieurs liens internet (en cours d'expérimentation) 
-
 
9
# Définion des poids des routes   :  même poids --> alternance des connexions. Sinon le poids le plus faible est prioritaire
9
# en cours d'expérimentation et d'écriture
10
# Load balancing with 2 or more Internet links (experimental)
10
# À optimiser 
11
# Weitght of routes : same --> switch between link. The lowest weight gain the priority.
11
 
12
 
12
# Définion des poids des routes   :  même poids --> alternance des connexions 
-
 
13
# sinon le poids le plus faible est prioritaire
-
 
14
WEIGHT1=1
13
WEIGHT1=1
15
WEIGHT2=1
14
WEIGHT2=1
16
#WEIGHT3=3
15
#WEIGHT3=3
17
 
16
 
18
# Définition des interfaces :
17
# Définition des interfaces :