Hello everyone,
I’m still a beginner in MikroTik and I would like to ask for help regarding my PCC load balancing configuration. Below is my current setup, hardware information, bandwidth details, and configuration logic.
Hardware
- Router model: MikroTik RB450Gx4
1. WAN Configuration
-
I have 2 DHCP Clients:
-
DHCP Client on ether1 (ISP 1)
-
DHCP Client on ether2 (ISP 2)
-
-
Both WAN interfaces receive dynamic IP addresses.
-
Total ISP bandwidth:
-
ISP 1 (ether1): 30 Mbps
-
ISP 2 (ether2): 100 Mbps
-
2. LAN Configuration
-
I have 3 DHCP Servers:
-
DHCP Server for ether3
-
DHCP Server for ether4
-
DHCP Server for ether5
-
3. IP Addressing
-
Total 5 IP addresses:
-
2 dynamic IPs from DHCP Clients (ether1 and ether2)
-
ether3:
192.168.10.2 -
ether4:
192.168.20.2 -
ether5:
192.168.30.2
-
4. DNS
-
DNS servers used:
-
8.8.8.8 -
1.1.1.1
-
5. NAT
-
NAT configuration follows common tutorials:
-
Masquerade via ether1
-
Masquerade via ether2
-
6. Mangle Configuration
a. Accept Rules
-
There are 5 mangle rules with action=accept
-
Each rule is created for:
-
ether1
-
ether2
-
ether3
-
ether4
-
ether5
-
b. Mark Connection (WAN)
-
1 connection-mark rule for ether1
-
1 connection-mark rule for ether2
c. Mark Connection (LAN – PCC)
-
There are 13 PCC rules per LAN interface:
-
ether3
-
ether4
-
ether5
-
-
PCC method: src-address
-
Ratio used: 13/12
d. Mark Routing
-
There are 2 routing-mark rules
-
Applied to traffic coming from:
-
ether3
-
ether4
-
ether5
-
e. Output Chain
- There is an output chain rule to mark router-generated traffic.
7. Routes
-
In IP → Routes, I have 2 routes:
-
One default route via ether1
-
One default route via ether2
-
8. Bandwidth Limitation (QoS)
-
Bandwidth limitation is applied on LAN ports:
-
ether3 is limited to 50 Mbps
-
ether4 is limited to 50 Mbps
-
-
Bandwidth control is implemented using:
-
Simple Queue
-
PCQ (Per Connection Queue)
-
Problems Encountered
-
Issue on ether4 (Access Point 1)
ether4 is connected to an access point.
The internet speed becomes progressively slower as more users connect to the access point. -
Issue on ether3 (Access Point 2)
ether3 is connected to a second access point.
Devices connecting through Access Point 2 initially access the internet normally, but after 2–3 minutes the connection suddenly disconnects.
After that:-
The SSID of Access Point 2 is no longer visible on the client device.
-
To make the SSID visible again, I need to unplug and reconnect the LAN cable between Access Point 2 and ether3.
-