Hotspot works 99,99%: not limiting bandwidth

Hi, everyone.

First of all, i must let you know that i am Brazilian, and my English is not so good.

Well, i’m using Mikrotik v3.22 as a HotSpot Server, i’ve configured all things, user profiles, warning and blocked pages and all works fine.

On the Users Profiles i’ve configured rate-limit as 75k/300k 150k/600k 48k/150k 8/8 7 64k/256k.

When a user logs in, the Hotspot create a simple queue for him, with all the values i’ve configured correctly, but the Rx/Tx Rate is always 0 bytes, and if i test bandwidth on the client, it’s really unlimited.

I’ve even created a simple queue myself, with only the target address and max-limit values configured with priority 8, moved it to the first place, and did’nt work too.

What could i have made wrong?

ps: If you need some of my configuration, please ask what you need.

Thanks anyway.

Mário Jr.

I’d like to be your customer :smiley:

do you use bridge?.. maybe

/interface bridge settings set use-ip-firewall=yes

?..

Sorry, double post.

hmmm… post your config. what version do you use?

Hi, Chupaka.

Come to Brazil, and then we can talk about you being my customer. :laughing:

Regarding your question:

I use Mikrotik v 3.22.

No, i don’t use bridge on this server, i will try to show you my scenario:

I have 2 ADSL 4Mb Links that goes to the MK Server through interface ‘ifIPFixo’ and interface ‘ifIPDinamico’. It serves the local network from the interface ‘ifRede’, which is connected to a Switch TrendNet and connects two RB 433AH in bridge mode.

For now, i am not making load balance (as i’m trying make it work first), i have just one interface where comes the ADSL links up, the other is down.

Each RB has 2 Senao EMP8602Plus with 90º Hyperlink Antennas.

So the MK receives Internet on Interface ‘ifIPFixo’, the other interface of the another 4Mb link is ‘ifIPDinamico’, and the hub is connected to interface ‘ifRedeLocal’, all the interfaces are TrendNet 1Gpbs NICs.

IPs:
ifIPFixo: 192.168.12.10/24
ifIPDinamico: 192.168.10.10/24
ifRedeLocal: 172.16.254.254/16

The default gateway in /ip route is configured to 192.168.12.1. I’ve made NAT this way:

/ip firewall nat add src-addres=172.16.0.0/16 action=masquerade

The RBs is in bridge mode, both has 1 ethernet up (the other 2 of RB433AH is down) and the two wlan in bridge.

On the RBs i put the queues and configured the bridge to use ip firewal, as you described, and it worked, but the clients had a little bit slow connection.

So, on the Server i have no bridge, because of that i don’t configured the use ip firewall under /bridge.

Thanks for your reply.

Mário Jr.

what do you mean ‘slow connection’?..

The term is not ‘slow connection’, but ‘slow surfspeed’. I mean:

The clients, without the limitation, get around 1 mbps download and 230kbps upload,

when i put a simple queue just with the target ip and max-limit rate of 75k/300k, they get around 90kbps download and 40kbps upload.

And i forgot to tell, that i have clients connected to the switch through HPNA (telephone line) connection, and the RB limitation don’t make effect for it, as they are getting the same 1mbps download and 230kbps upload.

Thanks for the fast reply.

Edit: I reseted the MK Server twice, configured only the public interface, ran the setup from /ip hotspot, configured everything, and did’nt manage to get band limit working.

Someone help me please!!! :frowning:

hmmm… and what do you see in Queue Statistics at thet moment?..

now, i have a client that i seted 75k/100k at max-limit

and the statistics is:

Target Upload:
Avg Rate: 11.7 kbps Avg Packets: 12 Bytes: 23.7 MiB Packets: 305.425 Dropped: 384 Lends: 15230 Borrows: 290.195

Target Download:
Avg Rate: 136.1 kbps Avg Packets: 17 Queued Bytes: 35.8KiB Queued Packets: 27 Bytes: 464.2 MiB Packets: 411.501 Dropped: 8.865 Lends: 3.882 Borrows: 407.592.

But this is limitation on the RB (Bridged with ‘use ip firewall’ enabled), and even if this work well, it will not be ok for me, as i need the Server to do the band limit, because of the HPNA connected clients.

Thanks in advance.

Mário Jr.

Well, no more aswers so far.

Could anyone tell me, a sort of how-to of setting up the hotspot service, and if it limits the bandwidth according to the rate-limit setted in the User Profile.

Thanks for the help.

Mário Jr.