When I start my desktop, router’s DHCP server assign IP to it and following string appears in the log:
11:15:33 dhcp,info dhcp1 assigned 192.168.0.252 to 52:E4:23:A1:EB:37
But when I connect devices (Android 4) via Wi-Fi, there are no such a string in the log. Only that:
09:54:19 wireless,info 82:05:C4:A1:3E:16@wlan1: connected
But in fact DHCP server assign IP to it.
Why there are no info in the log?
Did it assign the ip at the same time the Droid connected? Or did it assign an ip to the Droid earlier and it was not halfway to the expiration time?
/ip dhcp-server lease
print detail
Check last-seen and expires-after times on that lease. The Droid should not attempt to renew the lease until the last-seen time is larger than the expires-after time (normally).
If you want to see more about the transactions in the log, add verbose dhcp logging.
/system logging
add topics=dhcp,debug action=memory
Every time I reconnect any device (via ethernet or wifi) lease time is “updated” to 3 days (the my lease time setting). So, after I connect device via wifi, I look remaining time about “2d 59m”…
That part is partially correct if your lease is three days. However, different devices handle the lease renewal differently. It is up to the client to renew the lease. Some client devices renew the dhcp lease at every connection. Some renew at every NEW connection (different SSID). All should renew at half the current lease time.
If you think this is not correct, follow the verbose logging setting above and try repairing the connection on the Droid.