Patent ID: 11936614
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 3:
4. An apparatus, applied to a first relay device in a target anycast group, wherein the apparatus 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 apparatus to:
generate a plurality of route advertisement messages comprising a first route advertisement message and a second route advertisement message, wherein each of the plurality of route advertisement messages comprises both a first internet protocol IP address of the first relay device and a different tunnel endpoint IP address of the first relay device, wherein the first route advertisement message in the plurality of route advertisement messages comprises a first IP address, and a first tunnel endpoint IP address that 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 a client that applies for an IP address;
send the first route advertisement message to a network device through a first tunnel to which the first tunnel endpoint IP address belongs, to indicate the network device to send a reply packet to the first relay device by using the first tunnel endpoint IP address in the first route advertisement message, wherein the reply packet is sent by a dynamic host configuration protocol DHCP service device to the network device, and wherein a destination IP address of the reply packet is the first IP address of the first route advertisement message; and
send the second route advertisement message to the network device through a second tunnel to which a second tunnel endpoint IP address belongs, wherein tunnel endpoints of the first tunnel and the second tunnel are the first relay device and the network device, and the second tunnel endpoint IP address is a tunnel endpoint IP address that is the same for each relay device in the target anycast group.