摘要 |
Disclosed are a method and device of reclaiming an IP address and a dynamic host configuration protocol (DHCP) server. The method comprises: transmitting an ICMP detection packet to a DHCP client; determining, according to a response of the DHCP client to the ICMP detection packet, whether the DHCP client is offline; and if the DHCP client is offline, reclaiming an IP address occupied by the DHCP client. As a client in an offline state caused by shutdown, a disconnection or a link failure will not respond to the ICMP detection packet, reclaiming the IP address occupied by the client in real time, rather than leaving the IP address occupied until an expiration of a subscription, facilitates real-time reclaiming and utilization of the IP address. |