+ Responder ao Tópico



  1. Citação Postado originalmente por Josevaldo Ver Post
    No caso esse wiki, funcionaria legal com clientes na rede /30? tipo utilizar um link full (para o acesso nobre, leia-se 80, 443, 53 e) o resto pra uma saida via satelite.
    abraços
    você teria regra para rede /24????

  2. o tutorial citado mostra como fazer balanceamento por pacotes usando 2 links da MESMA operadora !!!

    isso nao funciona se voce tiver 2 links de operadoras diferentes (rotas)



  3. Utilize 3 placas de rede!

    enther1=RedeLocal

    enther2=ADSL1

    enther3=ADSL2

    n=Não esqueça de colocar os modens em modo router!

    E a receita de bolo agora !


    / ip address

    add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local comment="" \
    disabled=no

    add address=10.111.0.2/24 network=10.111.0.0 broadcast=10.111.0.255 interface=ether2 \
    comment="" disabled=no

    add address=10.112.0.2/24 network=10.112.0.0 broadcast=10.112.0.255 interface=ether3 \
    comment="" disabled=no

    / ip firewall mangle

    add chain=prerouting in-interface=Local connection-state=new nth=1,1,0 \
    action=mark-connection new-connection-mark=odd passthrough=yes comment="" \
    disabled=no

    add chain=prerouting in-interface=Local connection-mark=odd action=mark-routing \
    new-routing-mark=odd passthrough=no comment="" disabled=no

    add chain=prerouting in-interface=Local connection-state=new nth=1,1,1 \
    action=mark-connection new-connection-mark=even passthrough=yes comment="" \
    disabled=no

    add chain=prerouting in-interface=Local connection-mark=even action=mark-routing \
    new-routing-mark=even passthrough=no comment="" disabled=no

    / ip firewall nat

    add chain=srcnat connection-mark=odd action=src-nat to-addresses=10.111.0.2 \
    to-ports=0-65535 comment="" disabled=no

    add chain=srcnat connection-mark=even action=src-nat to-addresses=10.112.0.2 \
    to-ports=0-65535 comment="" disabled=no

    / ip route

    add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 routing-mark=odd \
    comment="" disabled=no

    add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 routing-mark=even \
    comment="" disabled=no

    add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 comment="" \
    disabled=no

  4. isso fara com que seja dividido o trafego entre os links, ou seja a cada pedido um link diferente ! há deste modo nao cai MSN e sites de banco so assessei o HSBC e a Caixa e teria que ver com o resto !



  5. Citação Postado originalmente por Giovani.couto Ver Post
    Utilize 3 placas de rede!

    enther1=RedeLocal

    enther2=ADSL1

    enther3=ADSL2

    n=Não esqueça de colocar os modens em modo router!

    E a receita de bolo agora !


    / ip address

    add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local comment="" \
    disabled=no

    add address=10.111.0.2/24 network=10.111.0.0 broadcast=10.111.0.255 interface=ether2 \
    comment="" disabled=no

    add address=10.112.0.2/24 network=10.112.0.0 broadcast=10.112.0.255 interface=ether3 \
    comment="" disabled=no

    / ip firewall mangle

    add chain=prerouting in-interface=Local connection-state=new nth=1,1,0 \
    action=mark-connection new-connection-mark=odd passthrough=yes comment="" \
    disabled=no

    add chain=prerouting in-interface=Local connection-mark=odd action=mark-routing \
    new-routing-mark=odd passthrough=no comment="" disabled=no

    add chain=prerouting in-interface=Local connection-state=new nth=1,1,1 \
    action=mark-connection new-connection-mark=even passthrough=yes comment="" \
    disabled=no

    add chain=prerouting in-interface=Local connection-mark=even action=mark-routing \
    new-routing-mark=even passthrough=no comment="" disabled=no

    / ip firewall nat

    add chain=srcnat connection-mark=odd action=src-nat to-addresses=10.111.0.2 \
    to-ports=0-65535 comment="" disabled=no

    add chain=srcnat connection-mark=even action=src-nat to-addresses=10.112.0.2 \
    to-ports=0-65535 comment="" disabled=no

    / ip route

    add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 routing-mark=odd \
    comment="" disabled=no

    add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 routing-mark=even \
    comment="" disabled=no

    add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 comment="" \
    disabled=no
    só posso deixa configurado essas regras quando o segundo link estive online??? Pois eu cheguei a fazer essa configuração e os meus clientes não navegavar m+.






Tópicos Similares

  1. Usando bonding pra failover/loadbalance
    Por nataniel no fórum Servidores de Rede
    Respostas: 0
    Último Post: 09-02-2006, 13:40
  2. Loadbalance por serviço não funciona
    Por nataniel no fórum Servidores de Rede
    Respostas: 0
    Último Post: 03-02-2006, 07:11
  3. loadbalance no freeBSD
    Por drsjr no fórum Sistemas Operacionais
    Respostas: 1
    Último Post: 03-01-2006, 14:04
  4. Loadbalance de servidor de e-mail´s
    Por pirat no fórum Servidores de Rede
    Respostas: 1
    Último Post: 08-11-2005, 08:30
  5. LoadBalance AP 2000 ..
    Por patrickcanton no fórum Redes
    Respostas: 3
    Último Post: 28-07-2004, 20:24

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L