US 12,476,904 B2
Packet forwarding method, device, and system
Jingrong Xie, Beijing (CN); Fanghong Duan, Nanjing (CN); and Xuesong Geng, Beijing (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Jan. 13, 2023, as Appl. No. 18/154,399.
Application 18/154,399 is a continuation of application No. PCT/CN2021/082060, filed on Mar. 22, 2021.
Claims priority of application No. 202010671831.7 (CN), filed on Jul. 14, 2020; and application No. 202010939135.X (CN), filed on Sep. 9, 2020.
Prior Publication US 2023/0171184 A1, Jun. 1, 2023
Int. Cl. H04L 45/00 (2022.01); H04L 45/16 (2022.01); H04L 45/74 (2022.01)
CPC H04L 45/34 (2013.01) [H04L 45/16 (2013.01); H04L 45/74 (2013.01)] 20 Claims
OG exemplary drawing
 
9. A first network device, comprising:
a non-transitory memory storing instructions; and
a processor coupled to the non-transitory memory,
wherein the instructions, when executed by the processor, cause the first network device to be configured to:
obtain a first packet, wherein the first packet comprises a multicast packet;
determine a next-hop destination address (DA) of the multicast packet based on a source address (SA) of the multicast packet from a source device and a first correspondence relationship, wherein the SA of the multicast packet identifies a multicast path out of a plurality of multicast paths, the source device corresponding to a plurality of SAs including the SA, each SA of the plurality of SAs corresponding to a different multicast path of the plurality of multicast paths, the multicast path corresponding to the multicast packet, and the first correspondence relationship comprises the SA of the multicast packet and the next-hop DA of the multicast packet corresponding to the first network device and the multicast path;
obtain a second packet based on the next-hop DA of the multicast packet, wherein the second packet is a unicast packet obtained after internet protocol version 6 (IPv6) encapsulation is performed on the multicast packet; and
forward the second packet along the multicast path based on the next-hop DA of the multicast packet.