Hi everyone,
I’m experiencing slow internet performance on my MikroTik RB450Gx4. When traffic goes through the access point, the connection feels slow and sometimes unstable, even though both ISPs should be working normally. I’m currently using a dual-ISP load balancing setup (PCC), and I’m not sure whether the issue is coming from the mangle rules, routing, NAT, or queue configuration. I’m still learning MikroTik, so any advice or corrections would be greatly appreciated.
Below is my full configuration. I didn’t remove or shorten anything; it’s just formatted to be easier to read.
model = RB450Gx4
/interface bridge
add name=Bridge-Lan
/interface bridge port
add bridge=Bridge-Lan interface=ether3
add bridge=Bridge-Lan interface=ether4
/ip pool
add name=dhcp_pool1 ranges=192.168.0.2-192.168.0.254
/ip dhcp-server
add name=dhcp1 interface=Bridge-Lan address-pool=dhcp_pool1 lease-time=1h
/ip dhcp-server network
add address=192.168.0.0/24 gateway=192.168.0.1
dns-server=8.8.8.8,1.0.0.1,1.1.1.1,8.8.4.4
/ip address
add address=192.168.0.1/24 interface=Bridge-Lan network=192.168.0.0
/ip dhcp-client
add interface=ether1 default-route-tables=main
add interface=ether2 default-route-tables=main
/ip dns
set allow-remote-requests=yes
servers=8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/queue simple
add name="Balmon AP 1" target=Bridge-Lan
limit-at=25M/25M max-limit=50M/50M
queue=pcq-upload-default/pcq-download-default
/routing table
add name=to_ISP1 fib=yes
add name=to-ISP2 fib=yes
/ip firewall mangle
add chain=prerouting action=accept dst-address=10.11.24.0/21
add chain=prerouting action=accept dst-address=192.168.1.0/24
add chain=prerouting action=accept dst-address=192.168.0.0/24
add chain=prerouting in-interface=ether1
action=mark-connection new-connection-mark=ISP1
add chain=prerouting in-interface=ether2
action=mark-connection new-connection-mark=ISP2
add chain=prerouting in-interface=Bridge-Lan
per-connection-classifier=both-addresses:4/0
action=mark-connection new-connection-mark=ISP2
add chain=prerouting in-interface=Bridge-Lan
per-connection-classifier=both-addresses:4/1
action=mark-connection new-connection-mark=ISP1
add chain=prerouting in-interface=Bridge-Lan
per-connection-classifier=both-addresses:4/2
action=mark-connection new-connection-mark=ISP2
add chain=prerouting in-interface=Bridge-Lan
per-connection-classifier=both-addresses:4/3
action=mark-connection new-connection-mark=ISP2
add chain=prerouting in-interface=Bridge-Lan
connection-mark=ISP1 action=mark-routing new-routing-mark=to_ISP1
add chain=prerouting in-interface=Bridge-Lan
connection-mark=ISP2 action=mark-routing new-routing-mark=to-ISP2
add chain=output connection-mark=ISP1
action=mark-routing new-routing-mark=to_ISP1
add chain=output connection-mark=ISP2
action=mark-routing new-routing-mark=to-ISP2
/ip firewall nat
add chain=srcnat out-interface=ether1 action=masquerade
add chain=srcnat out-interface=ether2 action=masquerade
/ip route
add dst-address=0.0.0.0/0 gateway=10.11.24.1
routing-table=to_ISP1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.1.1
routing-table=to-ISP2 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.1.1
routing-table=to_ISP1 distance=2
add dst-address=0.0.0.0/0 gateway=10.11.24.1
routing-table=to-ISP2 distance=2
/system clock
set time-zone-name=Asia/Makassar
/system identity
set name="Load Balance 2 isp"
/system routerboard settings
set enter-setup-on=delete-key
Thank you in advance for any help or suggestions.