Página 2 de 2 PrimeiroPrimeiro 12
+ Responder ao Tópico



  1. Citação Postado originalmente por wagnersn Ver Post
    Seu problema esta aqui nessa regras você deve somar os links e dividir pelo maior, olhe esse tópico que vai entender

    https://under-linux.org/showthread.php?t=131343

    14 ;;; ---------
    chain=policy_router action=mark-connection new-connection-mark=ISP1_conn passthrough=yes dst-address-type=!local per-connection-classifier=both-addresses:3/0

    15 chain=policy_router action=mark-connection new-connection-mark=ISP2_conn passthrough=yes dst-address-type=!local per-connection-classifier=both-addresses:3/1

    16 chain=policy_router action=mark-connection new-connection-mark=ISP3_conn passthrough=yes dst-address-type=!local per-connection-classifier=both-addresses:3/2
    [/QUOTE]

    Como o amigo Wagner disse, o problema estava não só nas rotas, o seu classificador também está errado. Verificando o link mencionado não tem erro.

  2. amigo tb to com problema diferente dele
    eu preciso alterar rotar default, como faco isso ??


    /ip route
    add comment=ROTA_DEDICADO disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
    187.17.50.49 routing-mark=to_nra scope=30 target-scope=10
    add comment=ROTA_GVT disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
    192.168.88.1 routing-mark=to_nrb scope=30 target-scope=10
    add comment=ROTA_OI disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
    200.223.97.145 routing-mark=to_nra2 scope=30 target-scope=10
    add comment=Rota1 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
    4-Dsl-Dedicado-OI routing-mark=Rota1 scope=30 target-scope=10
    add comment=Rota0 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
    3-Dsl-Gvt routing-mark=Rota0 scope=30 target-scope=10
    add comment=ROTA_DEDICADO disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
    187.17.50.49 scope=30 target-scope=10
    add comment=ROTA_GVT disabled=no distance=2 dst-address=0.0.0.0/0 gateway=\
    192.168.88.1 scope=30 target-scope=10
    add comment=ROTA_OI disabled=no distance=3 dst-address=0.0.0.0/0 gateway=\
    200.223.97.145 scope=30 target-scope=10
    /ip firewall mangle
    add action=accept chain=prerouting comment="SEM BALANCE" disabled=no \
    dst-address-list=sem_balance in-interface=1-LOCAL
    add action=accept chain=prerouting comment="SEM BALANCE HTTPS" disabled=no \
    dst-port=443 in-interface=1-LOCAL protocol=tcp
    add action=mark-connection chain=input comment="///// LOAD BALANCE PCC /////" \
    connection-state=new disabled=no in-interface=2-Dedicado \
    new-connection-mark=conn_na passthrough=yes
    add action=mark-connection chain=input connection-state=new disabled=no \
    in-interface=4-Dsl-Dedicado-OI new-connection-mark=conn_na2 passthrough=yes
    add action=mark-connection chain=input connection-state=new disabled=no \
    in-interface=3-Dsl-Gvt new-connection-mark=conn_nb passthrough=yes
    add action=mark-routing chain=output comment=X connection-mark=conn_na \
    disabled=no new-routing-mark=to_ra passthrough=no
    add action=mark-routing chain=output connection-mark=conn_na2 disabled=no \
    new-routing-mark=to_ra2 passthrough=no
    add action=mark-routing chain=output connection-mark=conn_nb disabled=no \
    new-routing-mark=to_rb passthrough=no
    add action=mark-connection chain=prerouting comment=CONN disabled=no \
    dst-address-type=!local in-interface=1-LOCAL new-connection-mark=conn_ma0 \
    passthrough=yes per-connection-classifier=both-addresses:8/0
    add action=mark-connection chain=prerouting disabled=no dst-address-type=!local \
    in-interface=1-LOCAL new-connection-mark=conn_ma0 passthrough=yes \
    per-connection-classifier=both-addresses:8/1
    add action=mark-connection chain=prerouting disabled=no dst-address-type=!local \
    in-interface=1-LOCAL new-connection-mark=conn_ma0 passthrough=yes \
    per-connection-classifier=both-addresses:8/2
    add action=mark-connection chain=prerouting disabled=no dst-address-type=!local \
    in-interface=1-LOCAL new-connection-mark=conn_ma1 passthrough=yes \
    per-connection-classifier=both-addresses:8/3
    add action=mark-connection chain=prerouting disabled=no dst-address-type=!local \
    in-interface=1-LOCAL new-connection-mark=conn_mb1 passthrough=yes \
    per-connection-classifier=both-addresses:8/4
    add action=mark-connection chain=prerouting disabled=no dst-address-type=!local \
    in-interface=1-LOCAL new-connection-mark=conn_mb1 passthrough=yes \
    per-connection-classifier=both-addresses:8/5
    add action=mark-connection chain=prerouting disabled=no dst-address-type=!local \
    in-interface=1-LOCAL new-connection-mark=conn_mb1 passthrough=yes \
    per-connection-classifier=both-addresses:8/6
    add action=mark-connection chain=prerouting disabled=no dst-address-type=!local \
    in-interface=1-LOCAL new-connection-mark=conn_mb1 passthrough=yes \
    per-connection-classifier=both-addresses:8/7
    add action=mark-routing chain=prerouting comment=ROUTING connection-mark=\
    conn_ma0 disabled=no in-interface=1-LOCAL new-routing-mark=to_nra \
    passthrough=no
    add action=mark-routing chain=prerouting connection-mark=conn_mb1 disabled=no \
    in-interface=1-LOCAL new-routing-mark=to_nrb passthrough=no
    add action=mark-routing chain=prerouting connection-mark=conn_ma1 disabled=no \
    in-interface=1-LOCAL new-routing-mark=to_nra2 passthrough=no






Tópicos Similares

  1. Respostas: 1
    Último Post: 12-07-2015, 18:44
  2. LIBERA PORTA 1881 LOADBALANCE FORA DA REDE
    Por juniorcarvalho no fórum Redes
    Respostas: 5
    Último Post: 28-09-2012, 19:56
  3. Respostas: 2
    Último Post: 10-03-2012, 00:04
  4. Novamente a danada da rota
    Por juniovitorino no fórum Servidores de Rede
    Respostas: 1
    Último Post: 10-10-2006, 22:33
  5. Inicializacao das Rotas e Iptables.
    Por jvdebian no fórum Servidores de Rede
    Respostas: 3
    Último Post: 20-07-2005, 10:00

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L