Bom dia a todos
Eu estava lendo o topico do usuario jeanfrank, alias parabens para ele.. otimo post.
Balanceamento 5 links Perfeito !!!!!
E estou rabiscando primeiramente para min ... heheh
rabiscando no bloco de notas para depois fazer os testes, rsrs
tem como a galera da um olhada nas anotações, pois troquei faixas de ip..fiz marcações com outros nomes praticamente tudo do zero, usei a logika demostrada pelo jeanfrank. A classe de ip 192.168.10.253/24 é o proxy paralelo do nosso amigo pcram que estou testando.
Os meus link's são adsl de 2megas, e estou querendo colocar eles nun roteador linksys que não tem wireless, dizem que é muito bom.
Outra coisa que eu estava pensando, o codigo abaixo eh o balanceamento com 3 links adsl. Queria saber se 1 ou 2 link cair...1 link assumiria tudo ??
bem galera eh isso ai.. espero a ajuda de vc´s ;;;
/ip address
add address=172.31.110.10/24 network=172.31.110.0 broadcast=172.31.110.255 interface=EthClientes comment="" \
disabled=no
add address=192.168.1.254/24 network=192.168.1.0 broadcast=192.168.1.255 interface=EthWan1 comment="" \
disabled=no
add address=192.168.2.254/24 network=192.168.2.0 broadcast=192.168.2.255 interface=EthWan2 comment="" \
disabled=no
add address=192.168.3.254/24 network=192.168.3.0 broadcast=192.168.3.255 interface=EthWan3 comment="" \
disabled=no
add address=192.168.10.253/24 network=192.168.10.0 broadcast=192.168.10.255 interface=EthIntranet comment="" \
disabled=no
/ ip firewall address-list
add list=EthWan1 address=192.168.1.254 comment="" disabled=yes
add list=EthWan2 address=192.168.2.254 comment="" disabled=yes
add list=EthWan3 address=192.168.3.254 comment="" disabled=yes
minha duvida aqui seria se fika desabilitado mesmo ??
/ip firewall magle
add chain=prerouting in-interface=EthClientes src-address-list=EthWan1 \
action=mark-connection new-connection-mark=connection_EthWan1 \
passthrough=yes comment="" disabled=yes
add chain=prerouting in-interface=EthClientes src-address-list=EthWan1 \
action=mark-routing new-routing-mark=routing_EthWan1 \
passthrough=no comment="" disabled=yes
add chain=prerouting in-interface=EthClientes src-address-list=EthWan2 \
action=mark-connection new-connection-mark=connection_EthWan2 \
passthrough=yes comment="" disabled=yes
add chain=prerouting in-interface=EthClientes src-address-list=EthWan2 \
action=mark-routing new-routing-mark=routing_EthWan2 \
passthrough=no comment="" disabled=yes
add chain=prerouting in-interface=EthClientes src-address-list=EthWan3 \
action=mark-connection new-connection-mark=connection_EthWan3 \
passthrough=yes comment="" disabled=yes
add chain=prerouting in-interface=EthClientes src-address-list=EthWan3 \
action=mark-routing new-routing-mark=routing_EthWan3 \
passthrough=no comment="" disabled=yes
add chain=prerouting in-interface=EthCliente connection-state=new nth=2,2,0 \
action=mark-connection new-connection-mark=nth_EthWan1 passthrough=yes \
comment="" disabled=no
add chain=prerouting in-interface=EthCliente connection-mark=nth_EthWan1 \
action=add-src-to-address-list address-list=EthWan1 \
address-list-timeout=1d comment="" disabled=no
add chain=prerouting in-interface=EthCliente connection-mark=nth_EthWan1 \
action=mark-routing new-routing-mark=rout_EthWan1 passthrough=no \
comment="" disabled=no
add chain=prerouting in-interface=EthCliente connection-state=new nth=2,2,1 \
action=mark-connection new-connection-mark=nth_EthWan2 passthrough=yes \
comment="" disabled=no
add chain=prerouting in-interface=EthCliente connection-mark=nth_EthWan1 \
action=add-src-to-address-list address-list=EthWan2 \
address-list-timeout=1d comment="" disabled=no
add chain=prerouting in-interface=EthCliente connection-mark=nth_EthWan1 \
action=mark-routing new-routing-mark=rout_EthWan2 passthrough=no \
comment="" disabled=no
add chain=prerouting in-interface=EthCliente connection-state=new nth=2,2,2 \
action=mark-connection new-connection-mark=nth_EthWan3 passthrough=yes \
comment="" disabled=no
add chain=prerouting in-interface=EthCliente connection-mark=nth_EthWan3 \
action=add-src-to-address-list address-list=EthWan3 \
address-list-timeout=1d comment="" disabled=no
add chain=prerouting in-interface=EthCliente connection-mark=nth_EthWan3 \
action=mark-routing new-routing-mark=rout_EthWan3 passthrough=no \
comment="" disabled=no
/ip firewall nat
add chain=srcnat connection-mark=EthWan1 action=src-nat \
to-addresses=192.168.1.253 to-ports=0-65535 comment="" disabled=no
add chain=srcnat connection-mark=EthWan2 action=src-nat \
to-addresses=192.168.2.253 to-ports=0-65535 comment="" disabled=no
add chain=srcnat connection-mark=EthWan3 action=src-nat \
to-addresses=192.168.3.253 to-ports=0-65535 comment="" disabled=no
/ip route list
Destination: 0.0.0.0/0
gateway: 192.168.1.254
Mark: EthWan1
Destination: 0.0.0.0/0
gateway: 192.168.2.254
Mark: EthWan2
Destination: 0.0.0.0/0
gateway: 192.168.3.254
Mark: EthWan3
Aqui eh o fim xD....
muito obrigado pela força...
t+