[GTER] redundancia ADSL
bruno at openline.com.br
bruno at openline.com.br
Wed Jul 23 16:47:46 -03 2008
--- "Tux Wi-FI" <tuxwifi at gmail.com> escreveu:
> cmd="ip route add default table eth0 $testeETH1 $testePPP0 $testePPP1"
>
> #echo "Conexao ETH1 $testeETH1 - Conexao PPP0 $testePPP0 - Conexao ppp1
$testePPP1"\n
>
> ip route del default table eth0
> $cmd
> ip route flush cached
Ola
Ao invés de del e flush você pode trocar o ip route add
por ip route replace (o resto igual) que funciona lindamente
Tipo:
cmd="ip route replace default table eth0 $testeETH1 $testePPP0 $testePPP1"
# ip route del default table eth0
$cmd
# ip route flush cached
[]s, !3runo
More information about the gter
mailing list