faz tempo que estou tentando colocar o meu load balance para funcionar tanto em bridge ''pppoe" como em route e nenhuma das duas tentativas não deu certo.
1º adsl ip: 192.168.200.3, gateway: 192.168.200.2 (modo roteado)
1º adsl ip: 192.168.100.3, gateway: 192.168.100.2 (modo roteado)
IP Clientes Saida: 192.168.254.3
Obs:. já setei os ip de dns 208.67.222.222 e 208.67.220.220 / ja tentei 192.168.254.2 e 192.168.254.5 e nada de funcionar internet não sai nada, mas pinga para fora pelo terminal tem comunicação. se alguem tiver alguma solução me der uma luz tenho uma rb450g.
email:
[email protected]
msn:
[email protected]
segue o codigo gerado, sei que todo mundo colocou para funcionar !!! eu vou ser o primeiro que não consigo.
/ip address add address=192.168.254.2/24 interface=local
/ip dns set primary-dns=192.168.254.2
/ip dns set secondary-dns=192.168.254.5
/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 firewall mangle add action=accept chain=prerouting comment="FORA DO LOADBALACED" disabled=no dst-address-list=loopback in-interface=local
/ip dhcp-client add add-default-route=yes comment="" default-route-distance=0 disabled=no interface=wan1 use-peer-dns=yes use-peer-ntp=yes
/ip dhcp-client add add-default-route=yes comment="" default-route-distance=0 disabled=no interface=wan2 use-peer-dns=yes use-peer-ntp=yes
/ip firewall nat add action=masquerade chain=srcnat comment="" disabled=no out-interface=wan1
/ip firewall nat add action=masquerade chain=srcnat comment="" disabled=no out-interface=wan2
/ip firewall filter add action=accept chain=input comment="" disabled=no in-interface=!wan1 src-address=192.168.254.0/24
/ip firewall filter add action=accept chain=input comment="" disabled=no in-interface=!wan2 src-address=192.168.254.0/24
/ip firewall mangle add action=mark-connection chain=input comment="" disabled=no in-interface=wan1 new-connection-mark=wan1_conn passthrough=yes
/ip firewall mangle add action=mark-connection chain=input comment="" disabled=no in-interface=wan2 new-connection-mark=wan2_conn passthrough=yes
/ip firewall mangle add action=mark-routing chain=output comment="" connection-mark=wan1_conn disabled=no new-routing-mark=to_wan1 passthrough=yes
/ip firewall mangle add action=mark-routing chain=output comment="" connection-mark=wan2_conn disabled=no new-routing-mark=to_wan2 passthrough=yes
/ip firewall mangle add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=local new-connection-mark=wan1_conn passthrough=yes per-connection-classifier=both-addresses:2/0
/ip firewall mangle add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=local new-connection-mark=wan2_conn passthrough=yes per-connection-classifier=both-addresses:2/1
/ip firewall mangle add action=mark-routing chain=prerouting comment="" 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 comment="" 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=wan1 routing-mark=to_wan1
/ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan2 routing-mark=to_wan2
/ip route add check-gateway=ping comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan1 scope=30 target-scope=10
/ip route add check-gateway=ping comment="" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=wan2 scope=30 target-scope=10