This is an old revision of the document!
PCC Load Balancer on RouterOS v7
- On this example here is the case:
- Eth1 connect to ISP1
- Eth2 connect to ISP2
- Eth3 connect to Local Network
- First, set the IP addresses:
- If using DHCP, add them on IP > DHCP Client
- If set as static, IP > Address List
- Next, add the firewall rule:
- Click on IP > Firewall > tab NAT
Add (+) on tab General: Chain: srcnat Out Interface: ether1 on tab Action: Action: masquerade Click OK Add (+) on tab General: Chain: srcnat Out Interface: ether2 on tab Action: Action: masquerade Click OK
- Set DHCP Server for the Local network.
- Accept the connection, IP > Firewall > tab Mangle:
Add (+) on tab General: Chain: prerouting Dst Address: 192.168.1.0/24 (The IP of ISP1) on tab Action: Action: accept Click OK Add (+) on tab General: Chain: prerouting Dst Address: 192.168.1.1/24 (The IP of ISP2) on tab Action: Action: accept Click OK Add (+) on tab General: Chain: prerouting Dst Address: 10.1.1.0/24 (The Local Network) on tab Action: Action: accept Click OK
- Mark the connection, IP > Firewall > tab Mangle:
Add (+) on tab General: Chain: prerouting In Interface: ether1 Connection Mark: on tab Action: Action: accept Click OK
