+ Responder ao Tópico



  1. Tenho 1 balance ECMP com cargas iguais e ele funciona perfeitamente. Não dá nenhum erro após cada 10 Minutos como alguns falam aqui no fórum...

    Agora estou querendo fazer um balance ECMP com 3 links, sendo 2 de 25MB e 1 dedicado de 15MB.

    Alguma dica ai galera para eu fazer em ECMP com cargas diferentes?

    vlw

  2. e so acrescentar mais vezes a mesma rota, digamos de a wlan1 e wlan2 vale 50mb e wlan3 vale 25mb
    eu coloco duas rotas para o mesmo ip, os de 50 e uma rota para o de 25

    ex:

    / ip address add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local add address=10.111.0.2/24 network=10.111.0.0 broadcast=10.111.0.255 interface=wlan1 add address=10.112.0.2/24 network=10.112.0.0 broadcast=10.112.0.255 interface=wlan2
    add address=10.113.0.2/24 network=10.113.0.0 broadcast=10.113.0.255 interface=wlan3
    / ip route add dst-address=0.0.0.0/0 gateway=10.111.0.1,10.111.0.1,10.112.0.1,10.112.0.1,10.113.0.1 check-gateway=ping / ip firewall nat add chain=srcnat out-interface=wlan1 action=masquerade add chain=srcnat out-interface=wlan2 action=masquerade add chain=srcnat out-interface=wlan3 action=masquerade / ip firewall mangle add chain=input in-interface=wlan1 action=mark-connection new-connection-mark=wlan1_conn add chain=input in-interface=wlan2 action=mark-connection new-connection-mark=wlan2_conn add chain=input in-interface=wlan3 action=mark-connection new-connection-mark=wlan3_conn add chain=output connection-mark=wlan1_conn action=mark-routing new-routing-mark=to_wla1 add chain=output connection-mark=wlan2_conn action=mark-routing new-routing-mark=to_wla2 add chain=output connection-mark=wlan3_conn action=mark-routing new-routing-mark=to_wla3 / ip route add dst-address=0.0.0.0/0 gateway=10.111.0.1 routing-mark=to_wla1 add dst-address=0.0.0.0/0 gateway=10.112.0.1 routing-mark=to_wla2
    add dst-address=0.0.0.0/0 gateway=10.113.0.1 routing-mark=to_wla3



  3. Citação Postado originalmente por valdineiq Ver Post
    e so acrescentar mais vezes a mesma rota, digamos de a wlan1 e wlan2 vale 50mb e wlan3 vale 25mb
    eu coloco duas rotas para o mesmo ip, os de 50 e uma rota para o de 25

    ex:

    / ip address add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local add address=10.111.0.2/24 network=10.111.0.0 broadcast=10.111.0.255 interface=wlan1 add address=10.112.0.2/24 network=10.112.0.0 broadcast=10.112.0.255 interface=wlan2
    add address=10.113.0.2/24 network=10.113.0.0 broadcast=10.113.0.255 interface=wlan3
    / ip route add dst-address=0.0.0.0/0 gateway=10.111.0.1,10.111.0.1,10.112.0.1,10.112.0.1,10.113.0.1 check-gateway=ping / ip firewall nat add chain=srcnat out-interface=wlan1 action=masquerade add chain=srcnat out-interface=wlan2 action=masquerade add chain=srcnat out-interface=wlan3 action=masquerade / ip firewall mangle add chain=input in-interface=wlan1 action=mark-connection new-connection-mark=wlan1_conn add chain=input in-interface=wlan2 action=mark-connection new-connection-mark=wlan2_conn add chain=input in-interface=wlan3 action=mark-connection new-connection-mark=wlan3_conn add chain=output connection-mark=wlan1_conn action=mark-routing new-routing-mark=to_wla1 add chain=output connection-mark=wlan2_conn action=mark-routing new-routing-mark=to_wla2 add chain=output connection-mark=wlan3_conn action=mark-routing new-routing-mark=to_wla3 / ip route add dst-address=0.0.0.0/0 gateway=10.111.0.1 routing-mark=to_wla1 add dst-address=0.0.0.0/0 gateway=10.112.0.1 routing-mark=to_wla2
    add dst-address=0.0.0.0/0 gateway=10.113.0.1 routing-mark=to_wla3

    Entendi. É bem mais prático como eu pensava.Obrigado pelo help amigo!
    Vou colocar para rodar hoje ainda...






Tópicos Similares

  1. Respostas: 12
    Último Post: 10-10-2016, 05:34
  2. Ballance pcc 2 links com cargas diferentes
    Por klebermedrado no fórum Redes
    Respostas: 77
    Último Post: 07-06-2016, 20:30
  3. Respostas: 7
    Último Post: 26-05-2014, 06:44
  4. Respostas: 6
    Último Post: 16-05-2013, 01:03
  5. Respostas: 2
    Último Post: 17-08-2012, 10:57

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L