Community discussions

 
hab
just joined
Topic Author
Posts: 1
Joined: Fri Aug 03, 2018 12:22 am

dhcp lease table

Fri Aug 03, 2018 12:44 am

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?
 
User avatar
bramwittendorp
Frequent Visitor
Frequent Visitor
Posts: 96
Joined: Thu Jun 16, 2016 3:48 pm
Location: The Netherlands
Contact:

Re: dhcp lease table

Fri Aug 03, 2018 5:49 pm

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.
Bram - MikroTik enthusiast - MTCNA / MTCRE / MTCWE / MTCIPv6E
Don't be shy, share your /export hide-sensitive and make sure to read this.
 
Van9018
Long time Member
Long time Member
Posts: 505
Joined: Mon Jun 16, 2014 6:26 pm
Location: Canada - Abbotsford

Re: dhcp lease table

Sat Aug 04, 2018 4:40 am

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.
 
jarda
Forum Guru
Forum Guru
Posts: 7603
Joined: Mon Oct 22, 2012 4:46 pm

Re: dhcp lease table

Sat Aug 04, 2018 10:24 am

How do you define "ip is being used"?
 
sup5
Member
Member
Posts: 322
Joined: Sat Jul 10, 2010 12:37 am

Re: dhcp lease table

Sat Aug 04, 2018 12:51 pm

When an ARP entry is present in the ARP-table, one can surely assume that a given IP address is being used.
 
diddie17
Frequent Visitor
Frequent Visitor
Posts: 68
Joined: Thu Sep 14, 2017 8:53 pm
Location: UK

Re: dhcp lease table

Sun Aug 05, 2018 12:21 am

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.

Who is online

Users browsing this forum: No registered users and 24 guests