Radius + Mac Autentication + Hotspot + Bandwidth control

Hi all,

I configured the FreeRadius to do the Wireless MAC Authentication and the Hotspot MAC Authentication.

Everything works fine until I put the Mikrotik-Rate-Limit on the radreply table and the FreeRadius starts to send this parameter to the Mikrotik.

The hotspot creates the dynamic queue fine, there aren’t problem with this. The problem is that when the client does the registration on the AP and the MAC is authenticated and the FreeRadius server sends the Mikrotik-Rate-Limit to the Mikrotik Router OS and the value of this parameter is put on the “AP TX Limit” and “Cliente TX Limit” but in the inverse order that I desired (the simple queue is created on the right form, the client Upload is put on the RX Max Limit and the Download is put on the TX Max Limit of the simple queues).
I said that the parameters is put on the inverse order because the value that is put on the “RX Max Limit” of the dynamic simple queue is put on the “AP TX Limit” of the Registration and the value that is put on the “TX Max Limit” of the simple queue is put on the “Client TX Limit”.

With this the upload bandwidth of my customers pass to be the download bandwidth and the download rate turns the upload rate.

Is this a bug of the Mikrotik Router OS?

Can’t I use the hotspot authentication and the wireless authentication together? If not how can I sent the WEP keys to the mikrotik?

PS:

  • Any client uses Mikrotik as CPE, all they are Edimax radios
  • The wireless authentication is important to me because the FreeRadius sends the Wep key to the customers and I don’t need to do anything on the Mikrotik, just on the tables of the FreeRadius.
  • I want to use the Hotspot just to create the simple queues dynamically.

Thanks in advance.

Fabrício