DHCP client behavior during restart if DHCP server is down
If DHCP client have got IP from DHCP server and it has time left before lease expire, if If client restarts and the server is unavailable what happen in this scenario?
If client is not reachable DHCP server at time of startup, it tries to ping default gateway that was assigned previously. If default gateway responds that client assumes that it is still in same network and hence keeps on using IP address (Remember lease time is still left). If client can’t get response from gateway, it will consider itself to be out of network and hence will auto configure (put APIPA address) itself. Meanwhile, client will keep on searching for DHCP server every 5 mins and once it receive response from server, will abandon APIPA and will get new IP from server.