Re: Balanceamento RB-750 MK4.10
esse foi o post q eu encontrei a que, eu nao entende muito nao . mais voltemtar algo a que!!!
Lembrem de desmarcar a opcao "add default route" nas propriedades do pppoe-out
Sistema utilizado: Mikrotik 3.28 X86
Interfaces:Local (clientes pppoe-server)
pppoe-out1 (ADSL1)
pppoe-out2 (ADSL2)
Mangle
Código :
/ip firewall mangleadd action=accept chain=prerouting comment="FORA DO LOADBALACED" disabled=no dst-address-list=loopback in-interface=Localadd action=mark-connection chain=input comment="Make the packet leaves via same interface" connection-state=new disabled=no in-interface=wan1-pppoe \ new-connection-mark=wan1_conn passthrough=yesadd action=mark-connection chain=input comment="" connection-state=new disabled=no in-interface=wan2-pppoe new-connection-mark=wan2_conn passthrough=yesadd action=mark-routing chain=output comment="" connection-mark=wan1_conn connection-state=new disabled=no new-routing-mark=to_wan1 passthrough=noadd action=mark-routing chain=output comment="" connection-mark=wan2_conn connection-state=new disabled=no new-routing-mark=to_wan2 passthrough=noadd action=accept chain=prerouting comment="Assigning the propper routing-mark" disabled=yes dst-address=10.111.0.0/24 in-interface=Localadd action=accept chain=prerouting comment="" disabled=yes dst-address=10.112.0.0/24 in-interface=Localadd action=mark-connection chain=prerouting comment="PCC Balance" disabled=no dst-address-type=!local in-interface=Local new-connection-mark=wan1_conn \ passthrough=no per-connection-classifier=both-addresses:2/0add 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/1add action=mark-routing chain=prerouting comment="Marking all the packets" connection-mark=wan1_conn disabled=no in-interface=Local new-routing-mark=to_wan1 \ passthrough=noadd action=mark-routing chain=prerouting comment="" connection-mark=wan2_conn disabled=no in-interface=Local new-routing-mark=to_wan2 passthrough=no
NAT
Código :
/ip firewall natadd action=masquerade chain=srcnat comment="Masquerade Interfaces" disabled=no out-interface=wan1-pppoeadd action=masquerade chain=srcnat comment="" disabled=no out-interface=wan2-pppoe
ROUTES
Código :
/ip routeadd comment="" disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=Localadd check-gateway=ping comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan1-pppoe routing-mark=to_wan1add check-gateway=ping comment="" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=wan2-pppoeadd check-gateway=ping comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan2-pppoe routing-mark=to_wan2add check-gateway=ping comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan1-pppoe
Re: Balanceamento RB-750 MK4.10
Citação:
Postado originalmente por
nailton
esse foi o post q eu encontrei a que, eu nao entende muito nao . mais voltemtar algo a que!!!
Lembrem de desmarcar a opcao "add default route" nas propriedades do pppoe-out
Sistema utilizado: Mikrotik 3.28 X86
Interfaces:Local (clientes pppoe-server)
pppoe-out1 (ADSL1)
pppoe-out2 (ADSL2)
Mangle
Código :
/ip firewall mangleadd action=accept chain=prerouting comment="FORA DO LOADBALACED" disabled=no dst-address-list=loopback in-interface=Localadd action=mark-connection chain=input comment="Make the packet leaves via same interface" connection-state=new disabled=no in-interface=wan1-pppoe \ new-connection-mark=wan1_conn passthrough=yesadd action=mark-connection chain=input comment="" connection-state=new disabled=no in-interface=wan2-pppoe new-connection-mark=wan2_conn passthrough=yesadd action=mark-routing chain=output comment="" connection-mark=wan1_conn connection-state=new disabled=no new-routing-mark=to_wan1 passthrough=noadd action=mark-routing chain=output comment="" connection-mark=wan2_conn connection-state=new disabled=no new-routing-mark=to_wan2 passthrough=noadd action=accept chain=prerouting comment="Assigning the propper routing-mark" disabled=yes dst-address=10.111.0.0/24 in-interface=Localadd action=accept chain=prerouting comment="" disabled=yes dst-address=10.112.0.0/24 in-interface=Localadd action=mark-connection chain=prerouting comment="PCC Balance" disabled=no dst-address-type=!local in-interface=Local new-connection-mark=wan1_conn \ passthrough=no per-connection-classifier=both-addresses:2/0add 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/1add action=mark-routing chain=prerouting comment="Marking all the packets" connection-mark=wan1_conn disabled=no in-interface=Local new-routing-mark=to_wan1 \ passthrough=noadd action=mark-routing chain=prerouting comment="" connection-mark=wan2_conn disabled=no in-interface=Local new-routing-mark=to_wan2 passthrough=no
NAT
Código :
/ip firewall natadd action=masquerade chain=srcnat comment="Masquerade Interfaces" disabled=no out-interface=wan1-pppoeadd action=masquerade chain=srcnat comment="" disabled=no out-interface=wan2-pppoe
ROUTES
Código :
/ip routeadd comment="" disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=Localadd check-gateway=ping comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan1-pppoe routing-mark=to_wan1add check-gateway=ping comment="" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=wan2-pppoeadd check-gateway=ping comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan2-pppoe routing-mark=to_wan2add check-gateway=ping comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan1-pppoe
pcc com os modens em bridge. fica muito bom com os modens em bridge.
Re: Balanceamento RB-750 MK4.10
isso vol utilizar os modens em brith pior q eu nao entende como e essa configuração por q da utima vez q eu configurei eu pequei em graficos das configuração:hmmmm2:
Re: Balanceamento RB-750 MK4.10
tanta utilizando o programa do SCAN
facilita muito a configuração já que o programa gera todo o código
https://under-linux.org/f227/program...to-pcc-134749/
Re: Balanceamento RB-750 MK4.10
eu tentei mais nao funcioneu tanto pelo programa quanto e ums confing q eu emcontrei tabem nao funcioneu ?!