Entrar
Últimos assuntos
» internet lentapor brooklin_sul Qui 11 Abr - 19:17
» Como pingar pelos dois links
por bruno9988 Ter 20 Fev - 19:12
» BFW em paralelo com Mikrotik
por antoniogiga Qui 18 Jan - 1:40
» NAT MIKROTIK
por squall1808 Seg 8 Jan - 18:07
» Aumenta Lucro do provedor com Servidor de FILME - Dica como montar um " Netflix"
por bruno9988 Ter 19 Dez - 17:59
» hotspot conexao lenta
por brooklin_sul Seg 18 Dez - 1:04
» Acessar Radio e roteadores pelo Mikrotik
por antoniogiga Ter 15 Nov - 16:49
» [Resolvido]Balanceamento usando o Net Virtua ( Netcombo)
por antoniogiga Ter 15 Nov - 8:02
» whatsapp lento
por antoniogiga Ter 15 Nov - 8:00
» to de volta qual quer duvida soh chamar
por antoniogiga Ter 15 Nov - 7:58
» Firmware ApRouter em Radio - Chipset rtl8186!
por antoniogiga Dom 17 Jul - 18:02
» QoS por mac-address (ou IP amarrado) quando tenho 01 mikrotik + 05 routers
por rdnetwork Sex 4 Fev - 7:58
» Microtik - OpenVPN não conecta com 2 links 2 internet balanceados
por vagneroliveira Qui 3 Fev - 6:44
» Software gerenciamento ZTE C320
por lancecom Qui 18 Mar - 11:27
» Software Gerenciamento ZTE C320
por lancecom Seg 15 Mar - 17:21
Tópicos semelhantes
Top dos mais postadores
claudinhohw Network | ||||
morais2707 | ||||
cristiano.micros | ||||
cdanielboy | ||||
Sixagencia Networks | ||||
ZBTECK | ||||
dsdigital | ||||
BBD NET | ||||
Gerônimo | ||||
Marcelo |
Estatísticas
Temos 31896 usuários registradosO último membro registrado é Reginaldo kaczmarek
Os nossos membros postaram um total de 38285 mensagens em 5803 assuntos
Load balance com links roteados so funciona um dos links
+6
ValterJR
zampier
mauaense
cristiano.micros
cdanielboy
rodrigo212
10 participantes
Página 1 de 1
Load balance com links roteados so funciona um dos links
amigos boa noite, tenho 2 links roteados oi velox de 15mb cada, fiz todo o tutorial do nosso amigo geronimo, porem so funciona um dos links, fiz tb com o software pcc1.5, porem quando hora o ping bate la no teto de alto, putra hora, a navegação fica lenta, outra hora so funciona um dos links, enessa besteirinha ja estou ha quase 15 dias lendo tutoriais, entrando em diversos forum e paginas e nada! Peço ajudados colegas para solucionar esse problema. OBs( quem poder deixar uma as regras para por no mk para fazer teste ficarei grato)
rodrigo212- Iniciante
- Mensagens : 35
Pontos : 49
Reputação : 2
Data de inscrição : 19/03/2011
Idade : 40
Localização : recife
Re: Load balance com links roteados so funciona um dos links
mano acabe com isso ionstalando o bfw !!!!
cdanielboy- Power User
- Mensagens : 1012
Pontos : 1336
Reputação : 270
Data de inscrição : 12/05/2011
Idade : 39
Localização : belém
Re: Load balance com links roteados so funciona um dos links
usa os modens em bridge assim evita o travamento dos modens roteado
na regra em ip router coloquei o check gateway em arp
na regra em ip router coloquei o check gateway em arp
Re: Load balance com links roteados so funciona um dos links
/ip address
add address=172.16.0.1/24 disabled=no interface=saida network=172.16.0.0
add address=10.3.3.2/24 disabled=no interface=wlan3 network=10.3.3.0
add address=192.168.2.3/24 disabled=no interface=wlan1 network=192.168.2.0
add address=192.168.1.68/24 disabled=no interface=wlan2 network=192.168.1.0
add address=10.0.0.1/24 disabled=yes interface=saida network=10.0.0.0
/ip dhcp-server config
set store-leases-disk=5m
/ip dhcp-server network
add address=172.16.0.0/24 comment="hotspot network" dhcp-option="" \
dns-server="" gateway=172.16.0.1 ntp-server="" wins-server=""
/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB \
max-udp-packet-size=4096 servers=8.8.8.8,8.8.4.4
/ip firewall address-list
add address=201.7.176.0/20 comment="Vdeos - Globo" disabled=no list=LINK0
add address=208.84.247.0/24 comment="Vdeos - terratv" disabled=no list=LINK0
add address=200.154.56.0/24 comment="Vdeos - terratv" disabled=no list=LINK0
add address=201.7.176.0/24 disabled=no list=LINK1
add address=201.7.178.0/24 disabled=no list=LINK1
add address=208.67.217.0/24 disabled=no list=LINK1
add address=208.69.32.0/24 disabled=no list=LINK1
add address=64.38.29.0/24 comment=RapidShare disabled=no list=LINK1
add address=200.155.80.0-200.155.255.255 comment=BRADESCO disabled=no list=\
loopback
add address=200.220.186.0/24 comment=BRADESCO disabled=no list=loopback
add address=200.220.178.0/24 comment=BRADESCO disabled=no list=loopback
add address=208.69.32.0/24 disabled=yes list=loopback
add address=208.67.217.0/24 disabled=yes list=loopback
add address=201.7.178.0/24 disabled=yes list=loopback
add address=200.159.128.0/24 comment=BRADESCO disabled=no list=loopback
add address=201.7.176.0/20 comment="Vdeos - Globo" disabled=no list=loopback
add address=208.84.247.0/24 comment="Vdeos - terratv" disabled=no list=\
loopback
add address=200.154.0.0/18 comment="Vdeos - terratv" disabled=yes list=\
loopback
add address=200.201.160.0/24 comment="Caixa Economica Federal" disabled=no \
list=loopback
add address=200.201.166.0/24 disabled=no list=loopback
add address=200.201.173.0/24 disabled=no list=loopback
add address=200.201.174.0/24 disabled=no list=loopback
add address=200.141.207.3 comment=Detran disabled=no list=loopback
add address=200.175.132.200/29 comment=ISSNETONLINE disabled=no list=loopback
add address=189.86.4.48/28 comment="NOTA CONTROL" disabled=no list=loopback
add address=218.93.250.18 comment=meuip.datahouse.com.br disabled=no list=\
LINK1
add address=195.200.253.149 comment=meuip.net disabled=no list=LINK1
add address=186.202.153.19 comment=www.meuenderecoip.com disabled=no list=\
LINK1
/ip firewall connection tracking
set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s \
tcp-close-wait-timeout=10s tcp-established-timeout=1d \
tcp-fin-wait-timeout=10s tcp-last-ack-timeout=10s \
tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no \
tcp-time-wait-timeout=10s udp-stream-timeout=3m udp-timeout=10s
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
/ip firewall mangle
add action=accept chain=prerouting comment="FORA DO LOADBALACED" disabled=no \
dst-address-list=loopback in-interface=saida
add action=accept chain=prerouting comment="HTTPS FORA DO LOADBALACED" \
disabled=no dst-port=443 in-interface=saida protocol=tcp
add action=accept chain=prerouting comment="FORA DO LOADBALACED" disabled=yes \
dst-address-list=loopback in-interface=saida
add action=mark-connection chain=input comment=\
"===== Make the packet leaves via same interface =====" disabled=no \
in-interface=wlan1 new-connection-mark=wlan1_conn passthrough=yes
add action=mark-routing chain=output connection-mark=wlan1_conn disabled=no \
new-routing-mark=to_wlan1 passthrough=yes
add action=mark-connection chain=input disabled=no in-interface=wlan2 \
new-connection-mark=wlan2_conn passthrough=yes
add action=mark-routing chain=output connection-mark=wlan2_conn disabled=no \
new-routing-mark=to_wlan2 passthrough=yes
add action=mark-connection chain=input disabled=no in-interface=wlan3 \
new-connection-mark=wlan3_conn passthrough=yes
add action=mark-routing chain=output connection-mark=wlan3_conn disabled=no \
new-routing-mark=to_wlan3 passthrough=yes
add action=mark-connection chain=prerouting comment="===== Balance_PCC =====" \
disabled=no dst-address-type=!local hotspot=auth in-interface=saida \
new-connection-mark=wlan1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:7/0
add action=mark-connection chain=prerouting disabled=no dst-address-type=\
!local hotspot=auth in-interface=saida new-connection-mark=wlan2_conn \
passthrough=yes per-connection-classifier=both-addresses-and-ports:7/1
add action=mark-connection chain=prerouting disabled=no dst-address-type=\
!local hotspot=auth in-interface=saida new-connection-mark=wlan2_conn \
passthrough=yes per-connection-classifier=both-addresses-and-ports:7/2
add action=mark-connection chain=prerouting disabled=no dst-address-type=\
!local hotspot=auth in-interface=saida new-connection-mark=wlan2_conn \
passthrough=yes per-connection-classifier=both-addresses-and-ports:7/3
add action=mark-connection chain=prerouting disabled=no dst-address-type=\
!local hotspot=auth in-interface=saida new-connection-mark=wlan3_conn \
passthrough=yes per-connection-classifier=both-addresses-and-ports:7/4
add action=mark-connection chain=prerouting disabled=no dst-address-type=\
!local hotspot=auth in-interface=saida new-connection-mark=wlan3_conn \
passthrough=yes per-connection-classifier=both-addresses-and-ports:7/5
add action=mark-connection chain=prerouting disabled=no dst-address-type=\
!local hotspot=auth in-interface=saida new-connection-mark=wlan3_conn \
passthrough=yes per-connection-classifier=both-addresses-and-ports:7/6
add action=mark-routing chain=prerouting comment=\
"===== Marking all the packets =====" connection-mark=wlan1_conn \
disabled=no in-interface=saida new-routing-mark=to_wlan1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=wlan2_conn disabled=\
no in-interface=saida new-routing-mark=to_wlan2 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=wlan3_conn disabled=\
no in-interface=saida new-routing-mark=to_wlan3 passthrough=yes
add action=mark-connection chain=prerouting comment=\
"REDIRECIONAMENTO DE SITES" connection-state=new disabled=no \
dst-address-list=LINK0 in-interface=saida new-connection-mark=Sites0 \
passthrough=yes
add action=mark-routing chain=prerouting connection-mark=Sites0 disabled=no \
in-interface=saida new-routing-mark=Rota0 passthrough=no
add action=mark-connection chain=prerouting connection-state=new disabled=no \
dst-address-list=LINK1 in-interface=saida new-connection-mark=Sites1 \
passthrough=yes
add action=mark-routing chain=prerouting connection-mark=Sites1 disabled=no \
in-interface=saida new-routing-mark=Rota1 passthrough=no
add action=change-ttl chain=forward comment="Filtro Tracert / Traceroute" \
disabled=no new-ttl=set:30 passthrough=yes protocol=icmp
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes to-addresses=0.0.0.0
add action=masquerade chain=srcnat comment=\
"===== Masquerade Interfaces =====" disabled=no out-interface=wlan1
add action=masquerade chain=srcnat disabled=no out-interface=wlan2
add action=masquerade chain=srcnat disabled=no out-interface=wlan3
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=no src-address=172.16.0.0/24 to-addresses=0.0.0.0
/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
192.168.2.1 routing-mark=to_wlan1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
192.168.1.254 routing-mark=to_wlan2 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
10.3.3.1 routing-mark=to_wlan3 scope=30 target-scope=10
add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.254 \
routing-mark=Rota0 scope=30 target-scope=10
add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.254 \
routing-mark=Rota1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
192.168.2.1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=2 dst-address=0.0.0.0/0 gateway=\
192.168.1.254 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=3 dst-address=0.0.0.0/0 gateway=\
10.3.3.1 scope=30 target-scope=10
add address=172.16.0.1/24 disabled=no interface=saida network=172.16.0.0
add address=10.3.3.2/24 disabled=no interface=wlan3 network=10.3.3.0
add address=192.168.2.3/24 disabled=no interface=wlan1 network=192.168.2.0
add address=192.168.1.68/24 disabled=no interface=wlan2 network=192.168.1.0
add address=10.0.0.1/24 disabled=yes interface=saida network=10.0.0.0
/ip dhcp-server config
set store-leases-disk=5m
/ip dhcp-server network
add address=172.16.0.0/24 comment="hotspot network" dhcp-option="" \
dns-server="" gateway=172.16.0.1 ntp-server="" wins-server=""
/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB \
max-udp-packet-size=4096 servers=8.8.8.8,8.8.4.4
/ip firewall address-list
add address=201.7.176.0/20 comment="Vdeos - Globo" disabled=no list=LINK0
add address=208.84.247.0/24 comment="Vdeos - terratv" disabled=no list=LINK0
add address=200.154.56.0/24 comment="Vdeos - terratv" disabled=no list=LINK0
add address=201.7.176.0/24 disabled=no list=LINK1
add address=201.7.178.0/24 disabled=no list=LINK1
add address=208.67.217.0/24 disabled=no list=LINK1
add address=208.69.32.0/24 disabled=no list=LINK1
add address=64.38.29.0/24 comment=RapidShare disabled=no list=LINK1
add address=200.155.80.0-200.155.255.255 comment=BRADESCO disabled=no list=\
loopback
add address=200.220.186.0/24 comment=BRADESCO disabled=no list=loopback
add address=200.220.178.0/24 comment=BRADESCO disabled=no list=loopback
add address=208.69.32.0/24 disabled=yes list=loopback
add address=208.67.217.0/24 disabled=yes list=loopback
add address=201.7.178.0/24 disabled=yes list=loopback
add address=200.159.128.0/24 comment=BRADESCO disabled=no list=loopback
add address=201.7.176.0/20 comment="Vdeos - Globo" disabled=no list=loopback
add address=208.84.247.0/24 comment="Vdeos - terratv" disabled=no list=\
loopback
add address=200.154.0.0/18 comment="Vdeos - terratv" disabled=yes list=\
loopback
add address=200.201.160.0/24 comment="Caixa Economica Federal" disabled=no \
list=loopback
add address=200.201.166.0/24 disabled=no list=loopback
add address=200.201.173.0/24 disabled=no list=loopback
add address=200.201.174.0/24 disabled=no list=loopback
add address=200.141.207.3 comment=Detran disabled=no list=loopback
add address=200.175.132.200/29 comment=ISSNETONLINE disabled=no list=loopback
add address=189.86.4.48/28 comment="NOTA CONTROL" disabled=no list=loopback
add address=218.93.250.18 comment=meuip.datahouse.com.br disabled=no list=\
LINK1
add address=195.200.253.149 comment=meuip.net disabled=no list=LINK1
add address=186.202.153.19 comment=www.meuenderecoip.com disabled=no list=\
LINK1
/ip firewall connection tracking
set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s \
tcp-close-wait-timeout=10s tcp-established-timeout=1d \
tcp-fin-wait-timeout=10s tcp-last-ack-timeout=10s \
tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no \
tcp-time-wait-timeout=10s udp-stream-timeout=3m udp-timeout=10s
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
/ip firewall mangle
add action=accept chain=prerouting comment="FORA DO LOADBALACED" disabled=no \
dst-address-list=loopback in-interface=saida
add action=accept chain=prerouting comment="HTTPS FORA DO LOADBALACED" \
disabled=no dst-port=443 in-interface=saida protocol=tcp
add action=accept chain=prerouting comment="FORA DO LOADBALACED" disabled=yes \
dst-address-list=loopback in-interface=saida
add action=mark-connection chain=input comment=\
"===== Make the packet leaves via same interface =====" disabled=no \
in-interface=wlan1 new-connection-mark=wlan1_conn passthrough=yes
add action=mark-routing chain=output connection-mark=wlan1_conn disabled=no \
new-routing-mark=to_wlan1 passthrough=yes
add action=mark-connection chain=input disabled=no in-interface=wlan2 \
new-connection-mark=wlan2_conn passthrough=yes
add action=mark-routing chain=output connection-mark=wlan2_conn disabled=no \
new-routing-mark=to_wlan2 passthrough=yes
add action=mark-connection chain=input disabled=no in-interface=wlan3 \
new-connection-mark=wlan3_conn passthrough=yes
add action=mark-routing chain=output connection-mark=wlan3_conn disabled=no \
new-routing-mark=to_wlan3 passthrough=yes
add action=mark-connection chain=prerouting comment="===== Balance_PCC =====" \
disabled=no dst-address-type=!local hotspot=auth in-interface=saida \
new-connection-mark=wlan1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:7/0
add action=mark-connection chain=prerouting disabled=no dst-address-type=\
!local hotspot=auth in-interface=saida new-connection-mark=wlan2_conn \
passthrough=yes per-connection-classifier=both-addresses-and-ports:7/1
add action=mark-connection chain=prerouting disabled=no dst-address-type=\
!local hotspot=auth in-interface=saida new-connection-mark=wlan2_conn \
passthrough=yes per-connection-classifier=both-addresses-and-ports:7/2
add action=mark-connection chain=prerouting disabled=no dst-address-type=\
!local hotspot=auth in-interface=saida new-connection-mark=wlan2_conn \
passthrough=yes per-connection-classifier=both-addresses-and-ports:7/3
add action=mark-connection chain=prerouting disabled=no dst-address-type=\
!local hotspot=auth in-interface=saida new-connection-mark=wlan3_conn \
passthrough=yes per-connection-classifier=both-addresses-and-ports:7/4
add action=mark-connection chain=prerouting disabled=no dst-address-type=\
!local hotspot=auth in-interface=saida new-connection-mark=wlan3_conn \
passthrough=yes per-connection-classifier=both-addresses-and-ports:7/5
add action=mark-connection chain=prerouting disabled=no dst-address-type=\
!local hotspot=auth in-interface=saida new-connection-mark=wlan3_conn \
passthrough=yes per-connection-classifier=both-addresses-and-ports:7/6
add action=mark-routing chain=prerouting comment=\
"===== Marking all the packets =====" connection-mark=wlan1_conn \
disabled=no in-interface=saida new-routing-mark=to_wlan1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=wlan2_conn disabled=\
no in-interface=saida new-routing-mark=to_wlan2 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=wlan3_conn disabled=\
no in-interface=saida new-routing-mark=to_wlan3 passthrough=yes
add action=mark-connection chain=prerouting comment=\
"REDIRECIONAMENTO DE SITES" connection-state=new disabled=no \
dst-address-list=LINK0 in-interface=saida new-connection-mark=Sites0 \
passthrough=yes
add action=mark-routing chain=prerouting connection-mark=Sites0 disabled=no \
in-interface=saida new-routing-mark=Rota0 passthrough=no
add action=mark-connection chain=prerouting connection-state=new disabled=no \
dst-address-list=LINK1 in-interface=saida new-connection-mark=Sites1 \
passthrough=yes
add action=mark-routing chain=prerouting connection-mark=Sites1 disabled=no \
in-interface=saida new-routing-mark=Rota1 passthrough=no
add action=change-ttl chain=forward comment="Filtro Tracert / Traceroute" \
disabled=no new-ttl=set:30 passthrough=yes protocol=icmp
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes to-addresses=0.0.0.0
add action=masquerade chain=srcnat comment=\
"===== Masquerade Interfaces =====" disabled=no out-interface=wlan1
add action=masquerade chain=srcnat disabled=no out-interface=wlan2
add action=masquerade chain=srcnat disabled=no out-interface=wlan3
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=no src-address=172.16.0.0/24 to-addresses=0.0.0.0
/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
192.168.2.1 routing-mark=to_wlan1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
192.168.1.254 routing-mark=to_wlan2 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
10.3.3.1 routing-mark=to_wlan3 scope=30 target-scope=10
add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.254 \
routing-mark=Rota0 scope=30 target-scope=10
add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.254 \
routing-mark=Rota1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
192.168.2.1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=2 dst-address=0.0.0.0/0 gateway=\
192.168.1.254 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=3 dst-address=0.0.0.0/0 gateway=\
10.3.3.1 scope=30 target-scope=10
mauaense- Baby
- Mensagens : 27
Pontos : 37
Reputação : 4
Data de inscrição : 15/02/2011
Idade : 49
Localização : sp
Re: Load balance com links roteados so funciona um dos links
muito obg amigo, vou adaptar para meus modens e ja ja posto o resultado
rodrigo212- Iniciante
- Mensagens : 35
Pontos : 49
Reputação : 2
Data de inscrição : 19/03/2011
Idade : 40
Localização : recife
Re: Load balance com links roteados so funciona um dos links
segue minha regras para ver se tem algo de errado:
/ip address add address=192.168.78.1/24 interface=local
/ip address add address=192.168.1.2/24 interface=wan1
/ip address add address=192.168.2.1/24 interface=wan2
/ip dns set primary-dns=200.165.132.155
/ip dns set secondary-dns=200.165.132.148
/ip dns set allow-remote-requests=yes
/ip firewall filter add action=accept chain=input disabled=no in-interface=!wan1 src-address=192.168.78.0/24
/ip firewall filter add action=accept chain=input disabled=no in-interface=!wan2 src-address=192.168.78.0/24
/ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=wan1
/ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=wan2
/ ip firewall mangle add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-list=LINK0 in-interface=local new-connection-mark=Sites0 passthrough=yes
/ ip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=Sites0 disabled=no in-interface=local new-routing-mark=Rota0 passthrough=no
/ ip route add gateway=192.168.1.1 routing-mark=Rota0
/ ip firewall mangle add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-list=LINK1 in-interface=local new-connection-mark=Sites1 passthrough=yes
/ ip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=Sites1 disabled=no in-interface=local new-routing-mark=Rota1 passthrough=no
/ ip route add gateway=192.168.2.1 routing-mark=Rota1
/ip firewall address-list add address=200.155.80.0-200.155.255.255 comment="BRADESCO" disabled=no list=LINK0
/ip firewall address-list add address=200.220.186.0/24 comment="" disabled=no list=LINK0
/ip firewall address-list add address=200.220.178.0/24 comment="" disabled=no list=LINK0
/ip firewall address-list add address=64.38.29.0/24 comment="RapidShare" disabled=no list=LINK1
/ip firewall address-list add address=208.69.32.0/24 comment="" disabled=no list=LINK1
/ip firewall address-list add address=208.67.217.0/24 comment="" disabled=no list=LINK1
/ip firewall address-list add address=201.7.178.0/24 comment="" disabled=no list=LINK1
/ip firewall address-list add address=201.7.176.0/24 comment="" disabled=no list=LINK1
/ip firewall mangle add action=accept chain=prerouting comment="FORA DO LOADBALACED" disabled=no dst-address-list=loopback in-interface=local
/ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=wan1 new-connection-mark=wan1_conn passthrough=yes
/ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=wan2 new-connection-mark=wan2_conn passthrough=yes
/ip firewall mangle add action=mark-routing chain=output connection-mark=wan1_conn disabled=no new-routing-mark=to_wan1 passthrough=yes
/ip firewall mangle add action=mark-routing chain=output connection-mark=wan2_conn disabled=no new-routing-mark=to_wan2 passthrough=yes
/ip firewall mangle add action=accept chain=prerouting disabled=no dst-address=192.168.1.0/24 in-interface=local
/ip firewall mangle add action=accept chain=prerouting disabled=no dst-address=192.168.2.0/24 in-interface=local
/ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=local new-connection-mark=wan1_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0
/ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=local new-connection-mark=wan2_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
/ip firewall mangle add action=mark-routing chain=prerouting connection-mark=wan1_conn disabled=no in-interface=local new-routing-mark=to_wan1 passthrough=yes
/ip firewall mangle add action=mark-routing chain=prerouting connection-mark=wan2_conn disabled=no in-interface=local new-routing-mark=to_wan2 passthrough=yes
/ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-mark=to_wan1 comment="Link0"
/ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.2.1 routing-mark=to_wan2 comment="Link1"
/ip route add check-gateway=ping comment="Link0" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=30 target-scope=10
/ip route add check-gateway=ping comment="Link1" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=192.168.2.1 scope=30 target-scope=10
/ip firewall address-list add address=200.155.80.0-200.155.255.255 comment=BRADESCO disabled=no list=loopback
/ip firewall address-list add address=200.220.186.0/24 comment=BRADESCO disabled=no list=loopback
/ip firewall address-list add address=200.220.178.0/24 comment=BRADESCO disabled=no list=loopback
/ip firewall address-list add address=64.38.29.0/24 comment=RapidShare disabled=no list=loopback
/ip firewall address-list add address=208.69.32.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=208.67.217.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=201.7.178.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=201.7.176.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=200.159.128.0/24 comment=BRADESCO disabled=no list=loopback
/ip firewall address-list add address=201.7.176.0/20 comment="Vídeos - Globo" disabled=no list=loopback
/ip firewall address-list add address=208.84.247.0/24 comment="Vídeos - terratv" disabled=no list=loopback
/ip firewall address-list add address=200.154.56.0/24 comment="Vídeos - terratv" disabled=no list=loopback
/ip firewall address-list add address=200.201.160.0/24 comment="Caixa Economica Federal" disabled=no list=loopback
/ip firewall address-list add address=200.201.166.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=200.201.173.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=200.201.174.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=200.141.207.3 comment=Detran disabled=no list=loopback
/ip address add address=192.168.78.1/24 interface=local
/ip address add address=192.168.1.2/24 interface=wan1
/ip address add address=192.168.2.1/24 interface=wan2
/ip dns set primary-dns=200.165.132.155
/ip dns set secondary-dns=200.165.132.148
/ip dns set allow-remote-requests=yes
/ip firewall filter add action=accept chain=input disabled=no in-interface=!wan1 src-address=192.168.78.0/24
/ip firewall filter add action=accept chain=input disabled=no in-interface=!wan2 src-address=192.168.78.0/24
/ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=wan1
/ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=wan2
/ ip firewall mangle add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-list=LINK0 in-interface=local new-connection-mark=Sites0 passthrough=yes
/ ip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=Sites0 disabled=no in-interface=local new-routing-mark=Rota0 passthrough=no
/ ip route add gateway=192.168.1.1 routing-mark=Rota0
/ ip firewall mangle add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-list=LINK1 in-interface=local new-connection-mark=Sites1 passthrough=yes
/ ip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=Sites1 disabled=no in-interface=local new-routing-mark=Rota1 passthrough=no
/ ip route add gateway=192.168.2.1 routing-mark=Rota1
/ip firewall address-list add address=200.155.80.0-200.155.255.255 comment="BRADESCO" disabled=no list=LINK0
/ip firewall address-list add address=200.220.186.0/24 comment="" disabled=no list=LINK0
/ip firewall address-list add address=200.220.178.0/24 comment="" disabled=no list=LINK0
/ip firewall address-list add address=64.38.29.0/24 comment="RapidShare" disabled=no list=LINK1
/ip firewall address-list add address=208.69.32.0/24 comment="" disabled=no list=LINK1
/ip firewall address-list add address=208.67.217.0/24 comment="" disabled=no list=LINK1
/ip firewall address-list add address=201.7.178.0/24 comment="" disabled=no list=LINK1
/ip firewall address-list add address=201.7.176.0/24 comment="" disabled=no list=LINK1
/ip firewall mangle add action=accept chain=prerouting comment="FORA DO LOADBALACED" disabled=no dst-address-list=loopback in-interface=local
/ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=wan1 new-connection-mark=wan1_conn passthrough=yes
/ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=wan2 new-connection-mark=wan2_conn passthrough=yes
/ip firewall mangle add action=mark-routing chain=output connection-mark=wan1_conn disabled=no new-routing-mark=to_wan1 passthrough=yes
/ip firewall mangle add action=mark-routing chain=output connection-mark=wan2_conn disabled=no new-routing-mark=to_wan2 passthrough=yes
/ip firewall mangle add action=accept chain=prerouting disabled=no dst-address=192.168.1.0/24 in-interface=local
/ip firewall mangle add action=accept chain=prerouting disabled=no dst-address=192.168.2.0/24 in-interface=local
/ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=local new-connection-mark=wan1_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0
/ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=local new-connection-mark=wan2_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
/ip firewall mangle add action=mark-routing chain=prerouting connection-mark=wan1_conn disabled=no in-interface=local new-routing-mark=to_wan1 passthrough=yes
/ip firewall mangle add action=mark-routing chain=prerouting connection-mark=wan2_conn disabled=no in-interface=local new-routing-mark=to_wan2 passthrough=yes
/ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-mark=to_wan1 comment="Link0"
/ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.2.1 routing-mark=to_wan2 comment="Link1"
/ip route add check-gateway=ping comment="Link0" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=30 target-scope=10
/ip route add check-gateway=ping comment="Link1" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=192.168.2.1 scope=30 target-scope=10
/ip firewall address-list add address=200.155.80.0-200.155.255.255 comment=BRADESCO disabled=no list=loopback
/ip firewall address-list add address=200.220.186.0/24 comment=BRADESCO disabled=no list=loopback
/ip firewall address-list add address=200.220.178.0/24 comment=BRADESCO disabled=no list=loopback
/ip firewall address-list add address=64.38.29.0/24 comment=RapidShare disabled=no list=loopback
/ip firewall address-list add address=208.69.32.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=208.67.217.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=201.7.178.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=201.7.176.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=200.159.128.0/24 comment=BRADESCO disabled=no list=loopback
/ip firewall address-list add address=201.7.176.0/20 comment="Vídeos - Globo" disabled=no list=loopback
/ip firewall address-list add address=208.84.247.0/24 comment="Vídeos - terratv" disabled=no list=loopback
/ip firewall address-list add address=200.154.56.0/24 comment="Vídeos - terratv" disabled=no list=loopback
/ip firewall address-list add address=200.201.160.0/24 comment="Caixa Economica Federal" disabled=no list=loopback
/ip firewall address-list add address=200.201.166.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=200.201.173.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=200.201.174.0/24 comment="" disabled=no list=loopback
/ip firewall address-list add address=200.141.207.3 comment=Detran disabled=no list=loopback
rodrigo212- Iniciante
- Mensagens : 35
Pontos : 49
Reputação : 2
Data de inscrição : 19/03/2011
Idade : 40
Localização : recife
Re: Load balance com links roteados so funciona um dos links
resolvido pessoal, pessoas de outro forum me ajudaram e esta funcionando tudo ok
rodrigo212- Iniciante
- Mensagens : 35
Pontos : 49
Reputação : 2
Data de inscrição : 19/03/2011
Idade : 40
Localização : recife
Re: Load balance com links roteados so funciona um dos links
muito obrigado amigao, porem ja resolvi ta funcionando redondinho, deu erro nos videos da globo.com, porem ja foi solucionado tambem.
rodrigo212- Iniciante
- Mensagens : 35
Pontos : 49
Reputação : 2
Data de inscrição : 19/03/2011
Idade : 40
Localização : recife
Re: Load balance com links roteados so funciona um dos links
rodrigo212 escreveu:resolvido pessoal, pessoas de outro forum me ajudaram e esta funcionando tudo ok
Mano posta ai a solução pra galera ....pois pode ter outros com o mesmo problema !!!!!
cdanielboy- Power User
- Mensagens : 1012
Pontos : 1336
Reputação : 270
Data de inscrição : 12/05/2011
Idade : 39
Localização : belém
Estou com o mesmo problema, ainda não resolvi.
rodrigo212 escreveu:resolvido pessoal, pessoas de outro forum me ajudaram e esta funcionando tudo ok
Cade o FeedBack !?
Estou com o mesmo problema, ja tentei diversas configurações, mas apenas 01 link funfa. Bloqueia a navegação e outros acessos porém skype funfa.
zampier- Baby
- Mensagens : 10
Pontos : 10
Reputação : 0
Data de inscrição : 02/01/2013
Idade : 37
Localização : rio de janeiro
Re: Load balance com links roteados so funciona um dos links
rodrigo212 escreveu:muito obrigado amigao, porem ja resolvi ta funcionando redondinho, deu erro nos videos da globo.com, porem ja foi solucionado tambem.
rodrigo212, compartilha a solução. Estou com o mesmo problema.
ValterJR- Baby
- Mensagens : 3
Pontos : 3
Reputação : 0
Data de inscrição : 27/01/2013
Idade : 51
Localização : Teresópolis-RJ
Re: Load balance com links roteados so funciona um dos links
ok amigao vou postar as regras hoje a noite por volta das 23:00, pois estou no trabalho. valeu!!
rodrigo212- Iniciante
- Mensagens : 35
Pontos : 49
Reputação : 2
Data de inscrição : 19/03/2011
Idade : 40
Localização : recife
Re: Load balance com links roteados so funciona um dos links
Cade a resposta ?
andretec- Baby
- Mensagens : 6
Pontos : 12
Reputação : 0
Data de inscrição : 28/01/2013
Idade : 34
Localização : Casa
Re: Load balance com links roteados so funciona um dos links
usou e picou a mula belo............
marcos101010- Baby
- Mensagens : 2
Pontos : 2
Reputação : 0
Data de inscrição : 13/01/2012
Idade : 40
Localização : santa catarina
Re: Load balance com links roteados so funciona um dos links
TO MESMO PROBLEMA AKI SO SKYPE FUNFA
junior.0529- Baby
- Mensagens : 18
Pontos : 19
Reputação : 1
Data de inscrição : 18/03/2013
Idade : 35
Localização : bahia
Re: Load balance com links roteados so funciona um dos links
O ERRO QUE ESTOU PASSANDO, como resover???[/img]
valter- Iniciante
- Mensagens : 30
Pontos : 30
Reputação : 0
Data de inscrição : 09/05/2011
Idade : 39
Localização : Poções - BA
Tópicos semelhantes
» Balanceamento de 3 links de 35 Mb da GVT - Modems Roteados
» Load Balance NTH rb 750 4 Links
» Ballance PCC 2 links com cargas diferentes e com modens roteados.
» Load Balance NTH rb 750 4 Links
» Ballance PCC 2 links com cargas diferentes e com modens roteados.
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|