主权项 |
1. A method, adopted by a slave device connected to a host device, comprising:
receiving, by the slave device, a DHCP discover message from the host device; queuing, by the slave device, the DHCP discover message until the slave device establishes a first network link with a network; transmitting, by the slave device, a DHCP offer message to the host device in response to the DHCP discover message upon the establishment of the first network link, wherein the DHCP offer message comprises a DHCP renewal time configuration; receiving, by the slave device, a first DHCP request message from the host device; and transmitting, by the slave device, a DHCP acknowledgement message in response to the first DHCP request message, wherein the DHCP acknowledgement message comprises a client Internet Protocol (IP) address and the DHCP renewal time configuration to the host device, wherein the method further comprising: establishing, by the slave device, a second network link with the network when the first network link is disconnected; queuing, by the slave device, a second DHCP request message until the slave device establishes the second network link with the network when the first network link is disconnected, and transmitting a second DHCP acknowledgement message to the host device upon the establishment of the second network link. |