mikrotik + freeradius + dhcp + simple queue

Hello.
I’ve run Mikrotik with freeradius + dhcp + simple queue.

So, here you have a schema:

  • client asks dhcpd server for lease
  • dhcp server ask radius, and then gives an ip address to the client
  • dhcp server also set up a simple queue for the clients ip

Everything work ok, but I have a problem with renewing the simple queue.

DHCP client renews the lease, dhcp gives the renewed lease - but dhcp server DO NOT check radius if the speed od simple queue has changed ;-(((.

So I’m changing simple queue from 10/10 to 20/20 mbit/s(on the radius level), the clients renews the lease, but still having simple queue with 10/10 ;-(

Only after ‘releasing ip’ on the mikrotik ip dhcp client, the client gets new simple queue ;-(.

Even restarting the mikrotik dhcp CPE equipment, the client still gets 10/10 ;-(

Any ideas?
Best regards.

P.S- it runs on the CCR-36, and mikrotik 6.4 release.

Are you returning a session-timeout? Or are you just using the 3 day timeout from your stock DCHP server config?

Session-Timeout := ${lease time}

I suspect MikroTik’s DHCP server only checks RADIUS again when the Session-Timeout has expired. It may assume an infinite Session-Timeout if it does not receive a Session-Timeout value from RADIUS.

Thanks, I will check it.
Regards/

Did you figure out the issue? I have experienced issues with it as well.

When using DHCP with Radius, Is the accounting of traffic from the “Simple Queues” sent to the Radius? If yes, how often? Thanks.