Dear MikroTik fans,
I am having an issue with configuring PCC load balancing on an RB5009UG+S+IN router.
Here is the export from the mangle rules configuration:
/ip firewall mangle
add action=mark-connection chain=prerouting comment=ISP1
connection-mark=no-mark connection-state=new disabled=
yes dst-address-type=!local in-interface-list=LAN
new-connection-mark=ISP1_conn per-connection-classifier=
src-address:2/0
add action=mark-connection chain=prerouting comment=ISP2
connection-mark=no-mark connection-state=new disabled=
yes dst-address-type=!local in-interface-list=LAN
new-connection-mark=ISP2_conn per-connection-classifier=
src-address:2/1
add action=mark-connection chain=prerouting comment=ISP1
connection-mark=no-mark connection-state=new disabled=
yes in-interface=ether1 new-connection-mark=ISP1_conn
add action=mark-connection chain=prerouting comment=ISP2
connection-mark=no-mark connection-state=new disabled=
yes in-interface=ether2 new-connection-mark=ISP2_conn
add action=mark-routing chain=prerouting comment=ISP1
connection-mark=ISP1_conn disabled=yes
in-interface-list=LAN new-routing-mark=to_ISP1
add action=mark-routing chain=prerouting comment=ISP2
connection-mark=ISP2_conn disabled=yes
in-interface-list=LAN new-routing-mark=to_ISP2
add action=mark-routing chain=output comment=ISP1
connection-mark=ISP1_conn disabled=yes new-routing-mark=
to_ISP1
add action=mark-routing chain=output comment=ISP2
connection-mark=ISP2_conn disabled=yes new-routing-mark=
to_ISP2
and from the NAT section:
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN routing-mark=to_ISP1
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN routing-mark=to_ISP2
add action=masquerade chain=srcnat out-interface-list=WAN
In addition, I have 20 VLANs, though currently only a few of them are in use, a configured CAPsMAN, and one VPN connection. There are about 20–30 clients in total at the moment.
I have noticed the following: when I enable the mangle rules, the internet works for clients and PCC also works, but as soon as 2–3 clients are connected, the internet starts to slow down considerably. When I disable the mangle rules, everything works perfectly.
The CPU load is low, and fasttrack is enabled in the forward chain of the firewall.
My question is: what could be the reason for this behavior? Is the router not powerful enough for this configuration, even though the overall load seems to be quite low? My objective is to make this configuration work with WAN failover.
Please assist me in finding a solution.
Best regards.