Amigo, só uma dúvida... se os três links forem da mesma operadora tem algum problema??? Gostaria de fazer com três links da oi de 1MB todos ADSL residencial.
Versão Imprimível
Amigo, só uma dúvida... se os três links forem da mesma operadora tem algum problema??? Gostaria de fazer com três links da oi de 1MB todos ADSL residencial.
nao tem problema, amigo essa classificação e para 3 links de proporção igual ou seja 3 links de mesmo valor.
Amigo e se os adsl's forem de velocidade diferentes ? tipo de 1 e 4 mb ?
Outra coisa vc poderia me passar uma mp com valor que vc cobra para implantar essas regras ?
Estou vendo e irei testar a de 4 links.
valeu meu nobre por disponibilzar as regras!!
Caro amigo eu uso 3 links aDSL de 8MB e autenticacao dos meus clientes é por HotSpot isso faria alguma diferenca?
Num PCC q eu tinha o check-gateway=ping e o seu é arp, qual a diferença entre um e outro?
Faltaram algumas coisas e eu fiz na orelhada sera q alguem poderia conferir pra mim para ver se esta tudo correto?
Tem que ter mais alguma coisa na RB ou só é isso mesmo?
regras
*******************************************************************
/interface ethernet
set 0 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment="" disabled=no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:71:80:AB master-port=none mtu=1500 name=wan1 speed=100Mbps
set 1 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment="" disabled=no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:71:80:AC master-port=none mtu=1500 name=wan2 speed=100Mbps
set 2 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment="" disabled=no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:71:80:AD master-port=none mtu=1500 name=wan3 speed=100Mbps
set 3 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment="" disabled=no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:71:80:AE master-port=none mtu=1500 name=ether4 speed=100Mbps
set 4 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment="" disabled=no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:71:80:AF master-port=none mtu=1500 name=ether5 speed=100Mbps
###########################################################
/ppp profile
set default change-tcp-mss=yes comment="" name=default only-one=default use-compression=default use-encryption=default use-vj-compression=default
set default-encryption change-tcp-mss=yes comment="" name=default-encryption only-one=default use-compression=default use-encryption=yes use-vj-compression=default
###########################################################
/ip address
add address=10.0.10.1/30 broadcast=10.0.10.3 comment="" disabled=no interface=ether5 network=10.0.10.0
###########################################################
/ip firewall filter
add action=accept chain=input comment="" disabled=no in-interface=!wan1 src-address=10.0.10.0/30
add action=accept chain=input comment="" disabled=no in-interface=!wan2 src-address=10.0.10.0/30
add action=accept chain=input comment="" disabled=no in-interface=!wan3 src-address=10.0.10.0/30
###########################################################
/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no out-interface=wan1
add action=masquerade chain=srcnat comment="" disabled=no out-interface=wan2
add action=masquerade chain=srcnat comment="" disabled=no out-interface=wan3
###########################################################
/ip firewall mangle
add action=mark-connection chain=input comment="Marca nova conexo de entrada wan1" connection-state=new disabled=no in-interface=wan1-pppoe new-connection-mark=wan1 passthrough=yes
add action=mark-connection chain=input comment="Marca nova conexo de entrada wan2" connection-state=new disabled=no in-interface=wan2-pppoe new-connection-mark=wan2 passthrough=yes
add action=mark-connection chain=input comment="Marca nova conexo de entrada wan3" connection-state=new disabled=no in-interface=wan3-pppoe new-connection-mark=wan3 passthrough=yes
add action=mark-connection chain=prerouting comment="Marca conexo de entrada estabelecidas wan1" connection-state=established disabled=no in-interface=wan1-pppoe new-connection-mark=wan1 passthrough=yes
add action=mark-connection chain=prerouting comment="Marca conexo de entrada estabelecidas wan2" connection-state=established disabled=no in-interface=wan2-pppoe new-connection-mark=wan2 passthrough=yes
add action=mark-connection chain=prerouting comment="Marca conexo de entrada estabelecidas wan3" connection-state=established disabled=no in-interface=wan3-pppoe new-connection-mark=wan3 passthrough=yes
add action=mark-connection chain=prerouting comment="Marca conexo de entrada relacionadas wan1" connection-state=related disabled=no in-interface=wan1-pppoe new-connection-mark=wan1 passthrough=yes
add action=mark-connection chain=prerouting comment="Marca conexo de entrada relacionadas wan2" connection-state=related disabled=no in-interface=wan2-pppoe new-connection-mark=wan2 passthrough=yes
add action=mark-connection chain=prerouting comment="Marca conexo de entrada relacionadas wan3" connection-state=related disabled=no in-interface=wan3-pppoe new-connection-mark=wan3 passthrough=yes
add action=mark-routing chain=output comment="Marca nova rota de entrada wan1" connection-mark=wan1 disabled=no new-routing-mark=static-wan1 passthrough=no
add action=mark-routing chain=output comment="Marca nova rota de entrada wan2" connection-mark=wan2 disabled=no new-routing-mark=static-wan2 passthrough=no
add action=mark-routing chain=output comment="Marca nova rota de entrada wan3" connection-mark=wan3 disabled=no new-routing-mark=static-wan3 passthrough=no
add action=mark-routing chain=prerouting comment="Marca encaminhamento para marcar PCC - opo 1" connection-mark=wan1_pcc_conn disabled=no new-routing-mark=wan1 passthrough=yes
add action=mark-routing chain=prerouting comment="Marca encaminhamento para marcar PCC - opo 2" connection-mark=wan2_pcc_conn disabled=no new-routing-mark=wan2 passthrough=yes
add action=mark-routing chain=prerouting comment="Marca encaminhamento para marcar PCC - opo 3" connection-mark=wan3_pcc_conn disabled=no new-routing-mark=wan3 passthrough=yes
###########################################################
/ip firewall address-list
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=64.38.29.0/24 comment=RapidShare disabled=no list=loopback
add address=208.69.32.0/24 comment="" disabled=no list=loopback
add address=208.67.217.0/24 comment="" disabled=no list=loopback
add address=201.7.178.0/24 comment="" disabled=no list=loopback
add address=201.7.176.0/24 comment="" disabled=no 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.56.0/24 comment="Vdeos - terratv" disabled=no list=loopback
add address=200.201.160.0/24 comment="Caixa Economica Federal" disabled=no list=loopback
add address=200.201.166.0/24 comment="" disabled=no list=loopback
add address=200.201.173.0/24 comment="" disabled=no list=loopback
add address=200.201.174.0/24 comment="" disabled=no list=loopback
add address=200.141.207.3 comment=Detran disabled=no list=loopback
add address=85.17.216.46 comment=www.easy-share.com disabled=no list=loopback
add address=200.222.8.9 comment=Detran disabled=no list=loopback
add address=85.17.216.46 comment=www.easy-share.com disabled=no list=loopback
add address=200.222.8.9 comment=Detran disabled=no list=loopback
###########################################################
/ip route
add check-gateway=arp comment="WAN 1 - Distance 1" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan1-pppoe routing-mark=wan1
add check-gateway=arp comment="WAN 3 - Distance 3" disabled=no distance=3 dst-address=0.0.0.0/0 gateway=wan2-pppoe routing-mark=wan3
add check-gateway=arp comment="WAN 2 - Distance 2" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=wan3-pppoe routing-mark=wan2
add check-gateway=arp comment="Rota esttica - WAN3" disabled=no distance=3 dst-address=0.0.0.0/0 gateway=wan3-pppoe routing-mark=static-wan3
add check-gateway=arp comment="WAN 3 - Distance 1" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan3-pppoe routing-mark=wan3
add check-gateway=arp comment="WAN 3 - Distance 2" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=wan1-pppoe routing-mark=wan3
add check-gateway=arp comment="WAN 2 - Distance 1" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan2-pppoe routing-mark=wan2
add check-gateway=arp comment="WAN 1 - Distance 2" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=wan2-pppoe routing-mark=wan1
add check-gateway=arp comment="Rota esttica - WAN2" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=wan2-pppoe routing-mark=static-wan2
add check-gateway=arp comment="WAN 2 - Distance 3" disabled=no distance=3 dst-address=0.0.0.0/0 gateway=wan1-pppoe routing-mark=wan2
add check-gateway=arp comment="Default Route - Distance 1" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan1-pppoe
add check-gateway=arp comment="Default Route - Distance 2" disabled=no distance=3 dst-address=0.0.0.0/0 gateway=wan3-pppoe
add check-gateway=arp comment="Rota esttica - WAN1" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan1-pppoe routing-mark=static-wan1
add check-gateway=arp comment="WAN 1 - Distance 3" disabled=no distance=3 dst-address=0.0.0.0/0 gateway=wan3-pppoe routing-mark=wan1
add check-gateway=arp comment="Default Route - Distance 3" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=wan2-pppoe
*******************************************************************