Community discussions

MikroTik App
 
andrescamino
Member Candidate
Member Candidate
Topic Author
Posts: 198
Joined: Wed Aug 19, 2009 7:07 pm
Location: Guayaquil-Ecuador

Load Balancing without routing mark??

Thu Aug 12, 2010 8:35 pm

hello to all,

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?

thanks for your answers
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Load Balancing without routing mark??

Thu Aug 12, 2010 10:15 pm

You can do it with routing marks. Use PCC with three lines, set the same routing mark on two of them.
 
tehknox
just joined
Posts: 16
Joined: Wed Jul 28, 2010 4:37 pm
Location: Sherbrooke, Québec
Contact:

Re: Load Balancing without routing mark??

Thu Aug 12, 2010 10:19 pm

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!

http://wiki.mikrotik.com/wiki/How_PCC_w ... eginner%29

Best Regards,
tehknox
 
andrescamino
Member Candidate
Member Candidate
Topic Author
Posts: 198
Joined: Wed Aug 19, 2009 7:07 pm
Location: Guayaquil-Ecuador

Re: Load Balancing without routing mark??

Fri Aug 13, 2010 1:11 am

thank you guys...

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 ?


Best regards
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Load Balancing without routing mark??

Fri Aug 13, 2010 1:19 am

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.

Who is online

Users browsing this forum: yhfung and 47 guests