Page 1 of 1
dhcp lease table
Posted: Fri Aug 03, 2018 12:44 am
by hab
When you select remove button on an entry in this table what does this do? If you make a mistake how can you undo it?
Re: dhcp lease table
Posted: Fri Aug 03, 2018 5:49 pm
by bramwittendorp
It will revoke that DHCP Lease. So when the client notices it's lease has been revoked the client will send a new DHCP-Request and the server will respond with a new DHCP-offer, and so the problem is resolved.
Re: dhcp lease table
Posted: Sat Aug 04, 2018 4:40 am
by Van9018
Another cool feature...
Before Mikrotik gives out the next IP, it'll check to see if that IP is being used on the network. If so, a lease is created where the mac is 00:00:00:00:00 and Mikrotik moves onto the next IP to give out.
Re: dhcp lease table
Posted: Sat Aug 04, 2018 10:24 am
by jarda
How do you define "ip is being used"?
Re: dhcp lease table
Posted: Sat Aug 04, 2018 12:51 pm
by sup5
When an ARP entry is present in the ARP-table, one can surely assume that a given IP address is being used.
Re: dhcp lease table
Posted: Sun Aug 05, 2018 12:21 am
by diddie17
I'm not an expert on this, but @mkx educated me on this the other day. According to RFC2131
https://tools.ietf.org/html/rfc2131 Both server and recieving client should check the allocated address is not already in use.
As a consistency check, the allocating server SHOULD probe the reused address before allocating the address, e.g., with an ICMP echo request, and the client SHOULD probe the newly received address, e.g., with ARP.