US 11,936,614 B2
Method and apparatus for sending reply packet, computing device, and storage medium
Jianping Gao, Nanjing (CN); and Wenhui Zhu, Nanjing (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed by Huawei Technologies Co., Ltd., Guangdong (CN)
Filed on Jul. 8, 2022, as Appl. No. 17/811,411.
Application 17/811,411 is a continuation of application No. PCT/CN2020/140803, filed on Dec. 29, 2020.
Claims priority of application No. 202010026742.7 (CN), filed on Jan. 10, 2020.
Prior Publication US 2022/0345440 A1, Oct. 27, 2022
Int. Cl. H04L 61/2592 (2022.01); H04L 61/5014 (2022.01)
CPC H04L 61/2592 (2013.01) [H04L 61/5014 (2022.05)] 13 Claims
OG exemplary drawing
 
1. A network device, connected to a dynamic host configuration protocol (DHCP) service device, wherein the network device comprises:
at least one processor;
one or more memories coupled to the at least one processor and storing program instructions, which, when executed by the at least one processor, cause the network device to:
receive a reply packet sent by the DHCP service device, wherein a destination address of the reply packet is a first internet protocol (IP) address of a first relay device in a target anycast group, and wherein a client applies to the DHCP service device for an IP address;
determine a plurality of next-hop addresses, wherein each one of the plurality of next-hop addresses is an IP address and corresponds to a destination IP address of the reply packet based on the destination IP address of the reply packet;
receive a first route advertisement message through a first tunnel to which a first tunnel endpoint IP address of the first relay device belongs, wherein the first route advertisement message comprises a first IP address, the first tunnel endpoint IP address, and a straight-through mark corresponding to the first tunnel endpoint IP address, and wherein tunnel endpoints of the first tunnel are the first relay device and the network device;
determine a first next-hop address from the plurality of next-hop addresses as the first tunnel endpoint IP address of the first relay device, wherein the first tunnel endpoint IP address of the first relay device is different from a tunnel endpoint IP address of another relay device in the target anycast group, and wherein a communication connection is established between each relay device in the target anycast group and the client; and
forward the reply packet to the first relay device based on the first next-hop address.