Community discussions

MUM Europe 2020
 
santa
newbie
Topic Author
Posts: 43
Joined: Sun Jul 06, 2014 10:53 pm
Location: POLAND, Gdansk

Question about DHCP lease time

Fri Nov 14, 2014 1:22 pm

Hi guys!

I have question for those of you, who use DHCP server on RouterOS platform (or maybe to RouterOS developers). All my servers are configured to give clients 1d long leases. Sometimes I see clients, mostly Windows machines, with short, 30 second lease time. After this short time the client lease disappears from leases. Where does this time come from? Is this a time when server sends DHCP OFFER and is waiting for DHCP REQUEST from client? Client, for some reason, doesn't send DHCP REQUEST package, that is why server removes this lease? I need some short explanation :).

BTW, I use DHCP server with Radius authentication.
 
santa
newbie
Topic Author
Posts: 43
Joined: Sun Jul 06, 2014 10:53 pm
Location: POLAND, Gdansk

Re: Question about DHCP lease time

Fri Nov 14, 2014 2:44 pm

Also, there is no sign of such lease in LOG.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4637
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Question about DHCP lease time

Fri Nov 14, 2014 3:18 pm

As I recall (it has been a while), the dhcp server will hold that lease offer for 30 seconds. If the client does not respond, then the IP is released. You can check that here:
/ip dhcp-server lease
print detail
It will show the status there also. I think it will say "offered" while waiting for a client to respond, and "bound" when the client does respond.

Who is online

Users browsing this forum: Bing [Bot], dalami, Google [Bot] and 94 guests