| RouterOS Version | LAN Interface |
| Gateway | Interface | Download | Upload | Action |
|---|---|---|---|---|
| WAN | PCC Remainder | Weight |
|---|---|---|
| ISP-1 | 0/2 | 50.00% |
| ISP-2 | 1/2 | 50.00% |
The MikroTik PCC Generator builds a Per Connection Classifier load balancing script that spreads new connections across multiple WAN links. You enter each WAN's name, gateway, interface, and speeds, and the tool computes the classifier divisor, the per-link remainder, and a weight. The output contains firewall mangle marking rules plus one routing table entry per link, using routing-table syntax for RouterOS 7 and routing-mark syntax for RouterOS 6.
With ISP-1 at gateway 192.168.1.1 on ether1 and ISP-2 at gateway 192.168.2.1 on ether2, both set to 100 Mbps download, the divisor becomes 2. The classifier rules use per-connection-classifier=both-addresses-and-ports:2/0 and 2/1 on prerouting, each WAN shows a 50.00% weight, and the router receives one route per ISP pointing at each gateway.