I have 2 satellite modems with different static IP addresses and different gateways! and I'm using PCC method for unequal 2 Wan load balancing (Wan1= 10Mbit | Wan2= 5Mbit).
At first, I've noticed that it works but not stable! When it's working most of the time I don't get full speed. And while watching videos on Youtube only one link is active! Also while downloading sometimes both link work, sometimes just one link.
Here's my configuration:
Code: Select all
/ip address
add address=10.138.22.154/29 interface=WAN1
add address=10.138.26.125/29 interface=WAN2
add address=10.10.100.1/22 interface=LAN
/ip dns
set allow-remote-requests=yes cache-size=5000KiB max-udp-packet-size=4096 servers=8.8.8.8,8.8.4.4
/ip firewall mangle
add chain=input in-interface=WAN1 action=mark-connection new-connection-mark=WAN1_con
add chain=input in-interface=WAN2 action=mark-connection new-connection-mark=WAN2_con
add action=mark-routing chain=output connection-mark=WAN1_con new-routing-mark=to_WAN1
add action=mark-routing chain=output connection-mark=WAN2_con new-routing-mark=to_WAN2
add chain=prerouting dst-address=10.138.22.152/29 in-interface=LAN
add chain=prerouting dst-address=10.138.26.120/29 in-interface=LAN
add action=mark-connection chain=prerouting dst-address-type=!local hotspot=auth in-interface=LAN new-connection-mark=WAN1_con per-connection-classifier=both-addresses-and-ports:2/0
add action=mark-connection chain=prerouting dst-address-type=!local hotspot=auth in-interface=LAN new-connection-mark=WAN2_con per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-connection chain=prerouting dst-address-type=!local hotspot=auth in-interface=LAN new-connection-mark=WAN1_con per-connection-classifier=both-addresses-and-ports:2/2
add action=mark-routing chain=prerouting connection-mark=WAN1_con in-interface=LAN new-routing-mark=to_WAN1
add action=mark-routing chain=prerouting connection-mark=WAN2_con in-interface=LAN new-routing-mark=to_WAN2
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN1
add action=masquerade chain=srcnat out-interface=WAN2
/ip route
add check-gateway=ping distance=1 gateway=10.138.22.153 routing-mark=to_WAN1
add check-gateway=ping distance=1 gateway=10.138.26.124 routing-mark=to_WAN2
add check-gateway=ping distance=1 gateway=10.138.22.153
add check-gateway=ping distance=2 gateway=10.138.26.124