I was wondering if there is a way to do load balancing over 2 ISP providers just with these commands
ip route add gateway=10.10.10.1,10.10.10.1,10.10.10.2
my question is that I have a lan with the network 192.168.1.0/24 and these providers WAN1: 10.10.10.1 is giving me 2Mbps and WAN2: 10.10.10.2 is giving me 1Mbps
I tried it but with no luck, and the question is because i’ve been reading in the wiki and all examples are with different subnets, not with a /24 mask and I am not intending to change that to the customers, how can I achieve this process to send 66% of the traffic through 1 ISP and the other 34% through the other ISP without doing subnetting?
I have done the same with a /24 subnet and two WAN. I used PCC (Mangle Rules). Really easy to understand. Read this page on the wiki. This page tought me EVERYTHING I needed to know about PCC!
If I would have to choose between ECMP load balancing with masquerade, NTH load balancing with masquerade and PCC what would have the best performance in my RB493 ?
I think PCC is by far the most customizable one of the three. They all require mangle rules that are going to be roughly equally expensive in terms of resources used.