Community discussions

MikroTik App
 
bassembotros
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Tue May 24, 2011 11:49 am

how to apply hotspot with load balancing together ?

Tue Oct 11, 2011 12:09 pm

i'm using Mikrotik version 5.7 and i made load balancing with to lines
and i have to give the users the internet with the hotspot
the question here ....... can i apply hotspot with load balancing together
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

Re: how to apply hotspot with load balancing together ?

Tue Oct 11, 2011 5:34 pm

Yes you can. Search the forums for a more detailed explanation as it has been covered many times.

Put this rule in place to stop the hotspot from processing people after they have signed into the network.
/ip firewall nat
add action=accept chain=pre-hotspot disabled=no dst-address-type=!local hotspot=auth
 
bassembotros
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Tue May 24, 2011 11:49 am

Re: how to apply hotspot with load balancing together ?

Tue Oct 11, 2011 8:36 pm

thanx very much it's worked
but there is a strange thing
the second router has a ( Tx and Rx ) transfer lower than the first router
here is the pic
Image
so wlan2 has Tx packet /Rx packet (8/4) is too samll by comparison to wlan1
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

Re: how to apply hotspot with load balancing together ?

Tue Oct 11, 2011 10:49 pm

Not exactly sure what you are asking or expecting? What load balancing method are you using? I'm assuming PCC.

PCC is based off of connections, not bandwidth. Over time it gets evened out, but the router has no way of knowing how long a connection will last or how much traffic will be sent over a given connection, so it is possible to have one high bandwidth connection using up all of one link and another connection not. Just over time it will even out because eventually a higher bandwidth connection will get sent out of the other link.
 
bassembotros
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Tue May 24, 2011 11:49 am

Re: how to apply hotspot with load balancing together ?

Sat Oct 15, 2011 11:45 am

thanx feklar
but i have a questios can i get a load balancing hardware device ??
and is this is more better than the configuration in the router board???
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

Re: how to apply hotspot with load balancing together ?

Mon Oct 17, 2011 4:27 pm

There are several devices that act as dedicated load balancers, however they can be very expensive to use and setup. Define better, dedicated load balancers are easier to setup, do all the stuff behind the scenes for you, might have more methods for load balancing, and extra features. This is because they are designed to be user friendly from the outset and are deigned to be dedicated load balancers. However for the nice user interface you sacrifice a lot of the control of the MikroTik as well as all the tools it places into your hands, and end up spending significantly more for it.

You could also setup a separate RB as a load balancer, just having it combined into one box means there are less devices to go wrong or log into, and as long as you aren't at 100% CPU there is headroom to grow for extra bandwidth.
 
User avatar
omega-00
Forum Guru
Forum Guru
Posts: 1167
Joined: Sat Jun 06, 2009 4:54 am
Location: Australia
Contact:

Re: how to apply hotspot with load balancing together ?

Mon Oct 17, 2011 11:38 pm

Also, using a dedicated device is not going to make the speeds any more balanced, PCC is "per-connection" so if you want end to end load-balancing you need to use bonding to achieve "per-packet" load balancing.

You will need access to the upstream of both links to do per-packet.