Community discussions

MikroTik App
 
liniuxs
just joined
Topic Author
Posts: 3
Joined: Mon Nov 03, 2014 12:59 pm

Load balancing(1calbe+wifi) and failover

Sat Nov 08, 2014 3:23 pm

Hi, I am looking if someone could help me or just guide me if this is possible.
Recently I bought it RB2011UiAS-2HnD router and pretty happy with it.
Situation is I got at home router which provides 160mbps down speed and I am connected now trough powerline which is sometimes not very stable(sometimes just losing connection) and not using full potential of my internet. Right now I am getting around 60-70mbps trough powerline and often its loosing connection. So
I tried few tutorials, but didn't get it working properly, maybe because most of the times tutorials made for different internet sources(wan's), which is in my case I got only one. Idea is get mikrotik connected to cable and wifi connection and get combined speeds + failover. To get better idea I draw little diagram.

https://docs.google.com/document/d/1lk0 ... sp=sharing

If anyone could at least help me to configure properly this or at least guide me would be fantastic. Thank you
 
ryandenis
newbie
Posts: 31
Joined: Fri Aug 29, 2014 7:40 am

Re: Load balancing(1calbe+wifi) and failover

Wed Nov 12, 2014 10:35 pm

I have the same setup and wanted to setup the same load balancing with failover... I've tried every guide and config cheat sheet out there and have had no luck.
 
faisali
Member Candidate
Member Candidate
Posts: 180
Joined: Fri Oct 08, 2010 5:11 am

Re: Load balancing(1calbe+wifi) and failover

Thu Nov 13, 2014 6:00 am

Take a look at this.. it not only shows how to do this, but also explains step by step.

http://mum.mikrotik.com/presentations/US12/tomas.pdf
 
User avatar
tomaskir
Trainer
Trainer
Posts: 1162
Joined: Sat Sep 24, 2011 2:32 pm
Location: Slovakia

Re: Load balancing(1calbe+wifi) and failover

Thu Nov 13, 2014 12:52 pm

Take a look at this.. it not only shows how to do this, but also explains step by step.

http://mum.mikrotik.com/presentations/US12/tomas.pdf
Here is the video for more explanation:
http://tiktube.com/video/DofH3iFnjDJomG ... uKlEoLqHq=
 
ryandenis
newbie
Posts: 31
Joined: Fri Aug 29, 2014 7:40 am

Re: Load balancing(1calbe+wifi) and failover

Thu Nov 13, 2014 11:57 pm

Wow this is impressive... I"m going to be doing some reading and testing tonight!! do you have the video on policy based as well? or are the other types only available in the pdf file?
 
ryandenis
newbie
Posts: 31
Joined: Fri Aug 29, 2014 7:40 am

Re: Load balancing(1calbe+wifi) and failover

Fri Nov 14, 2014 6:31 pm

Hey there,

I've been reading your presentation and watching your video on load balancing and I'm going to give it a shot tonight. The one question I had about the complete solution is how to implement the proper failover configs so that it works with your solution?

I have two ISP's 20M/20M and 60M/5M, and unfortunately they've both been having issues lately with packet loss and dropping out. I'm not sure how to tell it "if you see more than this % of packet loss don't route over this connection any more" or "if you cannot ping this ip 8.8.8.8 anymore do not route over this connection any more", and then likewise when to reroute when it comes back up.
 
User avatar
tomaskir
Trainer
Trainer
Posts: 1162
Joined: Sat Sep 24, 2011 2:32 pm
Location: Slovakia

Re: Load balancing(1calbe+wifi) and failover

Fri Nov 14, 2014 6:34 pm

For failover based on packet-loss, that is really hard to implement...

For failover on total link dropout (cant ping IP x over the link) I use this solution lately:
http://wiki.mikrotik.com/wiki/Advanced_ ... _Scripting
 
ryandenis
newbie
Posts: 31
Joined: Fri Aug 29, 2014 7:40 am

Re: Load balancing(1calbe+wifi) and failover

Fri Nov 14, 2014 7:14 pm

is there a walk through for packet loss failover? Also is there some kind of notification to let you know when one link has failed and to notify via email or text or something?
 
User avatar
tomaskir
Trainer
Trainer
Posts: 1162
Joined: Sat Sep 24, 2011 2:32 pm
Location: Slovakia

Re: Load balancing(1calbe+wifi) and failover

Fri Nov 14, 2014 9:00 pm

Notification with email is easy, simply use netwatch to monitor the host which is used for failover based on recursive route lookup.
Then if that host goes down, fire an email using the netwatch scripts.

As for packet-loss, you have 2 options:
1) Write a script which monitors it for you and then switches your connection - this will take some work, especially if you havent messed with RouterOS scripting yet.
2) Implement an external monitoring solution, which will fire a MKT API command to failover when packet loss is unacceptable.
 
ryandenis
newbie
Posts: 31
Joined: Fri Aug 29, 2014 7:40 am

Re: Load balancing(1calbe+wifi) and failover

Fri Nov 14, 2014 9:23 pm

alrighty, ya basically I'm new to mikrotik and router os in general... this is my first try and getting this solution up and running and running mikrotik at all to be honest. Everything I know about it I've learned on this attempt.
 
liniuxs
just joined
Topic Author
Posts: 3
Joined: Mon Nov 03, 2014 12:59 pm

Re: Load balancing(1calbe+wifi) and failover

Sat Nov 15, 2014 11:21 am

Thank you very much, I am pleased more people came up looking for same configuration. I will give a go as soon as I have more spare time on the weekend.