US 11,991,012 B2
Packet forwarding method, packet sending apparatus, and packet receiving apparatus
Jingrong Xie, Beijing (CN); and Yang Xia, Beijing (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed on Apr. 27, 2021, as Appl. No. 17/241,464.
Application 17/241,464 is a continuation of application No. PCT/CN2019/128112, filed on Dec. 25, 2019.
Claims priority of application No. 201811301263.0 (CN), filed on Nov. 2, 2018.
Prior Publication US 2021/0266189 A1, Aug. 26, 2021
Int. Cl. H04L 12/741 (2013.01); H04L 12/18 (2006.01); H04L 12/46 (2006.01); H04L 45/74 (2022.01); H04L 67/56 (2022.01)
CPC H04L 12/18 (2013.01) [H04L 12/4633 (2013.01); H04L 12/4641 (2013.01); H04L 45/74 (2013.01); H04L 67/56 (2022.05)] 12 Claims
OG exemplary drawing
 
1. A packet forwarding method, applied to a multicast virtual private network (VPN) over bit index explicit replication (BIER), the method comprising:
configuring, by a first node, a first identifier of a first VPN and a first internet protocol version 6 (IPv6) address, wherein the first IPv6 address corresponds to the first identifier;
sending, by the first node, a first indication message to a second node, wherein the first indication message is used to indicate the second node to establish a correspondence between the first IPv6 address and a second identifier, the first indication message comprises the first identifier and the first IPv6 address, and the second identifier is an identifier that is of the second node and that satisfies a preset correspondence with the first identifier;
receiving, by the first node, a multicast data packet that belongs to the first VPN;
obtaining, by the first node, the first IPv6 address based on the first VPN to which the multicast data packet belongs and the first IPv6 address corresponding to the first identifier; and
encapsulating, by the first node, the multicast data packet based on the first IPv6 address to obtain a to-be-forwarded BIER packet, and sending the to-be-forwarded BIER packet to the second node for decapsulation, wherein the to-be-forwarded BIER packet comprises the first IPv6 address used to determine an interface corresponding to the second identifier to send the multicast data packet,
wherein the first IPv6 address is used to determine an interface corresponding to another identifier of a far-end node, and the other identifier of the far-end node satisfies a preset correspondence with the first identifier.