Packet forwarding method and system, storage medium, and electronic device
Abstract
Provided are a packet forwarding method and system. a source node in a first SR-MPLS domain sends, based on an SR-Policy, a packet to a destination node in a second SR-MPLS domain, wherein an SR-Policy segment list of the packet includes a BSID, so that the packet passes through an SRv6 domain between the first SR-MPLS domain and the second SR-MPLS domain; After receiving the packet, the first border node replaces the BSID with the SRv6-Policy which destination address is the second border node, the second border node forwards the packet based on the SRv6-Policy, and after receiving the packet, the second border node decapsulates the IPv6 header and its extension header according to the behavior indication information in the SR-Policy, perform an MPLS label forwarding table lookup, so as to forward the packet within the second SR-MPLS domain, until the packet is forwarded to the destination node.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A packet forwarding method, comprising: sending, by a source node in a first Segment Routing Multi-Protocol Label Switching (SR-MPLS) domain, a packet to a destination node in a second SR-MPLS domain based on a segment routing policy (SR-Policy), wherein an SR-Policy segment list of the packet comprises a Binding Segment Identifier (BSID) in an MPLS label form, for the packet passes through an SRv6 domain between the first SR-MPLS domain and the second SR-MPLS domain; after receiving the packet, replacing, by a first border node, a BSID in an MPLS label form with an SRv6-Policy which destination address is a second border node, and forwarding the packet based on the SRv6-Policy, wherein the first border node is a border node between the first SR-MPLS domain and the SRv6 domain, and the second border node is a border node between the SRv6 domain and the second SR-MPLS domain; after receiving the packet, decapsulating, the second border node, the IPv6 header and the extension header of t
- Claim 2Depends on #1
The method according to claim 1, wherein, the first border node replacing the BSID in the MPLS label form with an SRv6 Policy which destination address is the second border node comprises: when the packet hits the MPLS BSID table entry, encapsulating, by the first border node, the packet with the IPv6 header and the Segment Routing Header (SRH), and carrying the End. DM SID in the last hop of the SRH.
- Claim 3Depends on #1
The method according to claim 1, wherein decapsulating, by the second border node, the IPv6 header and the extension header of the packet after receiving the packet comprises: after receiving the packet, and when the second border node found that the destination address of the packet is itself and needs to execute the behavior indicated by the behavior indication information, decapsulating, by the second border node, the IPv6 header and the extension header of the IPv6 header according to the behavior indicated by the behavior indication information End. DM SID, and performing an MPLS label forwarding table lookup according to the MPLS label to forward the packet.
- Claim 4Depends on #1
The method according to claim 1, wherein when the controller sends the SRv6-Policy which destination address is the second border node to the first border node, the End. DM SID Sub-TLV identifying the forwarding behavior of the second border node is carried.
- Claim 5Depends on #4
The method according to claim 4, wherein the method further comprises: when the controller sends the SRv6-Policy which destination address is the second border node to the first border node, and the SRv6 Policy carries the BSID in the MPLS label form, the Extended. DM SID Sub-TL V is also carried.
- Claim 6Depends on #4
The method according to claim 4, wherein the method further comprises: after the first border node receives the sent SRv6 Policy, and when the BSID in the MPLS label form and the End. DM SID Sub-TLV exist, storing the End. DM SID Sub-TLV in the entry item of the MPLS BSID.
- Claim 7Depends on #1
A non-transitory computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is configured to, when executed by a processor, cause the processor to implement the steps of the method as claimed in claim 1.
- Claim 8Depends on #1
An electronic device, comprising a memory, a processor, and a computer program stored on the memory and capable of running on the processor, wherein the processor is configured to execute the computer program to implement the steps of the method as claimed in claim 1.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATION The disclosure is a 35 U.S.C. § 371 National Stage patent application of PCT/CN2022/079343, filed on 4 Mar. 2022, which is based upon and claims priority to Chinese Patent Application CN202110247317.5, filed to the China National Intellectual Property Administration on Mar. 5, 2021 and entitled “ Packet Forwarding Method and System, Storage Medium, and Electronic Device ” , the disclosure of which is hereby incorporated by reference in its entirety. TECHNICAL FIELD Embodiments of the present disclosure relate to the field of communications, and in particular, to a packet forwarding method and system, a storage medium, and an electronic apparatus. BACKGROUND Since the SR-MPLS (Segment Routing Multi-Protocol Label Switching) has the advantages of source routing and using the existing MPLS data plane, etc., the current network already supports the SR-MPLS, and the incremental deployment of SRv6 (Segment Routing over IPv6) into existing networks require SRv6 to interwork and co-exist with SR-MPLS. FIG. 1 shows an SR-MPLS over SRv6 scenario in an SR-MPLS and SRv6 interworking scenario, where R 1 , R 2 and R 3 belong to an SR-MPLS network, R 3 , R 4 and R 5 belong to an SRv6 network, R 5 , R 6 and R 7 belong to an SR-MPLS network, R 3 and R 5 are border nodes and belong to both an SR-MPLS network and an SRv6 network, However, for the nodes in the SR-MPLS network and the SRv6 network, when the data packets are forwarded from the border nodes in the SRv6 domain and the MPLS domain to the nodes in the MPLS domain, at present, there is no protocol and solution for solving how to forward a data packet after it comes out from an R 5 node and in which forwarding table to lookup. SUMMARY
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (11)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (9)
- Translation of International Search Report for International Application No. PCT/CN2022/079343, dated May 7, 2022, 2 pages.
- Translation of Written Opinion for International Application No. PCT/CN2022/079343, dated May 7, 2022, 4 pages.
- Agrawal, S. E. et al,
- “
- SRv6 and MPLS interworking
- ”
- IETF: draft-agrawal-spring-srv6-mpls-interworking-05, Feb. 22, 2021, sections 2-6, 42 pages.
- Chinese Search Report for Application No. 2021102473175, dated Mar. 26, 2026, 3 pages with translation.
- Chinese Search Report for Application No. 2021102473175, dated Jun. 26, 2026, 4 pages with translation.