US 12,328,260 B2
Method for forwarding packet in SR network, device, and system
Zhibo Hu, Beijing (CN); and Cheng Li, Beijing (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Feb. 25, 2022, as Appl. No. 17/681,137.
Application 17/681,137 is a continuation of application No. PCT/CN2020/088788, filed on May 6, 2020.
Claims priority of application No. 201910819877.6 (CN), filed on Aug. 31, 2019; and application No. 201911317222.5 (CN), filed on Dec. 19, 2019.
Prior Publication US 2022/0182323 A1, Jun. 9, 2022
Int. Cl. H04L 45/748 (2022.01); H04L 45/50 (2022.01); H04L 69/22 (2022.01)
CPC H04L 45/748 (2013.01) [H04L 45/50 (2013.01); H04L 69/22 (2013.01)] 29 Claims
OG exemplary drawing
 
1. A method for forwarding a packet, comprising:
receiving a first packet in an Internet Protocol version 6 segment routing (SRv6) network, wherein a first packet header of the first packet comprises a segment list comprising a plurality of compressed segment identifiers, the segment list comprises a first element having a length of 128 bits, the first element comprises at least two compressed segment identifiers in the plurality of compressed segment identifiers, the first packet comprises a first pointer having a first value;
determining, based on the first value of the first pointer, a location of a first compressed segment identifier in the first element, wherein the first compressed segment identifier is one of the at least two compressed segment identifiers in the first element;
adding the first compressed segment identifier to a second packet header of the first packet to generate a second packet, wherein the second packet header is an Internet Protocol version 6 (IPv6) header, the second header comprises a destination address (DA) field with the first pointer;
sending the second packet.