How to set time limit to a dchp client
ex:
setting 3days for a client and then it`s automatically become disabled.
Hey
If I got your question right, it’s the “lease-time”: duration of ip assignment.
There is no specific time limit parameter for DHCP lease, but you can configure lease time to 3 days and after the client receives an IP address via dhcp-client, then you can make them static and block them:
/ip dhcp-server lease set 0 block-access=yes
After the lease time expires, the client will not receive a new address again.
More practically would be a using user-manager.
You can using user manger like hotspot server to limit time so when the user finish real time after that the user disconnect or no internet service.