Estou tentando configurar um load balance com 2 links há dias, mas não funciona de jeito nenhum.
Todos navegam tranquilamente, uns pelo primeiro outros pelo segundo link. Acontece que o MK está dando prioridade para o primeiro link, ou seja, coloca muito mais clientes no primeiro.
Agora mesmo tenho 21 o primeiro e 9 no outro. Quando no meu ponto de vista deveria ter 15 em cada já que os links são de velocidades iguais.
Estou usando a versão 2.9.51
Abaixo posto minhas regras:
Código :
add chain=prerouting action=mark-connection new-connection-mark=odd passthrough=yes connection-state=new src-address=100.100.9.0/24 src-address-list=link1 \ comment="Clientes listados" disabled=no add chain=prerouting action=mark-routing new-routing-mark=odd passthrough=no connection-state=new src-address=100.100.9.0/24 connection-mark=odd comment="" \ disabled=no add chain=prerouting action=mark-connection new-connection-mark=even passthrough=yes connection-state=new src-address=100.100.9.0/24 src-address-list=link2 \ comment="" disabled=no add chain=prerouting action=mark-routing new-routing-mark=even passthrough=no connection-state=new src-address=100.100.9.0/24 connection-mark=even comment="" \ disabled=no add chain=prerouting action=mark-connection new-connection-mark=odd passthrough=yes connection-state=new src-address=100.100.9.0/24 nth=1,1,0 \ comment="Direciona clientes para cada link" disabled=no add chain=prerouting action=add-src-to-address-list src-address=100.100.9.0/24 connection-mark=odd address-list=link1 address-list-timeout=3h comment="" \ disabled=no add chain=prerouting action=mark-routing new-routing-mark=odd passthrough=no src-address=100.100.9.0/24 connection-mark=odd comment="" disabled=no add chain=prerouting action=mark-connection new-connection-mark=even passthrough=yes connection-state=new src-address=100.100.9.0/24 nth=1,1,1 comment="" \ disabled=no add chain=prerouting action=add-src-to-address-list src-address=100.100.9.0/24 connection-mark=even address-list=link2 address-list-timeout=3h comment="" \ disabled=no add chain=prerouting action=mark-routing new-routing-mark=even passthrough=no src-address=100.100.9.0/24 connection-mark=even comment="" disabled=no
Agradeço a quem puder ajudar.