Ol� Amigos, Atualmente estou fazendo uma conting�ncia da conex�o entre a Matriz e a Filial da empresa onde trabalho.
Tenho dois link, onde em cada ponto tenho um servidor linux com tr�s placas. Uma placa recebe a rede local, a segunda placa recebe um link prim�rio e a terceira o link de conting�ncia. Tenho hoje montado algo assim: Linux 1 eth0: 192.168.0.1 (rede local) eth1: 192.168.10.1 (wan 1) eth2: 192.168.20.1 (wan 2) route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.10.2 metric 0 route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.20.2 metric 1 Linux 2 eth0: 192.168.1.1 (rede local) eth1: 192.168.10.2 (wan 1) eth2: 192.168.20.2 (wan 2) route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.10.1 metric 0 route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.20.1 metric 1 Tenho um script rodando atrav�s do CROND para fazer o seguinte: LINUX 1 - PING 192.168.10.2 c 5 ... se n�o PINGar, executar: ifdown eth1 | ifup eth2 LINUX 2 - PING 192.168.10.1 c 5 ... se n�o PINGar, executar: ifdown eth1 | ifup eth2 Ao voltar a PINGar, executar: ifup eth1 | ifdown eth2 Existe alguma solu��o mais pr�tica, pois o CROND demora cerca de 1 min para fazer cada teste. Precisaria usar algo como RIP (routed ou gated) ?? Obrigado pela ajudar !!! Atenciosamente, Eduardo Mota.'. ______________________________________________ WebSite: http://www.emota.com.br WebMaster EMota - UIN: 2731255 Linux user number: 272219 E-Mail: [EMAIL PROTECTED] Assinantes em 22/07/2002: 2220 Mensagens recebidas desde 07/01/1999: 175982 Historico e [des]cadastramento: http://linux-br.conectiva.com.br Assuntos administrativos e problemas com a lista: mailto:[EMAIL PROTECTED]
