lo there…
i’m trying to put load-balance with 2 adsl connection
already got pppoe-out running…
i added a few rules to see if it goes but no luck …
can someone give me a hint where is the problem???
/ip firewall mangle
1 - add action=accept chain=prerouting comment=“FORA DO LOADBALACED” disabled=no dst-address-list=loopback in-interface=Local
2 - add action=mark-connection chain=input comment=“” connection-state=new disabled=no in-interface=wan1-pppoe new-connection-mark=wan1_conn passthrough=yes
3 - add action=mark-connection chain=input comment=“” connection-state=new disabled=no in-interface=wan2-pppoe new-connection-mark=wan2_conn passthrough=yes
4 - add action=mark-routing chain=output comment=“” connection-mark=wan1_conn connection-state=new disabled=no new-routing-mark=to_wan1 passthrough=no
5 - add action=mark-routing chain=output comment=“” connection-mark=wan2_conn connection-state=new disabled=no new-routing-mark=to_wan2 passthrough=no
6 - add action=accept chain=prerouting comment=“Assigning the propper routing-mark” disabled=yes dst-address=192.168.1.0/24 in-interface=Local
7 - add 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/0
8 - 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
09 - add 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=no
10 - add action=mark-routing chain=prerouting comment=“” connection-mark=wan2_conn disabled=no in-interface=Local new-routing-mark=to_wan2 passthrough=no
/ip firewall nat
add action=masquerade chain=srcnat comment=“Masquerade Interfaces” disabled=no out-interface=wan1-pppoe
add action=masquerade chain=srcnat comment=“” disabled=no out-interface=wan2-pppoe
/ip route
add check-gateway=ping comment=“” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan1-pppoe routing-mark=to_wan1
add check-gateway=ping comment=“” disabled=no distance=2 dst-address=0.0.0.0/0 gateway=wan2-pppoe
add check-gateway=ping comment=“” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan2-pppoe routing-mark=to_wan2
add check-gateway=ping comment=“” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan1-pppoe
here are some jpgs…
http://img121.imageshack.us/img121/7816/mangle.jpg
http://img690.imageshack.us/i/routes450.jpg/
still doesn’t balance :S