Please help with mikrotik PCC

Hello guys.
I have a big problem.
If any one can help I will be the happiest man in world.
I was trying to configure my router OS 3.30 using this guide :
http://wiki.mikrotik.com/wiki/Manual:PCC

But with no result, I mean no internet is goind out.

I would like to know too what’s the different between PCC and other load balacing.

I would like to know too that does this help in internet speed?
I am using two statics IP-s.

Hope that any one is going to help me.

Regards!

http://www.tiktube.com/?video=343

(starting from slide 22)

Thanks for you quick reply and that post was very useful.
But my problem now is that all traffic goes to only one interface.
Here a picture of my MT.

Please help, I need it as soon as you can couse I am a WISP and I am getting this error!

Regards.

Use torch and look how many connections are taking traffic - if only few are making whole traffi that is OK - it is not per-packet - it is per-address-pair load balancing - number become similar on larger number of connections.

But how it’s possible that my second gateway (192.168.2.1) is not active?

it’s backup route. look at routes with routing mark set - they are active

I tried again to make a big traffic on my network and it is still the same problem.
All the traffic goes to ether2 ( I mean the first gateway).

Any help or other solution?

is some traffic marked for that gateway?

I think yes, but I used all the guide explain in the post before.

in Ur image posted i notice that ip route had no distance 1 you have distance 2 and 3 . try to make it 1 and 2.
i don’t think it will make big different, but try it
as we can see that in Ur interface list isp2 has some traffic.
be care full for ur firewall mangle i can see that in mark connection something not right sine there is in connection mark (no-mark)

add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:2/0
action=mark-connection new-connection-mark=wlan1_conn passthrough=yes
add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:2/1
action=mark-connection new-connection-mark=wlan2_conn passthrough=yes

and mark routing you has tow route ips2 it showd one isp1 and isp2
add chain=prerouting connection-mark=wlan1_conn in-interface=Local action=mark-routing new-routing-mark=to_wlan1
add chain=prerouting connection-mark=wlan2_conn in-interface=Local action=mark-routing new-routing-mark=to_wlan2


and what u mean by large traffic ( many connection. or large file download)
pcc load balance has pcc :smiley: (peer connection classifier ) and that new option

it better to export your mt fire wall and post it

finally make it work, thnx kazanova!

I don’t understand, what did “kazanova” do to make it work? What did you change?

Unfortunately, that configuration doesn’t work-i’ve tried it personally on MT 3.30

The problem is the same-only one WLAN is active ALL THE TIME!

Can somebody paste correct and working configuration of “Per-Connection-Classifier” (PCC) (2 WANs & 1 LAN)
Thanks in advance!
Greetings from Bulgaria!

correct and working config is in Wiki

do you use Hotspot/WebProxy?

No Hotspot, no Webproxy or anything else- I’m trying to configure PCC according to the WIKI on clean install-v 3.30.
Not working :frowning:!

I’ve also noticed that when i mark new routings here:

add chain=prerouting connection-mark=wlan1_conn in-interface=Local action=mark-routing new-routing-mark=to_wlan1
add chain=prerouting connection-mark=wlan2_conn in-interface=Local action=mark-routing new-routing-mark=to_wlan2

I can’t select them like optional here:

add dst-address=0.0.0.0/0 gateway=10.111.0.1 routing-mark=to_wlan1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=10.112.0.1 routing-mark=to_wlan2 check-gateway=ping

Of course names and addresses are different in my case!

Post the configuration you’re trying to use. What is on the wiki works just fine, so you’re adapting it wrong somehow. Also post a network diagram, and how you’re determining that it isn’t working.

OK!
Clipboard01.jpg

Please do a text export of the relevant sections instead. Not only is it easier to read, that screenshot also doesn’t show all the relevant columns (such as connection marks applied), making it impossible to definitively tell where things are wrong.

Somebody, please export working PCC configuration!