Load Balance + PCC + PPPOE Same ISP (Gateway)

Hi,

How to I Load Balance + PCC + PPPOE Same ISP (Gateway) with same gateway?

[admin@MikroTik] > /ip address print 
Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         INTERFACE                                                                                                                                     
 0   192.168.2.1/24     192.168.2.0     bridge_lan_vlan-mgmt                                                                                                                          
 1   10.0.0.1/22        10.0.0.0        bridge-ap_apctlr                                                                                                                              
 2 D 175.136.212.109/32 175.136.215.254 pppoe-unifi_a                                                                                                                                 
 3 D 175.138.4.114/32   175.138.4.254   pppoe-unifi_b



[admin@MikroTik] > /ip firewall mangle print 
Flags: X - disabled, I - invalid, D - dynamic 
 0  D chain=forward action=change-mss new-mss=1452 tcp-flags=syn protocol=tcp out-interface=all-ppp tcp-mss=1453-65535 

 1  D chain=forward action=change-mss new-mss=1452 tcp-flags=syn protocol=tcp in-interface=all-ppp tcp-mss=1453-65535 

 2  D ;;; special dummy rule to show fasttrack counters
      chain=prerouting 

 3  D ;;; special dummy rule to show fasttrack counters
      chain=forward 

 4  D ;;; special dummy rule to show fasttrack counters
      chain=postrouting 

 5    chain=prerouting action=mark-connection new-connection-mark=conn-unifi_a connection-mark=no-mark in-interface=pppoe-unifi_a 

 6    chain=prerouting action=mark-connection new-connection-mark=conn-unifi_b connection-mark=no-mark in-interface=pppoe-unifi_b 

 7    chain=prerouting action=mark-connection new-connection-mark=conn-unifi_a passthrough=yes dst-address-type=!local connection-mark=no-mark in-interface=bridge-ap_apctlr 
      per-connection-classifier=both-addresses:2/0 log=no log-prefix="" 

 8    chain=prerouting action=mark-connection new-connection-mark=conn-unifi_b passthrough=yes dst-address-type=!local connection-mark=no-mark in-interface=bridge-ap_apctlr 
      per-connection-classifier=both-addresses:2/1 log=no log-prefix="" 

 9    chain=prerouting action=mark-routing new-routing-mark=to-unifi_a passthrough=yes connection-mark=conn-unifi_a in-interface=bridge-ap_apctlr log=no log-prefix="" 

10    chain=prerouting action=mark-routing new-routing-mark=to-unifi_b passthrough=yes connection-mark=conn-unifi_b in-interface=bridge-ap_apctlr log=no log-prefix="" 

11    chain=output action=mark-routing new-routing-mark=to-unifi_a connection-mark=conn-unifi_a 

12    chain=output action=mark-routing new-routing-mark=to-unifi_b connection-mark=conn-unifi_b



[admin@MikroTik] > /ip route print 
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit 
 #      DST-ADDRESS        PREF-SRC        GATEWAY            DISTANCE
 0 A S  0.0.0.0/0                          pppoe-unifi_a             1
 1 A S  0.0.0.0/0                          pppoe-unifi_b             1
 2 ADS  0.0.0.0/0                          175.138.4.254             0
 3  DS  0.0.0.0/0                          175.136.215.254           0
 4 ADC  10.0.0.0/22        10.0.0.1        bridge-ap_apctlr          0
 5 ADC  175.136.215.254/32 175.136.212.109 pppoe-unifi_a             0
 6 ADC  175.138.4.254/32   175.138.4.114   pppoe-unifi_b             0
 7 ADC  192.168.2.0/24     192.168.2.1     bridge_lan_vlan...        0



[admin@MikroTik] > /ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic 
 0    chain=srcnat action=masquerade out-interface=pppoe-unifi_a log=no log-prefix="" 

 1    chain=srcnat action=masquerade out-interface=pppoe-unifi_b log=no log-prefix=""

You can not use PCC together with FastTrack:
http://wiki.mikrotik.com/wiki/Manual:Wiki/Fasttrack
"Note that not all packets in a connection can be fasttracked, so it is likely to see some packets going through slow path even though connection is marked for fasttrack. This is the reason why fasttrack-connection is usually followed be identical action=accept rule. Fasttracked packets bypass firewall, connection tracking, simple queues, queue tree with parent=global, ip traffic-flow(restriction removed in 6.33), ip accounting, ipsec, hotspot universal client, vrf assignment, so it is up to administrator to make sure fasttrack does not interfere with other configuration; "

Hi,

Above is default rule on my miktotik and follow the PCC wiki. Is anyone can point me to the right direction?

hey danny, I see you’re from Malaysia too. Did you manage to solve this problem? I’m also load balancing 2 WANs with PCC and had problems when FastTrack is on. I’ve managed to solve it but not sure if this is the right way.

What I’ve done is to exclude WAN2 connections from FastTrack.

add action=fasttrack-connection chain=forward connection-mark=!WAN2_conn connection-state=established,related

That’s all I did and it seems to be working. FastTrack is back on and everything is ok so far. CPU usage on my RB2011 is down from 80% to 50% when routing at 60mbps. The WANs are 30mbps each.