I have issues with my DHCP server.
Scenario:
Mac address is offered an ip address, then ip address bound and after two
seconds the Mac address and host disappear and status marked busy and it stays
there until the expiry period which in my case is 24 hours. Then the same mac
and host is offered another ip and the same process repeats itself. It happens
with different mac addresses and hosts. In a few minutes the DHCP server
exhausts all ips then clients get error "cant get ip from pool" hence no
connection.
I have to remove them manually then clients get back online. I have tried
these script suggested from forums but it did not work:
----------------------------------
:foreach i in=[/ip dhcp-server lease find mac-address=00:00:00:00:00:00]\
do={
:log error ("Mac address zero detected: " . [/ip dhcp-server lease get $i
address]);
/ip dhcp-server lease remove $i;
}
--------------
and
------------
: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;
}
Any thoughts how to solve this?
I will appreciate as its three days now and its frustrating.
Regards
Yusuf
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.butchevans.com/pipermail/mikrotik/attachments/20111110/ad3aa852/attachment.html>
_______________________________________________
Mikrotik mailing list
[email protected]
http://www.butchevans.com/mailman/listinfo/mikrotik
Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS