pcc problem

as we can see
that pcc don’t work as loadbalance
i will r post my config

/ip address
add address=192.168.10.2/24 broadcast=192.168.10.255 comment=
“default configuration” disabled=no interface=Local network=192.168.10.0

/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
pppoe-out2 routing-mark=to_wan2
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
pppoe-out1
add check-gateway=ping comment=1 disabled=no distance=1 dst-address=0.0.0.0/0
gateway=pppoe-out1,pppoe-out2
add check-gateway=ping comment=“” disabled=no distance=1 dst-address=
0.0.0.0/0 gateway=pppoe-out1 routing-mark=to_wan1
add check-gateway=ping disabled=no distance=2 dst-address=0.0.0.0/0 gateway=
pppoe-out2
/ip firewall nat
add action=masquerade chain=srcnat comment=“” disabled=no out-interface=
pppoe-out1
add action=masquerade chain=srcnat comment=“” disabled=no out-interface=
pppoe-out2
/ip firewall mangle
add action=mark-connection chain=input comment=“” disabled=no in-interface=
pppoe-out1 new-connection-mark=wan1_conn passthrough=yes
add action=mark-connection chain=input comment=“” disabled=no in-interface=
pppoe-out2 new-connection-mark=wan2_conn passthrough=yes
add action=mark-connection chain=output comment=“” connection-mark=no-mark
disabled=no new-connection-mark=wan1_conn passthrough=yes
per-connection-classifier=both-addresses:2/0
add action=mark-connection chain=output comment=“” connection-mark=no-mark
disabled=no new-connection-mark=wan2_conn passthrough=yes
per-connection-classifier=both-addresses:2/1
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
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
add action=mark-routing chain=prerouting comment=“” connection-mark=wan1_conn
disabled=no in-interface=Local new-routing-mark=to_wan1 passthrough=yes
add action=mark-routing chain=prerouting comment=“” connection-mark=wan2_conn
disabled=no in-interface=Local new-routing-mark=to_wan2 passthrough=yes
1st.JPG
2nd.JPG
2.JPG

add check-gateway=ping comment=1 disabled=no distance=1 dst-address=0.0.0.0/0
gateway=pppoe-out1,pppoe-out2

Why is this line in your config?

Also, how are you testing this? How many computers are sending bandwidth through the router at that point?

one computer
i use dowload manger to test my bandwith

If you’re only using one computer, and you’re only testing with one connection out to the internet, then it looks like it’s working correctly.

how that come in three case i has same speed
i don’t get what i must get double speed since tow are line equal
256+256=512
all whati get 256

PCC load balances connections, not packets WITHIN a connection. If you only have one connection going (one download), you’re going to get the speed of one line.

what is the way to has 2 lin as one line on one pc

Unless you have another router out in the cloud to run bonded tunnels to, you would have to ask your provider for help. They would have to provide you bonded circuits.

But: PCC will balance by connection. So if one PC is using more than one TCP connection (downloading many files at ones), it can use both circuits. It’s just that you can’t make one download go across both lines at once.

back to pcc
if i 2 pc on LAN and i push the 1srt pc to use the all connection it can used.. the 2nd pc will use the second line ??

Theory

PCC takes selected fields from IP header, and with the help of a hashing algorithm converts selected fields into 32-bit value. This value then is divided by a specified Denominator and the remainder then is compared to a specified Remainder, if equal then packet will be captured. You can choose from src-address, dst-address, src-port, dst-port from the header to use in this operation.

PCC takes any new connections and runs an algorithm on them to classify them. Based on that classification you can then push it out a particular circuit.

huh, look at last MUM’s presentation: http://mum.mikrotik.com/presentations/PL10/balancing.pdf

6th page :smiley:

you had post it to me before and i had read it
but i dont know what i dont see in it

256+256 is not equal to 512 if we’re talking about load balance =)