DHCP should re-lease the IPv4-address

asked 2014-01-16 10:46:09 +0300

rsainio gravatar image

I have in my home network DHCP-server and DNS-server connected together so that DHCP-server will update DNS with the leased ip-address and corresponding hostname - I guess this is called DDNS. My Jolla sleeps most of the time during the night and as the lease time is over it does not re-lease its address. This will lead into a situation where DHCP-server will ask DNS to delete the hostname/ip-address pair. So, Jolla is no longer reachable by hostname, but if one knows the ip-address, it can be reached. I think this has something to do with the connman not waking up the rest of the phone in order to ask for a re-lease. Work-around is to switch on/off the WLAN as there will be then a DHCP-request done

edit retag flag offensive close delete


Never experienced this problem in my network. When hostname gets deleted my device is even unreachable by ip.

Sailor ( 2014-01-16 11:13:36 +0300 )edit

So, when you next time use network from your phone it will then ask for a new lease ? Do you see that in your DHCP-server logs ? My Jolla is all the time reachable with ssh even when DHCP thinks that the host is gone.

rsainio ( 2014-01-16 11:55:15 +0300 )edit

Yes, it asks for a new lease. But I will check that with a short leasetime when I am back at home.

Sailor ( 2014-01-16 12:03:08 +0300 )edit

Are you sure that the problem is with Jolla? The client does not request a certain IP, it is the server that allocates the IP to the client. So the problem would be with your servers: The time-outs for re-recognizing devices have been set too short. (However, if the DHCP/DNS servers are consumer routers: There I have not yet seen any chance to configure such time-outs.)

(On my Jolla also the WiFi is switched off most off the day and certainly all night. Nonetheless, it gets the same IP again and again.)

jgr ( 2014-01-16 12:11:06 +0300 )edit

A client can ask for the last IP (windows stores last ip in registry for example) it has used the server does confirm the usage or deny. In this case it is possible that you always get the same ip because it is not given out to another client.

Sailor ( 2014-01-16 12:27:14 +0300 )edit