i use mikrotik 3.x for dhcp server with static leases, sometimes i get status busy on some static entries, i tryed this script to check and repair it, but it does not work for me
Code: Select all
/ip dhcp-server lease;
:foreach i in=[/ip dhcp-server lease find status=busy]\
do={
:log error ("Busy status detected: " . [/ip dhcp-server lease get $i address]);
/ip dhcp-server lease disable $i;
/ip dhcp-server lease enable $i;
}
thanks for any idea.
BR
krtko