NO ROUTE TO HOST

Bom dia

Tenho ballance pcc com 1link dedicado + 4 links adsl, quando desativo o link primário o restante dos links param de funcionar e quando dou ping em algum site da "no route to host".Algum problema de script ou netwatch?  

Para adicionar comentários, você deve ser membro de MK-AUTH.

Join MK-AUTH

Votos 0
Enviar-me um email quando as pessoas responderem –

Respostas

  • Opa, já resolvi... era rotas e distancia .

    Obrigado a todos!

  • Coloca também suas regras de firewall e rotas estáticas para avaliarmos.
  • /system script

    add name=DDNS policy=ftp,read,write,policy,test,winbox,sniff,sensitive \
    source="/tool dns-update name=seuddns.ddns.info address=127.0.0.255 key-na\
    me=seulogin no site do changeip key=sua senha no site do changeip\r\
    \n:log info \"Ip atualizado\"\r\
    \n"
    add name=ISP1DOWN policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source=\
    "/ip route set [find comment=\"Link0\"] disabled=yes;"
    add name=ISP2DOWN policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source=\
    "/ip route set [find comment=\"Link1\"] disabled=yes;"
    add name=ISP3DOWN policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\
    /ip firewall filter set [find comment=\"Link2\"] disabled=yes;\r\
    \n/ip firewall nat set [find comment=\"Link2\"] disabled=yes;\r\
    \n/ip firewall mangle set [find comment=\"Link2\"] disabled=yes;\r\
    \n/ip route set [find comment=\"Link2\"] disabled=yes;"
    add name=ISP4DOWN policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\
    /ip firewall filter set [find comment=\"Link3\"] disabled=yes;\r\
    \n/ip firewall nat set [find comment=\"Link3\"] disabled=yes;\r\
    \n/ip firewall mangle set [find comment=\"Link3\"] disabled=yes;\r\
    \n/ip route set [find comment=\"Link3\"] disabled=yes;"
    add name=ISP1UP policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source=\
    "/ip route set [find comment=\"Link0\"] disabled=no;"
    add name=ISP2UP policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source=\
    "/ip route set [find comment=\"Link1\"] disabled=no;"
    add name=ISP3UP policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\
    /ip firewall filter set [find comment=\"Link2\"] disabled=no;\r\
    \n/ip firewall nat set [find comment=\"Link2\"] disabled=no;\r\
    \n/ip firewall mangle set [find comment=\"Link2\"] disabled=no;\r\
    \n/ip route set [find comment=\"Link2\"] disabled=no;"
    add name=ISP4UP policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\
    /ip firewall filter set [find comment=\"Link3\"] disabled=no;\r\
    \n/ip firewall nat set [find comment=\"Link3\"] disabled=no;\r\
    \n/ip firewall mangle set [find comment=\"Link3\"] disabled=no;\r\
    \n/ip route set [find comment=\"Link3\"] disabled=no;"
    add name=ISP5DOWN policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\
    /ip firewall filter set [find comment=\"Link4\"] disabled=yes;\r\
    \n/ip firewall nat set [find comment=\"Link4\"] disabled=yes;\r\
    \n/ip firewall mangle set [find comment=\"Link4\"] disabled=yes;\r\
    \n/ip route set [find comment=\"Link4\"] disabled=yes;"
    add name=ISP5UP policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\
    /ip firewall filter set [find comment=\"Link4\"] disabled=no;\r\
    \n/ip firewall nat set [find comment=\"Link4\"] disabled=no;\r\
    \n/ip firewall mangle set [find comment=\"Link4\"] disabled=no;\r\
    \n/ip route set [find comment=\"Link4\"] disabled=no;"
    add name=LINKS-UPS policy=ftp,reboot,read,write,policy,test,winbox source="/to\
    ol netwatch set [/tool netwatch find host=177.43.77.10] disable=no\r\
    \n\r\
    \n/tool netwatch set [/tool netwatch find host=177.1.202.156] disable=no"



    /tool netwatch
    add comment=ISP1 disabled=no down-script=Link0Dow host=74.125.234.16 \
    interval=10s timeout=1s up-script=Link0Up
    add comment=ISP2 disabled=no down-script=Link1Down host=74.125.234.16 \
    interval=10s timeout=1s up-script=Link1Up
    add comment=ISP3 disabled=yes down-script=Link3Dow host=187.7.223.73 \
    interval=10s timeout=1s up-script=Link2Up
    add comment=ISP4 disabled=yes down-script=Link4Down host=187.55.163.102 \
    interval=10s timeout=1s up-script=Link3Up
    add comment=ISP5 disabled=yes down-script=Link4Dow host=187.55.163.102 \
    interval=10s timeout=1s up-script=Link4Up


    Marco de Freitas disse:

    O balance não está funcionando. Mostre o que você vez.

  • O balance não está funcionando. Mostre o que você vez.

This reply was deleted.