Displaying 3 results from an estimated 3 matches for "balanceamento".
2007 May 08
0
Squid + iproute2
...192.168.2.0/24 -d 0/0 -j MARK --set-mark 3
echo "[OK]"
# Desabilitando o filtro de pacotes do martian source
echo -n "Desligando rp_filter..."
for eee in /proc/sys/net/ipv4/conf/*/rp_filter; do
echo 0 > $eee
done
echo "[OK]"
# Definindo regras de balanceamento de Link:
echo -n "Balanceando links..."
# link #1
ip route add 192.168.1.0/24 dev eth1 src 192.168.1.245 table link1
#ip route add 192.168.0.0/24 via 192.168.0.1 table link1
ip route add default via 192.168.1.7 table link1
# link Default
ip route add 192.168.2.0/24 dev eth0 src 192.168....
2005 Oct 18
0
Two differente networks at the same ethernet pci adapter
...work. This is the script I am using (this scripts works fine when
I have two ethernet cards like eth0 and eth1 for backbone and eth2 for LAN):
---- SCRIPT BEGINING /usr/loca/firewall/loadbalance ----
#!/bin/sh
#-------------------------
# Configuracao de redirecionamento de portas para os links
# Balanceamento de carga entre pontos de rede
# ++++++++++++++++++++++++
# Script criado por NATANIEL KLUG
#-------------------------
#
#----
# Variaveis de sistema
#----
IPTABLES="/usr/local/sbin/iptables"
IP="/sbin/ip"
#
#----
# ENTRADA DE LINKS
#----
IF1=''eth0''
IF2='...
2005 Oct 19
2
Load balance (two links in one server): why is this not working?
...I can enter some pages but other I could not... What can I do?
I am using this script (and reading this howto, again, to see if I missed something: http://www.ssi.bg/~ja/nano.txt):
--- SCRIPT ---
#!/bin/sh
#-------------------------
# Configuracao de redirecionamento de portas para os links
# Balanceamento de carga entre pontos de rede
#-------------------------
#----
# Variaveis de sistema
#----
IPTABLES="/usr/local/sbin/iptables"
IP="/sbin/ip"
#
#----
# ENTRADA DE LINKS
#----
IF1=''eth0''
IF2=''eth3''
#
#----
# Declara as redes
#----
P1_NET='&...