Embodiments of the present invention disclose a method for renewing an IP address and an apparatus. The method includes: obtaining, by a controller, Dynamic Host Configuration Protocol DHCP address information from a client, where the DHCP address information includes an IP address of the client, a MAC address of the client, and an address of a DHCP server that assigns the IP address to the client; and when the controller determines that the client is powered off, sending, by the controller by using the address of the DHCP server, an IP renewal request including the IP address and the MAC address to the DHCP server to renew the IP address, until the client registers with the controller. According to the technical solution of the present invention, the client can use a same IP address every time the client is powered on, and further, it is ensured that service configurations related to the IP address on the client are continuously effective and do not need to be changed.
展开▼