CN110891022B - SRv 6-based virtual subnet identifier publishing method and device - Google Patents

SRv 6-based virtual subnet identifier publishing method and device Download PDF

Info

Publication number
CN110891022B
CN110891022B CN201911152541.5A CN201911152541A CN110891022B CN 110891022 B CN110891022 B CN 110891022B CN 201911152541 A CN201911152541 A CN 201911152541A CN 110891022 B CN110891022 B CN 110891022B
Authority
CN
China
Prior art keywords
network
locator
identifier
tlv
routing node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911152541.5A
Other languages
Chinese (zh)
Other versions
CN110891022A (en
Inventor
唐永林
刘锋
鲍四海
喻胜
周光普
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
UTStarcom Telecom Co Ltd
Original Assignee
UTStarcom Telecom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by UTStarcom Telecom Co Ltd filed Critical UTStarcom Telecom Co Ltd
Priority to CN201911152541.5A priority Critical patent/CN110891022B/en
Publication of CN110891022A publication Critical patent/CN110891022A/en
Application granted granted Critical
Publication of CN110891022B publication Critical patent/CN110891022B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/34Source routing

Abstract

The invention provides a SRv 6-based virtual subnet identifier publishing method and a device, which are applied to a first routing node, and the method comprises the following steps: SRv 6-based communication protocol extension defines a top-level Network TLV, including a virtual subnet identifier Network for representing a Network identification of the first routing node; the first routing node publishes a list supporting the virtual subnet identifier Network, and the second routing node obtains reachable information of the first routing node in SRv6 Network and the list information supporting the virtual subnet identifier, so that the publishing and the obtaining of the SRv 6-based virtual subnet identifier are realized, only the eSID is packaged in the SRH head of the SRv6 service message, the normal routing forwarding can be realized, the chip processing pressure and the Network bandwidth pressure are effectively reduced, and the Network efficiency is improved.

Description

SRv 6-based virtual subnet identifier publishing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for issuing a virtual subnet identifier based on SRv 6.
Background
SRv6(Segment Routing internet Protocol Version 6) is a source Routing technology that carries a list of segments, each Segment being labeled with a 128-bit IPv6 address, by means of a Segment Routing Header (SRH) extension Header.
In the application 201811528314.3, "message forwarding method and apparatus for segment routing network based on IPV 6", in order to reduce redundant information in SRH, a segment identifier sid (segment identifier) is divided into four segments: Network/Locator/function/attribute, Network representing Network identification exists only in destination IP address. The part containing the Locator/function/alignment is called effective SID (effective segment identity), and only the eSID is contained in the SRH.
Several TLVs or sublTLVs are defined by the draft-ietf-lsr-isis-srv6-extensions matched with the draft-ietf-spring-srv 6-Network work-programming, but the method and the device cannot be used for issuing and generating the virtual subnet identifier Network and the TLV in the segment routing Network based on IPV6 201811528314.3, so that the problems of large broadband pressure and low Network efficiency cannot be solved.
Disclosure of Invention
The invention aims to provide a SRv 6-based virtual subnet identifier issuing method and device to effectively relieve broadband pressure.
In a first aspect, an embodiment provides an SRv 6-based virtual subnet identifier publishing method applied to a first routing node, where the method includes: SRv 6-based communication protocol extension defines a top-level Network TLV; the top-level Network TLV comprises a virtual subnet identifier Network; the virtual subnet identifier Network is used for representing the Network identifier of the first routing node; the first routing node issues a list of supported virtual subnet identifiers, networks.
In an optional embodiment, the top-level Network TLV further includes: the Type identifier Type, the Length identifier Length and the virtual subnet field Length identifier Network size; the Type identifier Type is used for representing the Type of the virtual subnet identifier Network, and the length of a field is one byte; the Length is used for representing the list Length of the virtual subnet identifier Network, and the Length of the field is one byte; the virtual subnet field length identification Network size has a field length of one byte and is used for representing the field length of the virtual subnet identifier Network.
In an optional embodiment, the top-level Network TLV further includes: the extension identification Sub-TLV is used for extending the Network TLV; the Length is used to represent the total Length of the Sub-TLV and the list of virtual subnet identifiers Network.
In an optional embodiment, the method is applied to a first routing node, and the method further includes: determining SRv 6-based communication protocol Locator TLV; the Locator TLV is used for defining a location identifier Locator indicating location information, and the Locator TLV comprises a Flag field; the Flag field includes a first Flag bit, where the first Flag bit is used to indicate whether the Locator of the first routing node includes a Network.
In an optional embodiment, when the first identification bit indicates that a Locator in a Locator TLV issued by the first routing node includes a Network, generating a location identifier Locator based on the Locator TLV; the location identifier Locator includes: a virtual subnet identifier Network where the first routing node is located and a location identifier Locator where the first routing node is located; the location identifier Locator is used to represent the reachability information of the first routing node within SRv6 network.
In an optional embodiment, when the first identification bit indicates that a Locator in a Locator TLV issued by the first routing node does not include a Network, generating a location identifier Locator based on the Locator TLV; the location identifier is used to indicate reachability information for a virtual subnet of the first routing node within SRv6 network.
In a second aspect, an embodiment provides an SRv 6-based virtual subnet identifier issuing apparatus, applied to a first routing node, the apparatus including: a first TLV publishing module, configured to define a top-level Network TLV based on the communication protocol extension of SRv 6; the top-level Network TLV comprises a virtual subnet identifier Network; the virtual subnet identifier Network is used for representing the Network identifier of the first routing node; and the first list publishing module is used for publishing a list supporting the virtual subnet identifier Network by the first routing node.
In an alternative embodiment, the apparatus further comprises: a second TLV issuing module for determining SRv 6-based communication protocol Locator TLV; the Locator TLV defines a location identifier Locator indicating location information, the Locator TLV including a Flag field; the Flag field comprises a first identification bit, and the first identification bit is used for indicating whether the Locator of the first routing node comprises a Network; a generating module, configured to generate a location identifier Locator based on the Locator TLV when the first identifier indicates that the Locator in the Locator TLV issued by the first routing node includes a Network; the location identifier Locator includes: a virtual subnet identifier Network where the first routing node is located and a location identifier Locator where the first routing node is located; the location identifier Locator is used to represent the reachability information of the first routing node within SRv6 network; the generating module is further configured to generate a location identifier Locator based on the Locator TLV when the first identifier indicates that the Locator in the Locator TLV issued by the first routing node does not include a Network; the location identifier Locator is used to indicate reachability information for a virtual subnet of the first routing node within SRv6 network.
In a third aspect, embodiments provide a routing node comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform a method according to any one of the preceding embodiments.
In a fourth aspect, embodiments provide a computer-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method of any of the preceding embodiments.
The invention provides a SRv 6-based virtual subnet identifier publishing method and a device, which are applied to a first routing node, and the method comprises the following steps: SRv 6-based communication protocol extension defines a top-level Network TLV, including a virtual subnet identifier Network; the virtual subnet identifier Network is used for representing the Network identification of the first routing node; the first routing node publishes a list supporting the virtual subnet identifier Network, and the second routing node obtains reachable information of the first routing node in SRv6 Network and the list information supporting the virtual subnet identifier, so that the publishing and the obtaining of the SRv 6-based virtual subnet identifier are realized, only the eSID is packaged in the SRH header of the SRv6 service message, the chip processing pressure and the Network bandwidth pressure are effectively reduced, and the Network efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a diagram of an extended header carrying a list of segments in the prior art;
FIG. 2 is a diagram illustrating a packet encapsulation scheme in the prior art;
fig. 3 is a schematic flowchart of a virtual subnet identifier issuing method based on SRv6 according to an embodiment of the present invention;
fig. 4 is a TLV format diagram of a publishing virtual subnet identifier Network according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for issuing a location identifier Locator based on a Locator TLV of SRv6 according to an embodiment of the present invention;
fig. 6 is a TLV format diagram of an issuing location identifier Locator according to an embodiment of the present invention;
fig. 7 is a TLV extended format diagram of an issuing location identifier Locator according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an SRv 6-based virtual subnet identifier issuing apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an SRv 6-based virtual subnet identifier issuing apparatus according to an embodiment of the present invention;
fig. 10 is a connection block diagram of a routing node according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, unless otherwise expressly specified or limited, the terms "disposed," "connected," and "connected" are to be construed broadly, e.g., as meaning fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
SRv6 is a source routing technique that carries a list of segments, each identified by a 128-bit IPv6 address, through an SRH extension header. The message forwards information dependent on the IP address code. Referring to FIG. 1, the IETF draft-IETF-6man-segment-routing-header-15 gives a definition of SRH. An encoding mode of a segment identifier SID in the form of an IPv6 address is described in detail in ietf draft-filters-spring-srv 6-network-programming-06, and generally includes a node identifier Locator, a function identifier function, and parameters, where the node identifier Locator represents a node, the function identifier function represents a processing mode of the node after receiving the packet, and the parameters are attached after the function and represent more specific information, such as port or virtual private network VPN information. Such a standardized approach encapsulates the message as shown in fig. 2.
The inventor has found through research that the function specified in the existing draft standard specifies 16bits, the capacity of the parameter attribute reserving 16bits will reach 64K, and 128-32-96 left for the node identifier loca-tor. How many of the node identities actually represent how many of the nodes or virtual nodes within a certain SR network domain. Considering a certain application extension, the SR network domain with 1K network element sizes, each network element has 16 locators, and then 16K locators assign 16bits to the locators, which also represents 64K node identifiers, so that the total code of 48 bits in the existing standard draft is enough to satisfy SRv6 for all applications and future extensions. The remaining 80bits of information will put completely unnecessary bandwidth pressure on the network. Therefore, it is an urgent technical problem to provide a packet forwarding method for effectively reducing bandwidth pressure.
In the application 201811528314.3, "message forwarding method and apparatus for segment routing network based on IPV 6", in order to reduce redundant information in SRH header, segment identifier sid (segment identifier) is divided into four segments: network/Locator/function/attribute. Wherein the Network representing the Network identification part is only present in the destination IP address. The portion containing the Locator/function/attribute is referred to as the valid SID, i.e., eSID. Only the eSID is contained in the SRH, so that the overhead of an SRH header can be greatly reduced, and the network efficiency of SRv6 is improved.
Several TLVs or sub TLVs are defined by the draft-ietf-lsr-isis-srv6-extensions matched with the draft-ietf-spring-srv 6-Network work-programming to publish information such as node capability, Locator, functions and the like, but the method and the device cannot be used for publishing and generating the virtual subnet identifier Network and the TLV in the IPV 6-based segment routing Network message forwarding method and device 201811528314.3, so that the problems of large broadband pressure and low Network efficiency cannot be solved.
Based on the above, embodiments of the present application provide a virtual subnet identifier publishing method and apparatus based on SRv6, so as to solve the problems of large broadband pressure and low network efficiency in the prior art. The SRv 6-based virtual subnet identifier issuing method provided by the present embodiment is specifically described below with reference to the drawings.
Fig. 3 is a schematic flowchart of a virtual subnet identifier issuing method based on SRv6 according to an embodiment of the present application. The method is applied to a first routing node, and as shown in fig. 3, the method includes the following steps of S301 to S302:
s301, define top-level Network TLV based on communication protocol extension of SRv 6. The top-level Network TLV comprises a virtual subnet identifier Network, and the virtual subnet identifier Network is used for representing the Network identifier of the first routing node.
In some embodiments, the top-level Network TLV includes: the Type identifier Type, the Length identifier Length and the virtual subnet field Length identifier Network size; the Type identification Type is used for representing the Type of the virtual subnet identifier Network, and the length of the field is one byte; the Length is used for representing the list Length of the virtual subnet identifier Network, and the Length of the field is one byte; the virtual subnet field length identifies the field length of the Network size as one byte for representing the field length of the virtual subnet identifier Network.
In some embodiments, the Network TLV further comprises: the extension identification Sub-TLV is used for extending the Network TLV; the Length identification Length is used to represent the list of virtual subnet identifiers Network and the total Length of Sub-TLVs.
For example, the TLV format of the publishing virtual subnet identifier Network may be as shown in fig. 4. Where the "type" field length can be one byte, the suggested value IS 255 according to the case where the IS-IS TLV type has been assigned for use. Other unassigned values may be used. This value requires the IANA organization to assign if formed into a standard. The "Length" field may be 1 byte in Length and may represent the total Length of the following variable Length Network list and sub-TLVs in bytes. The length of the Network size field can be 1 byte, and is used for representing the length of the Network field, the unit is byte, and the value range can be 1-16; if a certain node supports a plurality of networks, the same length can be used for publishing a plurality of networks by using the same TLV, and networks with different lengths can be published by using a plurality of TLVs. The "Network" field may be 1-128 bits in length, with the specific length being consistent with the Network size definition. The "Sub-TLV" field is optional and may be used for future extensions.
In some embodiments, the virtual subnet identifier may be issued via an isis message. Such as Hello messages or Link State messages (LSPs), etc.
S302, the first routing node issues a list supporting virtual subnet identifiers, networks.
The first routing node utilizes the Network TLV to issue a list supporting the virtual subnet identifier Network so that a receiving party adds the node into the logical topology supporting the virtual subnet identifier Network.
Fig. 5 is a flowchart of a method for issuing a location identifier Locator based on a Locator TLV of SRv6 according to an embodiment of the present disclosure. The method is applied to a first routing node, and as shown in fig. 5, the method includes the following steps of S501 to S502:
s501, determining SRv 6-based communication protocol Locator TLV;
wherein, the Locator TLV is used for defining a location identifier Locator indicating location information, and comprises a Flag field; the Flag field includes a first identification bit indicating whether the Locator of the first routing node includes a Network.
S502, generating a location identifier based on the location TLV.
For S502, when the first identification bit indicates that the Locator in the Locator TLV issued by the first routing node includes a Network, the location identifier includes: a virtual subnet identifier Network where the first routing node is located and a location identifier Locator where the first routing node is located; the location identifier Locator is used to indicate the reachability information of the first routing node within SRv6 the network.
When the first identification bit indicates that the Locator in the Locator TLV issued by the first routing node does not include Network, the location identifier Locator is used for representing reachable information of a certain virtual subnet in SRv6 Network of the first routing node.
Wherein, TLV of Locator can be as shown in fig. 6. In connection with the specific example of fig. 7, Flag may have at least three identification bits, D, A and N, where D and a may be defined in "draft-ietf-lsr-isis-srv 6-extensions," and an identification bit named N (i.e., the first identification bit described in the above embodiment) is added to the field of "reserved", where the identification bit may be a bit and is used to indicate whether the node supports Network extension.
For example, when N ═ 1, it may indicate that the Locator issued by the first routing node does not include Netw ork, indicating the reachability information of a certain virtual subnet within SRV6, expressed as: locator (location identifier of the routing node within the virtual subnet).
For example, when N ═ 0, Locator may be understood as realability, compatible with node publishing and parsing that supports and does not support Network extension. That is, it can be shown that the Locator issued by the first routing node includes Network, indicating the reachability information in SRv6, which is actually the Locator TLV defined by draft-ietf-lsr-is-srv 6-extensions; it can also mean that the first routing node supports Network extension, indicating SRv6 reachability information of a certain virtual subnet, expressed as: network + Locator (virtual subnet identifier where the first routing node is located + location identifier where the routing node is within the virtual subnet).
Fig. 8 is a schematic structural diagram of a virtual subnet identifier issuing device based on SRv6 according to an embodiment of the present application. As shown in fig. 8, applied to a first routing node, the apparatus includes:
a first TLV issuing module 801, configured to define a top-level Network TLV based on the communication protocol extension of SRv 6; the top-level Network TLV comprises a virtual subnet identifier Network; the virtual subnet identifier Network is used for representing the Network identification of the first routing node; a first list publishing module 802, configured to publish, by the first routing node, a list supporting virtual subnet identifiers, networks.
In some embodiments, the following structure is also included as shown in fig. 9:
a second TLV issuing module 901, configured to determine SRv 6-based communication protocol Locator TLV; a Locator TLV defines a location identifier Locator indicating location information, the Locator TLV including a Flag field; the Flag field comprises a first identification bit, and the first identification bit is used for indicating whether the Locator of the first routing node comprises a Network;
a generating module 902, configured to generate a location identifier Locator based on a Locator TLV when the first identifier indicates that the Locator in the Locator TLV issued by the first routing node includes a Network; the location identifier Locator includes: a virtual subnet identifier Network where the first routing node is located and a location identifier Locator where the first routing node is located; the location identifier Locator is used to indicate the reachability information of the first routing node within SRv6 network;
the generating module 902 is further configured to generate a location identifier Locator based on the Locator TLV when the first identifier indicates that the Locator in the Locator TLV issued by the first routing node does not include a Network; the location identifier Locator is used to indicate the reachability information of a virtual subnet of the first routing node within SRv6 network.
The SRv 6-based virtual subnet identifier publishing method and device provided by the embodiment of the application are applied to a first routing node, and the method comprises the following steps: SRv 6-based communication protocol extension defines a top-level Network TLV, including a virtual subnet identifier Network; the virtual subnet identifier Network is used for representing the Network identification of the first routing node; the first routing node publishes a list supporting the virtual subnet identifier Network, and the second routing node obtains reachable information of the first routing node in SRv6 Network and the list information supporting the virtual subnet identifier, so that the publishing of the SRv 6-based virtual subnet identifier is realized, only the eSID is packaged in the SRH header of the SRv6 service message, the processing pressure of a chip and the Network bandwidth pressure are effectively reduced, and the Network efficiency is improved.
Corresponding to the SRv 6-based virtual subnet identifier issuing method, the embodiment of the present application further provides a routing node. As shown in fig. 10, a routing node 1000 according to an embodiment of the present application includes: a processor 1001, a memory 1002, a bus 1003 and a communication interface 1004, the processor 1001, the communication interface 1004 and the memory 1002 being connected by the bus 1003; the memory 1002 is used for storing programs; the processor 1001 is configured to call a program stored in the memory 1002 through the bus 1003 to execute the SRv 6-based virtual subnet identifier issuing method of the above-described embodiment.
Specifically, the memory 1002 and the processor 1001 may be general-purpose memories and processors, and are not specifically limited herein, and when the processor 1001 runs a computer program stored in the memory 1002, the SRv 6-based virtual subnet identifier issuing method may be executed.
The memory 1002 and the processor 1001 are electrically connected to each other directly or indirectly to enable data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory 1002 stores software functional modules stored in the memory 1002 in the form of software or Firmware (Firmware), and the processor 1001 executes various functional applications and data processing, namely implements the SRv 6-based virtual subnet identifier issuing method in the embodiment of the present invention, by running software programs and modules stored in the memory 1002, such as the SRv 6-based virtual subnet identifier issuing method apparatus in the embodiment of the present invention.
The Memory may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an Electrically Erasable Read-Only Memory (EEPROM), and the like. The memory is used for storing programs, and the processor executes the programs after receiving the execution instructions.
The processor may be an integrated circuit chip having signal processing capabilities. The Processor may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. But may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Corresponding to the virtual subnet identifier issuing method based on SRv6, the embodiment of the present application further provides a computer readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to perform the steps of the virtual subnet identifier issuing method based on SRv 6.
The SRv 6-based virtual subnet identifier issuing means provided by the embodiment of the present application may be specific hardware on the device or software or firmware installed on the device, etc. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes several instructions to enable a server device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the mobile control method according to the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the scope of the embodiments of the present application. Are intended to be covered by the scope of the present application.

Claims (10)

1. An SRv 6-based virtual subnet identifier issuing method, applied to a first routing node, the method comprising:
SRv 6-based communication protocol extension defines a top-level NetworkTLV; the top-level NetworkTLV includes a virtual subnet identifier, Network; the virtual subnet identifier Network is used for representing the Network identifier of the first routing node;
and the first routing node publishes a list supporting the virtual subnet identifier Network based on the top-level Network TLV so as to add nodes into the logical topology supporting the virtual subnet identifier Network.
2. The method of claim 1, wherein the top-level Network TLV comprises: the Type identifier Type, the Length identifier Length and the virtual subnet field Length identifier Network size;
the Type identifier Type is used for representing the Type of the virtual subnet identifier Network, and the field length of the Type identifier Type is one byte;
the Length is used for representing the list Length of the virtual subnet identifier Network, and the Length of the Length is one byte;
the field length of the virtual subnet field length identification Network size is one byte, and the virtual subnet field length identification Network size is used for representing the field length of the virtual subnet identifier Network.
3. The method of claim 2, wherein the top-level Network TLV further comprises: the extension identification Sub-TLV is used for extending the Network TLV; the Length is used to represent the total Length of the Sub-TLV and the list of virtual subnet identifiers Network.
4. The method of claim 1, applied to a first routing node, further comprising:
determining SRv 6-based communication protocol Locator TLV; the Locator TLV is used for defining a location identifier Locator indicating location information, and the Locator TLV comprises a Flag field;
the Flag field includes a first Flag bit, where the first Flag bit is used to indicate whether the Locator of the first routing node includes a Network.
5. The method according to claim 4, wherein when the first flag indicates that the Locator in the Locator TLV issued by the first routing node includes a Network, generating a location identifier Locator based on the Locator TLV; the location identifier Locator includes: a virtual subnet identifier Network where the first routing node is located and a location identifier Locator where the first routing node is located; the location identifier Locator is used to represent the reachability information of the first routing node within SRv6 network.
6. The method according to claim 4, wherein when the first flag indicates that the Locator in the Locator TLV issued by the first routing node does not include a Network, generating a location identifier Locator based on the Locator TLV; the location identifier Locator is used to indicate reachability information for a virtual subnet of the first routing node within SRv6 network.
7. An SRv 6-based virtual subnet identifier issuing apparatus, applied to a first routing node, the apparatus comprising:
a first TLV publishing module, configured to define a top-level Network TLV based on the communication protocol extension of SRv 6; the top-level Network TLV comprises a virtual subnet identifier Network; the virtual subnet identifier Network is used for representing the Network identifier of the first routing node;
and the first list publishing module is used for publishing a list supporting the virtual subnet identifier Network by the first routing node.
8. The apparatus of claim 7, applied to a first routing node, further comprising:
a second TLV issuing module for determining SRv 6-based communication protocol Locator TLV; the Locator TLV defines a location identifier Locator indicating location information, the Locator TLV including a Flag field; the Flag field comprises a first identification bit, and the first identification bit is used for indicating whether the Locator of the first routing node comprises a Network;
a generating module, configured to generate a location identifier Locator based on the Locator TLV when the first identifier indicates that the Locator in the Locator TLV issued by the first routing node includes a Network; the location identifier Locator includes: a virtual subnet identifier Network where the first routing node is located and a location identifier Locator where the first routing node is located; the location identifier Locator is used to represent the reachability information of the first routing node within SRv6 network;
the generating module is further configured to generate a location identifier Locator based on the Locator TLV when the first identifier indicates that the Locator in the Locator TLV issued by the first routing node does not include a Network; the location identifier Locator is used to indicate reachability information for a virtual subnet of the first routing node within SRv6 network.
9. A routing node comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any one of claims 1 to 6.
10. A computer-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method of any of claims 1-6.
CN201911152541.5A 2019-11-20 2019-11-20 SRv 6-based virtual subnet identifier publishing method and device Active CN110891022B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911152541.5A CN110891022B (en) 2019-11-20 2019-11-20 SRv 6-based virtual subnet identifier publishing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911152541.5A CN110891022B (en) 2019-11-20 2019-11-20 SRv 6-based virtual subnet identifier publishing method and device

Publications (2)

Publication Number Publication Date
CN110891022A CN110891022A (en) 2020-03-17
CN110891022B true CN110891022B (en) 2021-11-16

Family

ID=69748405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911152541.5A Active CN110891022B (en) 2019-11-20 2019-11-20 SRv 6-based virtual subnet identifier publishing method and device

Country Status (1)

Country Link
CN (1) CN110891022B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438161B (en) * 2020-03-23 2022-10-04 华为技术有限公司 Method and network device for generating segment identification SID
CN116346717A (en) * 2020-06-02 2023-06-27 华为技术有限公司 Method, node and system for determining processing capacity
CN114095305A (en) * 2020-07-21 2022-02-25 华为技术有限公司 BIER message forwarding method, equipment and system
WO2023184220A1 (en) * 2022-03-30 2023-10-05 新华三技术有限公司 Packet forwarding method and apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547675A (en) * 2017-05-26 2018-01-05 新华三技术有限公司 A kind of user equipment migration method and apparatus
CN107786442A (en) * 2016-08-30 2018-03-09 中兴通讯股份有限公司 The transmission method and device of a kind of metadata
WO2019005956A1 (en) * 2017-06-27 2019-01-03 Cisco Technology, Inc. Enhanced segment routing processing of packets
CN109379359A (en) * 2018-10-19 2019-02-22 盛科网络(苏州)有限公司 The treating method and apparatus of SRv6 data packet
CN109688057A (en) * 2018-12-13 2019-04-26 Ut斯达康通讯有限公司 The message forwarding method and device of section route network based on IPV6
CN109873760A (en) * 2017-12-01 2019-06-11 华为技术有限公司 Handle the method and apparatus of routing and the method and apparatus of data transmission
CN110266594A (en) * 2019-06-28 2019-09-20 Ut斯达康通讯有限公司 The Segment routing retransmission method and device of across a network slice

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561021B (en) * 2017-09-25 2021-08-20 华为技术有限公司 Message forwarding method and network equipment
US10517012B2 (en) * 2018-01-16 2019-12-24 Cisco Technology, Inc. Methods and apparatus for use in adaptively rerouting user plane traffic for mobility using segment routing for IPv6
US10419982B1 (en) * 2018-03-14 2019-09-17 Cisco Technology, Inc. Methods and apparatus for providing end marker functionality in mobile networks having SRv6-configured mobile user planes
CN110300061A (en) * 2018-03-23 2019-10-01 中兴通讯股份有限公司 A kind of method, equipment and storage medium for noticing binding information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786442A (en) * 2016-08-30 2018-03-09 中兴通讯股份有限公司 The transmission method and device of a kind of metadata
CN107547675A (en) * 2017-05-26 2018-01-05 新华三技术有限公司 A kind of user equipment migration method and apparatus
WO2019005956A1 (en) * 2017-06-27 2019-01-03 Cisco Technology, Inc. Enhanced segment routing processing of packets
CN109873760A (en) * 2017-12-01 2019-06-11 华为技术有限公司 Handle the method and apparatus of routing and the method and apparatus of data transmission
CN109379359A (en) * 2018-10-19 2019-02-22 盛科网络(苏州)有限公司 The treating method and apparatus of SRv6 data packet
CN109688057A (en) * 2018-12-13 2019-04-26 Ut斯达康通讯有限公司 The message forwarding method and device of section route network based on IPV6
CN110266594A (en) * 2019-06-28 2019-09-20 Ut斯达康通讯有限公司 The Segment routing retransmission method and device of across a network slice

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
draft-bashandy-isis-srv6-extensions-03;Networking Working Group;《Internet-Draft》;20181231;全文 *
draft-dawra-idr-srv6-vpn-05;Huawei Technologies;《Internet-Draft》;20190425;全文 *
draft-ietf-bess-srv6-services-00;BESS Working Group;《Internet-Draft》;20191015;全文 *
draft-ietf-spring-srv6-network-programming-03;SPRING;《Internet-Draft》;20190923;全文 *
基于SDN的IPv6段路由实现技术;邱为好;《CNKI》;20181101;全文 *

Also Published As

Publication number Publication date
CN110891022A (en) 2020-03-17

Similar Documents

Publication Publication Date Title
CN110891022B (en) SRv 6-based virtual subnet identifier publishing method and device
CN109688057B (en) Message forwarding method and device of segment routing network based on IPV6
US20240007376A1 (en) Network Performance Parameter Sending Method, Network Performance Calculation Method, and Network Node
WO2018188464A1 (en) Methods and devices for realizing ioam, and storage medium
US20230078123A1 (en) Method for Forwarding Packet in SRV6 Service Function Chain and SF Device
CN111510386B (en) Method and device for processing message
CN114915585A (en) Message processing method, device, equipment and system
CN111371634B (en) Communication method, device and system
EP4138347A1 (en) Method and device for processing binding segment identification
US20230353492A1 (en) Information sending and processing methods, node, controller, and non-transitory computer-readable storage medium
WO2021043232A1 (en) Method by which host network performance requirements may be programmed, device and system
CN116319524A (en) Method, equipment and system for forwarding message in SR network
CN104486228A (en) Route updating method and route updating device
WO2022068436A1 (en) Service processing method and related device
JP7448597B2 (en) Message generation method and device and message processing method and device
CN110958181B (en) Method and device for distributing SRv 6-crossing slicing network by ISIS protocol
WO2022184169A1 (en) Packet forwarding method and system, storage medium, and electronic device
CN113438161A (en) Method and network device for generating segment identification SID
WO2022028216A1 (en) Network layer reachable information transmission method, system and apparatus, and network device
CN113328931B (en) Route issuing method and device
WO2021232906A1 (en) Method for determining packet forwarding and backup path and related device
CN113726652B (en) Notification information processing method and device and storage medium
JP2021114767A5 (en)
CN113132230A (en) Method, device and computer storage medium for sending message
CN113765794B (en) Data transmission method and device, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant