Page 1 of 1
how to apply hotspot with load balancing together ?
Posted: Tue Oct 11, 2011 12:09 pm
by bassembotros
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
Re: how to apply hotspot with load balancing together ?
Posted: Tue Oct 11, 2011 5:34 pm
by Feklar
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
Re: how to apply hotspot with load balancing together ?
Posted: Tue Oct 11, 2011 8:36 pm
by bassembotros
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
so wlan2 has Tx packet /Rx packet (8/4) is too samll by comparison to wlan1
Re: how to apply hotspot with load balancing together ?
Posted: Tue Oct 11, 2011 10:49 pm
by Feklar
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.
Re: how to apply hotspot with load balancing together ?
Posted: Sat Oct 15, 2011 11:45 am
by bassembotros
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???
Re: how to apply hotspot with load balancing together ?
Posted: Mon Oct 17, 2011 4:27 pm
by Feklar
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.
Re: how to apply hotspot with load balancing together ?
Posted: Mon Oct 17, 2011 11:38 pm
by omega-00
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.