RADIUS rate refresh after DHCPREQUEST

Hi

I have noticed that mikrotik’s DHCP does not ask RADIUS every time DHCPREQUEST is sent. Consider following scenario:
Client has a router witch is on 24/7. Some day he wants higher rates. Now you have to restart his router for changes to take effect. Is there any way to configure DHCP to always send ACCESS_REQUEST ?

Set the Session-Timeout in the RADIUS reply.

mysql> select * from radgroupreply where groupname = "6MbBusiness";
+-----+-------------+-----------------------+----+-------------+
| id  | groupname   | attribute             | op | value       |
+-----+-------------+-----------------------+----+-------------+
| 210 | 6MbBusiness | Mikrotik-Address-List | =  | 6MbBusiness |
| 211 | 6MbBusiness | Framed-Pool           | =  | CustPub     |
| 212 | 6MbBusiness | Session-Timeout       | =  | 86400       |
+-----+-------------+-----------------------+----+-------------+
3 rows in set (0.01 sec)

Please correct me if i am wrong.
Session timeout is equivalent to lease-time. right ? According to dhcp rfc client must send DHCPREQUEST every half of lease time. if a router is on 24/7 it will never expire its session. Assuming ofcourse that nothing will break between clients router and DHCP server.

I’ve not looked into the protocol specifics. However, I have a couple thousand fixed wireless clients for whom it works. Without session timeout in the radius reply, the MikroTik DHCP server never re-queried radius on lease renewal. The MikroTik DHCP server had authorization for the user, without a time limit. As long as the customer did not allow the lease to expire, they were authorized.


Try it. You’ll like it.