-
公开(公告)号:US10469445B2
公开(公告)日:2019-11-05
申请号:US15702077
申请日:2017-09-12
Applicant: Huawei Technologies Co., Ltd.
Inventor: Bing Liu , Yang Bo , Sheng Jiang
IPC: H04L29/12 , H04L12/741 , H04L29/06 , H04L12/24 , H04L12/743 , H04L12/751
Abstract: The present disclosure provides a method for communication between a network device and a terminal device, where the network device stores a correspondence between a link-layer address and an IP address that are of the terminal device, and the method includes: obtaining, by the network device, a first link-layer address; determining whether a quantity of IP addresses corresponding to the first link-layer address reaches a threshold; if the quantity reaches the threshold, selecting an IP address from the IP addresses, where a quantity of selected IP addresses is not greater than the maximum quantity; saving a correspondence between the first link-layer address and the selected IP address; and sending, according to the selected IP address, a message to a terminal device having the first link-layer address, where the message is used to notify the terminal device whether an IP address is selected by the network device.