Hi,
I’ve recently enable PCC load balance to my router (CCR1036-12G-4S). I use DMA softlab as radius and I have hotspot users and pppoe users, too.
I’ve connected on it 5 vdsl lines (with equal bandwidth). I use 3 ip pools, one for hotspot users, one for pppoe users and one for network backbone.
I’ve created 3 address lists with these ip addresses, a) HSUSERS for hotspot users, b) PPPUSERS for PPPoE users and c) BYPASSUSERS for network backbones.
My problem is that when I enable PCC load balance, everything was fine but PPPoE users didn’t work through it. I use both addresses and ports as classifier and even if I have the full download and upload speed to hotspot and network backbone users, pppoe users still navigate through the one of my vdsl lines (fortunately randomly but I don’t think why this happens). Below are my mangle rules (any idea about this issue would be appreciated):
37 ;;; PCC GroupA - Exempt from PCC Internal LAN
chain=prerouting action=accept src-address-list=HSUSERS dst-address-list=HSUSERS
38 chain=prerouting action=accept src-address-list=PPPUSERS dst-address-list=PPPUSERS
39 chain=prerouting action=accept src-address-list=BYPASSUSERS dst-address-list=BYPASSUSERS
40 ;;; PCC Group B
chain=forward action=mark-connection new-connection-mark=WAN1_CONN passthrough=no in-interface=pppoe-wan1 connection-mark=no-mark
41 chain=forward action=mark-connection new-connection-mark=WAN2_CONN passthrough=no in-interface=pppoe-wan2 connection-mark=no-mark
42 chain=forward action=mark-connection new-connection-mark=WAN3_CONN passthrough=no in-interface=pppoe-wan3 connection-mark=no-mark
43 chain=forward action=mark-connection new-connection-mark=WAN4_CONN passthrough=no in-interface=pppoe-wan4 connection-mark=no-mark
44 chain=forward action=mark-connection new-connection-mark=WAN5_CONN passthrough=no in-interface=pppoe-wan5 connection-mark=no-mark
45 ;;; PCC Group C
chain=prerouting action=mark-connection new-connection-mark=WAN1_CONN passthrough=yes in-interface=pppoe-wan1 connection-mark=no-mark
46 chain=prerouting action=mark-connection new-connection-mark=WAN2_CONN passthrough=yes in-interface=pppoe-wan2 connection-mark=no-mark
47 chain=prerouting action=mark-connection new-connection-mark=WAN3_CONN passthrough=yes in-interface=pppoe-wan3 connection-mark=no-mark
48 chain=prerouting action=mark-connection new-connection-mark=WAN4_CONN passthrough=yes in-interface=pppoe-wan4 connection-mark=no-mark
49 chain=prerouting action=mark-connection new-connection-mark=WAN5_CONN passthrough=yes in-interface=pppoe-wan5 connection-mark=no-mark
50 ;;; PCC Group D
chain=prerouting action=jump jump-target=policy_routing in-interface=br_hs connection-mark=no-mark
51 ;;; PCC Group E - HSUSERS
chain=prerouting action=mark-routing new-routing-mark=to_wan1 passthrough=yes src-address-list=HSUSERS connection-mark=WAN1_CONN
52 chain=prerouting action=mark-routing new-routing-mark=to_wan2 passthrough=yes src-address-list=HSUSERS connection-mark=WAN2_CONN
53 chain=prerouting action=mark-routing new-routing-mark=to_wan3 passthrough=yes src-address-list=HSUSERS connection-mark=WAN3_CONN
54 chain=prerouting action=mark-routing new-routing-mark=to_wan4 passthrough=yes src-address-list=HSUSERS connection-mark=WAN4_CONN
55 chain=prerouting action=mark-routing new-routing-mark=to_wan5 passthrough=yes src-address-list=HSUSERS connection-mark=WAN5_CONN
56 ;;; PCC Group F - PPPUSERS
chain=prerouting action=mark-routing new-routing-mark=to_wan1 passthrough=yes src-address-list=PPPUSERS connection-mark=WAN1_CONN
57 chain=prerouting action=mark-routing new-routing-mark=to_wan2 passthrough=yes src-address-list=PPPUSERS connection-mark=WAN2_CONN
58 chain=prerouting action=mark-routing new-routing-mark=to_wan3 passthrough=yes src-address-list=PPPUSERS connection-mark=WAN3_CONN
59 chain=prerouting action=mark-routing new-routing-mark=to_wan4 passthrough=yes src-address-list=PPPUSERS connection-mark=WAN4_CONN
60 chain=prerouting action=mark-routing new-routing-mark=to_wan5 passthrough=yes src-address-list=PPPUSERS connection-mark=WAN5_CONN
61 ;;; PCC Group G - BYPASSUSERS
chain=prerouting action=mark-routing new-routing-mark=to_wan1 passthrough=yes src-address-list=BYPASSUSERS connection-mark=WAN1_CONN
62 chain=prerouting action=mark-routing new-routing-mark=to_wan2 passthrough=yes src-address-list=BYPASSUSERS connection-mark=WAN2_CONN
63 chain=prerouting action=mark-routing new-routing-mark=to_wan3 passthrough=yes src-address-list=BYPASSUSERS connection-mark=WAN3_CONN
64 chain=prerouting action=mark-routing new-routing-mark=to_wan4 passthrough=yes src-address-list=BYPASSUSERS connection-mark=WAN4_CONN
65 chain=prerouting action=mark-routing new-routing-mark=to_wan5 passthrough=yes src-address-list=BYPASSUSERS connection-mark=WAN5_CONN
66 ;;; PCC Group H
chain=output action=mark-routing new-routing-mark=to_wan1 passthrough=yes connection-mark=WAN1_CONN
67 chain=output action=mark-routing new-routing-mark=to_wan2 passthrough=yes connection-mark=WAN2_CONN
68 chain=output action=mark-routing new-routing-mark=to_wan3 passthrough=yes connection-mark=WAN3_CONN
69 chain=output action=mark-routing new-routing-mark=to_wan4 passthrough=yes connection-mark=WAN4_CONN
70 chain=output action=mark-routing new-routing-mark=to_wan5 passthrough=yes connection-mark=WAN5_CONN
71 ;;; PCC Group I - Classifier HSUSERS
chain=policy_routing action=mark-connection new-connection-mark=WAN1_CONN passthrough=yes dst-address-type=!local hotspot=auth per-connection-classifier=both-addresses-and-ports:5/0
72 chain=policy_routing action=mark-connection new-connection-mark=WAN2_CONN passthrough=yes dst-address-type=!local hotspot=auth per-connection-classifier=both-addresses-and-ports:5/1
73 chain=policy_routing action=mark-connection new-connection-mark=WAN3_CONN passthrough=yes dst-address-type=!local hotspot=auth per-connection-classifier=both-addresses-and-ports:5/2
74 chain=policy_routing action=mark-connection new-connection-mark=WAN4_CONN passthrough=yes dst-address-type=!local hotspot=auth per-connection-classifier=both-addresses-and-ports:5/3
75 chain=policy_routing action=mark-connection new-connection-mark=WAN5_CONN passthrough=yes dst-address-type=!local hotspot=auth per-connection-classifier=both-addresses-and-ports:5/4
76 ;;; PCC Group J - Classifier BYPASSUSERS
chain=policy_routing action=mark-connection new-connection-mark=WAN1_CONN passthrough=yes dst-address-type=!local src-address-list=BYPASSUSERS hotspot="" per-connection-classifier=both-addresses-and-ports:5/0
77 chain=policy_routing action=mark-connection new-connection-mark=WAN2_CONN passthrough=yes dst-address-type=!local src-address-list=BYPASSUSERS hotspot="" per-connection-classifier=both-addresses-and-ports:5/1
78 chain=policy_routing action=mark-connection new-connection-mark=WAN3_CONN passthrough=yes dst-address-type=!local src-address-list=BYPASSUSERS hotspot="" per-connection-classifier=both-addresses-and-ports:5/2
79 chain=policy_routing action=mark-connection new-connection-mark=WAN4_CONN passthrough=yes dst-address-type=!local src-address-list=BYPASSUSERS hotspot="" per-connection-classifier=both-addresses-and-ports:5/3
80 chain=policy_routing action=mark-connection new-connection-mark=WAN5_CONN passthrough=yes dst-address-type=!local src-address-list=BYPASSUSERS hotspot="" per-connection-classifier=both-addresses-and-ports:5/4
81 ;;; PCC Group J - Classifier PPPUSERS
chain=policy_routing action=mark-connection new-connection-mark=WAN1_CONN passthrough=yes dst-address-type=!local src-address-list=PPPUSERS hotspot="" per-connection-classifier=both-addresses-and-ports:5/0
82 chain=policy_routing action=mark-connection new-connection-mark=WAN2_CONN passthrough=yes dst-address-type=!local src-address-list=PPPUSERS hotspot="" per-connection-classifier=both-addresses-and-ports:5/1
83 chain=policy_routing action=mark-connection new-connection-mark=WAN3_CONN passthrough=yes dst-address-type=!local src-address-list=PPPUSERS hotspot="" per-connection-classifier=both-addresses-and-ports:5/2
84 chain=policy_routing action=mark-connection new-connection-mark=WAN4_CONN passthrough=yes dst-address-type=!local src-address-list=PPPUSERS hotspot="" per-connection-classifier=both-addresses-and-ports:5/3
85 chain=policy_routing action=mark-connection new-connection-mark=WAN5_CONN passthrough=yes dst-address-type=!local src-address-list=PPPUSERS hotspot="" per-connection-classifier=both-addresses-and-ports:5/4
Thanks in advanced.