[GTER] redundancia ADSL

Tux Wi-FI tuxwifi at gmail.com
Wed Jul 23 16:55:47 -03 2008


Bruno,

Thanks pela dica...

2008/7/23 bruno at openline.com.br <bruno at openline.com.br>:
> --- "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
>
> --
> gter list    https://eng.registro.br/mailman/listinfo/gter
>



-- 
[]´s

CeBoLaRk
http://www.tuxwifi.com.br
msn: cebolark at hotmail.com



More information about the gter mailing list