CN113726653B - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN113726653B
CN113726653B CN202110783184.3A CN202110783184A CN113726653B CN 113726653 B CN113726653 B CN 113726653B CN 202110783184 A CN202110783184 A CN 202110783184A CN 113726653 B CN113726653 B CN 113726653B
Authority
CN
China
Prior art keywords
label
route
data message
sid
next hop
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
CN202110783184.3A
Other languages
Chinese (zh)
Other versions
CN113726653A (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.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security Technologies 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 New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202110783184.3A priority Critical patent/CN113726653B/en
Publication of CN113726653A publication Critical patent/CN113726653A/en
Application granted granted Critical
Publication of CN113726653B publication Critical patent/CN113726653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/825Involving tunnels, e.g. MPLS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Abstract

The application provides a message processing method and a device, the method is applied to a first network device, the first network device is in SRv network, SRv network further includes a first PE, the method includes: receiving a first data message sent by a first PE through a SRv tunnel, wherein the first data message comprises a first type SID; acquiring a first label for forwarding a first data message according to the first type SID; sending a second data message to a second network device through an MPLS label switching path, wherein the second data message comprises a first label, so that the second network device obtains a second label and a third label for forwarding the second data message according to the first label, and sends a third data message to a second PE, and the third data message comprises the second label and the third label; the second network equipment and the second PE are both in the MPLS network.

Description

Message processing method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for processing a message.
Background
Currently, increasingly diversified network services place various performance demands on the network. For example, the segment routing IPv6 (English: segment Routing IPv, SRv for short) network and the multiprotocol label switching (English: multi-Propocol Label Switching, MPLS for short) network are mixed and networked, so that different services are provided for users, and the requirements of the users are met.
As shown in fig. 1, fig. 1 is a schematic diagram of a mixed networking of a SRv network and an MPLS network. In fig. 1, node 1 is in an MPLS network, node 3 is in a SRv network, and node 2 is at the edge of the MPLS network, SRv network, as a gateway.
In one case, as shown in fig. 2, fig. 2 is a schematic diagram of forwarding a data packet from an existing MPLS network to a SRv network. In fig. 3, a Site (Site) a accesses node 1 and a Site b accesses node 3. After the node 3 learns the Locator route of the location (Site) B, the node 3 adds the learned Locator route of the Site B into a routing table under the VRFA according to the VPN instance (VRFA) to which the interface which establishes connection with the Site B itself belongs, and the next hop in the VRFA routing table is the address of the node 3. According to the VRFA routing table, the node 3 generates a corresponding forwarding table. Node 3 advertises the Locator route of SiteB to node 2 via BGP protocol. Node 2 learns the Locator route of SiteB, adds the learned Locator route of SiteB to the routing table under VRFA, and modifies the next hop to the label of node 2. The node 2 generates a label forwarding table, when the label forwarding table indicates that the message with the destination address of SiteB is forwarded, a VRFA routing table is needed to be searched, and the next hop is determined to be the node 3 through the VRFA routing table. Node 2 advertises the Locator route of SiteB to node 1 via BGP protocol. Node 1 learns the Locator route of SiteB, adds the learned Locator route of SiteB to the routing table under VRFA, and modifies the next hop to the label of node 1. Node 1 generates a label forwarding table.
The SiteA sends an original data message to the node 1, the source address is the IP address of the SiteA, and the destination address is the IP address of the SiteB. Node 1 looks up the label forwarding table and encapsulates the MPLS header. The outgoing label of the MPLS header is the incoming label of node 2. After receiving the first data message, the node 2 searches the label according to the in label to forward the out label of the forwarding table, and searches the VRFA routing table according to the out label to determine that the next hop is the node 3. Node 2 strips the MPLS header and regenerates the IPv6 header, the source address of which is the segment identifier (english: segment Identifier, abbreviated: SID) of node 2 and the destination address is the SID of node 3. After the node 3 receives the second data message, the destination address is confirmed to be self, and the node 3 strips the IPv6 header. And forwarding the original data message to the SiteB according to the destination address of the original data message.
In another case, as shown in fig. 3, fig. 3 is a schematic diagram of forwarding a data packet from an existing SRv network to an MPLS network. In fig. 3, siteA access node 1, siteb access node 3. After the node 1 learns the host route of the SiteA, the node 1 adds the learned host route of the SiteA into a routing table under the VRFA according to a VPN instance (VRFA) to which an interface for establishing connection with the SiteA itself belongs, and the next hop in the VRFA routing table is a label of the node 1. According to the VRFA routing table, the node 1 generates a corresponding forwarding table. Node 1 advertises the host route of SiteA to node 2 via BGP protocol. Node 2 learns the host route of SiteA, adds the learned host route of SiteA to the routing table under VRFA, and modifies the next hop to the label of node 2. The node 2 generates a label forwarding table, when the label forwarding table indicates that the message with the destination address of SiteA is forwarded, a VRFA routing table is needed to be searched, and the next hop is determined to be the node 1 through the VRFA routing table. Node 2 advertises the host route of SiteA to node 3 via BGP protocol. Node 3 learns the host route of SiteA, adds the learned host route of SiteA to the routing table under VRFA, and modifies the next hop to the address of node 3. According to the VRFA routing table, the node 3 generates a corresponding forwarding table.
The SiteB sends the original data message to the node 3, the source address is the IP address of SiteB, and the destination address is the IP address of SiteA. The node 3 looks up the forwarding table and encapsulates the IPv6 header. The source address of the IPv6 header is the SID of the node 3, and the destination address is the SID of the node 2. After receiving the first data message, the node 2 searches a label forwarding table and a VRFA routing table according to the destination address to determine that the next hop is the node 1. Node 2 strips the IPv6 header and regenerates the MPLS header whose egress label is the ingress label of node 1. After receiving the second data message, the node 1 confirms that the label is self, and the node 1 strips the MPLS header. And forwarding the original data message to the SiteA according to the destination address of the original data message.
In the above hybrid networking, when each network device forwards a data packet, it needs to search a forwarding table and then search a VRF table again, and intermediate devices in multiple networks need to repackage the packet, which has huge workload.
Disclosure of Invention
In view of this, the present application provides a method and apparatus for message processing, which are used to implement message interworking between SRv network and MPLS network.
In a first aspect, the present application provides a method for processing a packet, where the method is applied to a first network device, where the first network device is in a SRv group network, and the SRv group network further includes a first PE, and the method includes:
Receiving a first data message sent by the first PE through a SRv tunnel, wherein the first data message comprises a first type SID;
acquiring a first label for forwarding the first data message according to the first type SID;
sending a second data message to a second network device through an MPLS label switching path, wherein the second data message comprises the first label, so that the second network device obtains a second label and a third label for forwarding the second data message according to the first label, and sends a third data message to a second PE, and the third data message comprises the second label and the third label;
and the second network equipment and the second PE are both positioned in the MPLS network.
In a second aspect, the present application provides a method for processing a packet, where the method is applied to a first network device, where the first network device is in a SRv group network, and the SRv group network further includes a first PE, and the method includes:
receiving a first data message sent by second network equipment through an MPLS label switching path, wherein the first data message comprises a first label;
acquiring a first type SID used for forwarding the first data message according to the first label;
Sending a second data message to the first PE through a SRv tunnel, wherein the second data message comprises the first type SID, so that the first PE strips the first type SID from the second data message according to the first type SID, and sends an original data message to a CE;
wherein the second network device is within an MPLS network.
In a third aspect, the present application provides a packet processing apparatus, where the method is applied to a first network device, where the first network device is in a SRv group network, and the SRv group network further includes a first PE, and the apparatus includes:
a receiving unit, configured to receive, through a SRv tunnel, a first data packet sent by the first PE, where the first data packet includes a first type SID;
the acquisition unit is used for acquiring a first label for forwarding the first data message according to the first type SID;
a sending unit, configured to send a second data packet to a second network device through an MPLS label switching path, where the second data packet includes the first label, so that the second network device obtains, according to the first label, a second label and a third label for forwarding the second data packet, and sends a third data packet to a second PE, where the third data packet includes the second label and the third label;
And the second network equipment and the second PE are both positioned in the MPLS network.
In a fourth aspect, the present application provides a packet processing apparatus, where the method is applied to a first network device, where the first network device is in a SRv network group, and the SRv network group further includes a first PE, and the apparatus includes:
a receiving unit, configured to receive, through an MPLS label switching path, a first data packet sent by a second network device, where the first data packet includes a first label;
the acquisition unit is used for acquiring a first type SID used for forwarding the first data message according to the first label;
a sending unit, configured to send a second data packet to the first PE through a SRv tunnel, where the second data packet includes the first type SID, so that the first PE strips the first type SID from the second data packet according to the first type SID, and sends an original data packet to a CE;
wherein the second network device is within an MPLS network.
In a fifth aspect, the present application provides a network device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to cause the processor to perform the method provided in the first aspect of the present application.
In a sixth aspect, the present application provides a network device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to cause the processor to perform the method provided in the first aspect of the present application.
Therefore, by applying the message processing method and device provided by the application, through the SRv tunnel, the first network device receives the first data message sent by the first PE, and the first data message comprises the first type SID; according to the first type SID, the first network equipment acquires a first label for forwarding a first data message; through the MPLS label switching path, the first network device sends a second data message to the second network device, wherein the second data message comprises a first label, so that the second network device obtains a second label and a third label for forwarding the second data message according to the first label, and sends a third data message to the second PE, and the third data message comprises the second label and the third label; the second network equipment and the second PE are both in the MPLS network.
Thus, through establishing the association relation between the MPLS label and the SID, the intercommunication between SRv networking and MPLS networking is realized in the process of forwarding the data message. The configuration of each boundary device is simplified, and the routing resource occupation of the boundary device is saved.
Drawings
Fig. 1 is a schematic diagram of a hybrid networking of a SRv network and an MPLS network;
fig. 2 is a schematic diagram of forwarding a data packet from a conventional MPLS network to a SRv6 network;
fig. 3 is a schematic diagram of forwarding a data packet from a conventional SRv network to an MPLS network;
FIG. 4 is a flowchart of a message processing method according to an embodiment of the present application;
FIG. 5 is a flowchart of another message processing method according to an embodiment of the present disclosure;
fig. 6 is a networking schematic diagram of a method for implementing message processing in a hybrid networking according to an embodiment of the present application;
fig. 7 is a schematic networking diagram of another method for implementing message processing in a hybrid networking according to an embodiment of the present application;
FIG. 8 is a block diagram of a message processing apparatus according to an embodiment of the present application;
FIG. 9 is a block diagram of another message processing apparatus according to an embodiment of the present application;
fig. 10 is a hardware structure of a network device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the corresponding listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
The following describes the message processing method provided in the embodiment of the present application in detail. Referring to fig. 4, fig. 4 is a flowchart of a message processing method according to an embodiment of the present application. The method is applied to first network equipment, and the embodiment of the application can be applied to L3VPN, EVPN L3VPN and EVPN L2VPN environments. The message processing method provided by the embodiment of the application can comprise the following steps.
Step 410, receiving a first data message sent by the first PE through a SRv tunnel, where the first data message includes a first type SID.
Specifically, the first network device is in SRv6 network, and the SRv network further includes a first network Edge device (PE). The first PE can be connected to a first Customer Edge device (CE).
In this embodiment of the present application, a first host accessing a first CE pre-sends an original data packet to a second host.
And after the first CE receives the original data message, the first CE sends the original data message to the first PE. After receiving the original data message, the first PE searches the local forwarding table entry according to the destination address included in the original data message, and obtains the interface and the next hop information from the local forwarding table entry. The next hop information indicates the first network device.
And according to the next hop information, the first PE encapsulates the IPv6 extension header and the SRH header on the outer layer of the original data message to obtain the first data message. The first data message includes a first type SID.
Wherein the destination address of the IPv6 extension header is the first type SID. The first type SID is specifically an end.t SID.
The first PE sends a first data message to the first network device through the SRv tunnel.
In an embodiment of the present application, the first network device may be specifically an autonomous system border router.
Step 420, according to the first type SID, a first label for forwarding the first data packet is obtained.
Specifically, according to the description of step 410, after the first network device obtains the first type SID from the first data packet, the first network device obtains, according to the first type SID, a forwarding table entry matching the first type SID from the local forwarding table. The first network device obtains a first tag from the forwarding table entry.
In the embodiment of the application, the forwarding table entry includes an outbound interface, next hop information, and a first tag. The first label is specifically an MPLS label that forwards the first data packet to the MPLS network, where the MPLS label is a private network label.
Step 430, sending a second data packet to a second network device through an MPLS label switching path, where the second data packet includes the first label, so that the second network device obtains a second label and a third label for forwarding the second data packet according to the first label, and sends a third data packet to a second PE, where the third data packet includes the second label and the third label.
Specifically, according to the description of step 420, after the first network device obtains the first tag, the IPv6 extension header and the SRH header are stripped from the first data packet, so as to obtain an original data packet. And the first network equipment encapsulates the first label on the outer layer of the original data message to obtain the second data message.
The first network device sends a second data message to the second network device via the MPLS label switched path, the second data message including the first label.
And after the second network equipment receives the second data message, acquiring the first label from the second data message. And according to the first label, acquiring a label forwarding table item corresponding to the first label from the local label forwarding table. The second network device obtains next hop information from the tag forwarding table entry and outputs the tag. The next hop information indicates that the second PE is the next hop information, and the outgoing label is the second label.
And the second network equipment strips the first label from the second data message to obtain an original data message. And the second network equipment encapsulates the second label on the outer layer of the original data message, and encapsulates the third label to obtain a third data message. The third label is a public network label.
And sending a third data message to the second PE by the second network equipment through the MPLS label switching path, wherein the third data message comprises a second label and a third label.
And after the second PE receives the third data message, acquiring a second label and a third label from the third data message. And according to the second label, after the second PE determines that the second PE is a tail node, the second PE strips the second label and the third label from the third data message to obtain an original data message. And searching a local forwarding table according to the destination address included in the original data message, and acquiring a forwarding table item matched with the destination address from the local forwarding table. And the second PE acquires the interface and the next hop information from the forwarding table entry. Wherein the next hop information is indicated as the second CE.
And the second PE sends the original data message to the second CE. After receiving the original data message, the second CE sends the original data message to a second host corresponding to the destination address according to the destination address included in the original data message. The second network equipment and the second PE are both in the MPLS network.
It should be noted that, in the embodiment of the present application, the association relationship between the SRv SID and the MPLS label is established by using the end.t type of the existing SID, and the association relationship with the MPLS label may be indicated in the function (function) field of the SID. In practical applications, the type of SID, for example, end.m type, may be created separately, and an association relationship between SRv SID and MPLS label may be established, and the association relationship with MPLS label may be indicated in a function (function) field of SID.
In the embodiment of the application, SRv networking and MPLS networking in the hybrid networking are respectively in different AS domains. Thus, cross-domain message interaction is realized.
Therefore, by applying the message processing method provided by the application, through the SRv tunnel, the first network device receives the first data message sent by the first PE, and the first data message comprises the first type SID; according to the first type SID, the first network equipment acquires a first label for forwarding a first data message; through the MPLS label switching path, the first network device sends a second data message to the second network device, wherein the second data message comprises a first label, so that the second network device obtains a second label and a third label for forwarding the second data message according to the first label, and sends a third data message to the second PE, and the third data message comprises the second label and the third label; the second network equipment and the second PE are both in the MPLS network.
Thus, through establishing the association relation between the MPLS label and the SID, the intercommunication between SRv networking and MPLS networking is realized in the process of forwarding the data message. The configuration of each boundary device is simplified, and the routing resource occupation of the boundary device is saved.
Optionally, before step 410 of the embodiment of the present application, a procedure of receiving the route announcement by the first network device is further included.
Specifically, after learning the private network route (e.g., IPv4 route) of the first host, the second CE locally establishes a forwarding table entry. The second CE sends a private network route of the first host including the first host address and the next hop information to the second PE.
After receiving the private network route of the first host, the second PE learns the private network route of the first host and distributes MPLS labels, namely second labels, for the private network route. The second PE establishes a label forwarding table item locally. The label forwarding table entry includes a first host address, next hop information, and a second label.
The second PE modifies the next hop information included in the private network route of the first host to its own address and generates a route advertisement (e.g., VPN-IPv4 route, or EVPN five-class route) that includes the private network route of the first host that includes the first host address, the next hop information, and the second label.
The second PE sends route advertisements to the second network device through MP-IBGP protocol.
And after receiving the route announcement, the second network equipment acquires and learns the private network route of the first host. The second network device assigns an MPLS label, i.e., a first label, to the private network route. The second network device establishes an association of the second tag with the first tag. The second network device establishes a label forwarding table locally. The label forwarding table entry includes a first host address, next hop information, a second label, and a first label.
The second network device modifies the next hop information included in the private network route of the first host to its own address and generates a first route advertisement (e.g., VPN-IPv4 route, or EVPN five-class route) that includes the first route including the first host address, the next hop information, and the first label.
The second network device sends a first route advertisement to the first network device via the MP-EBGP protocol.
The first network device obtains and learns the first route from the first route announcement after receiving the first route announcement. The first network device distributes a first type SID for the route, and establishes an association relation between the first type SID and a first label. The first network device generates a first forwarding table entry. The first forwarding entry includes a first host address, next hop information, a first tag, and a first type SID.
The first network device modifies the next hop information to its own address and generates a second route advertisement (e.g., a VPN-IPv4 route, or an EVPN five-class route) that includes the second route including the first host address, the next hop information, and the first type SID.
The first network device sends a second route advertisement to the first PE via the MP-IBGP protocol.
After receiving the second route advertisement, the first PE obtains and learns the second route from the second route advertisement. The first PE generates a forwarding table entry. The first forwarding entry includes a first host address, next hop information, and a first type SID.
The first PE modifies the next hop information to its own address and generates a private network route (e.g., VPN-IPv4 route) for the first host, which includes the first host address and the next hop information, and sends the private network route for the first host to the first CE.
The first CE learns the private network route to the first host.
Optionally, in the embodiment of the present application, the method further includes a process that the hybrid networking is located in an AS domain, so AS to implement interworking between SRv networking and MPLS networking.
Specifically, the first network device is at SRv networking edge and MPLS networking edge, the third PE is within SRv networking, and the fourth PE is within MPLS networking. The first CE is accessed to the third PE, and the second CE is accessed to the fourth PE.
In this embodiment of the present application, a first host accessing a first CE pre-sends an original data packet to a second host.
And after the first CE receives the original data message, the first CE sends the original data message to the third PE. After the third PE receives the original data message, the local forwarding table entry is searched according to the destination address included in the original data message, and the interface and the next hop information are obtained from the local forwarding table entry. The next hop information indicates the first network device.
And according to the next hop information, the third PE encapsulates the IPv6 extension header and the SRH header on the outer layer of the original data message to obtain a third data message. The third data message includes a second type SID.
Wherein the destination address of the IPv6 extension header is the second type SID. The second type SID is specifically end.dt4sid.
And transmitting a third data message to the first network equipment by the third PE through the SRv tunnel.
In the embodiment of the present application, the first network device may specifically be a cross-networking boundary PE.
And after the first network equipment receives the third data message and acquires the second-type SID from the third data message, the first network equipment acquires a forwarding table item matched with the second-type SID from a local forwarding table according to the second-type SID. The first network device obtains a fourth tag from the forwarding table entry.
In the embodiment of the application, the forwarding table entry includes an outbound interface, next hop information, and a fourth tag. The fourth label is specifically an MPLS label that forwards the third data packet to the MPLS network, where the MPLS label is a private network label.
And after the first network equipment acquires the fourth label, stripping the IPv6 extension header and the SRH header from the third data message to obtain an original data message. The first network device encapsulates the fourth label on the outer layer of the original data message, and encapsulates the fifth label to obtain the fourth data message. Wherein the fifth tag is a public network tag.
And sending a fourth data message to a fourth PE by the first network equipment through the MPLS label switching path, wherein the fourth data message comprises a fourth label and a fifth label.
And after the fourth PE receives the fourth data message, a fourth label and a fifth label are obtained from the fourth data message. And according to the fourth label, after the fourth PE determines that the fourth PE is a tail node, the fourth PE strips the fourth label and the fifth label from the fourth data message to obtain an original data message. According to the destination address included in the original data message, searching a local label forwarding table, and acquiring a label forwarding table item matched with the destination address from the local label forwarding table. And the fourth PE acquires interface and next hop information from the label forwarding table item. Wherein the next hop information is indicated as the second CE.
And the fourth PE sends the original data message to the second CE. After receiving the original data message, the second CE sends the original data message to a second host corresponding to the destination address according to the destination address included in the original data message.
In the embodiment of the application, SRv networking and MPLS networking in the hybrid networking are in an AS domain. Thus, the inter-networking message interaction between the first CE and the second CE is realized.
Optionally, in the embodiment of the present application, the method further includes a process of implementing interworking between SRv networking and MPLS networking by the hybrid networking in the same AS domain.
Specifically, after learning the private network route (e.g., IPv4 route) of the first host, the second CE locally establishes a forwarding table entry. The second CE sends a private network route of the first host including the first host address and the next hop information to the fourth PE.
After receiving the private network route of the first host, the fourth PE learns the private network route of the first host and distributes MPLS labels, namely fourth labels, for the private network route. The fourth PE builds a label forwarding table item locally. The label forwarding table entry includes a first host address, next hop information, and a fourth label.
The fourth PE modifies the next hop information included in the private network route of the first host to its own address and generates a third route advertisement (e.g., VPN-IPv4 route) including a third route including the first host address, the next hop information, and a fourth label.
The fourth PE sends a third route advertisement to the first network device via the MP-IBGP protocol.
The first network device obtains and learns the third route from the third route advertisement after receiving the third route advertisement. The first network device distributes a second type SID for the route, and establishes an association relation between the second type SID and a fourth label. The first network device generates a second forwarding table entry. The second forwarding entry includes a first host address, next hop information, a fourth tag, and a second type SID.
The first network device modifies the next hop information to its own address and generates a fourth route advertisement (e.g., EVPN five-class route) that includes a fourth route that includes the first host address, the next hop information, and the second type SID.
The first network device sends a second route advertisement to the third PE via MP-IBGP protocol.
After receiving the second route advertisement, the third PE obtains and learns the fourth route from the second route advertisement. And the third PE generates a forwarding table item. The forwarding entry includes a first host address, next hop information, and a second type SID.
The third PE modifies the next hop information to its own address and generates a private network route (e.g., IPv4 route) for the first host, which the third PE sends to the first CE, the private network route for the first host including the first host address and the next hop information.
The first CE learns the private network route to the first host.
Optionally, in the embodiment of the present application, the first type SID and the second type SID are prefixes of the SID of the first network device.
The following describes the message processing method provided in the embodiment of the present application in detail. Referring to fig. 5, fig. 5 is a flowchart of another message processing method according to an embodiment of the present application. The method is applied to first network equipment, and the embodiment of the application can be applied to L3VPN, EVPN L3VPN and EVPN L2VPN environments. The message processing method provided by the embodiment of the application can comprise the following steps.
Step 510, receiving, by the MPLS label switching path, a first data packet sent by the second network device, where the first data packet includes a first label.
Specifically, the first network device is in SRv6 network, and the SRv network further includes a first PE. The first PE may be connected to a first CE. The second network device is in an MPLS network, and the MPLS network further includes a fourth PE. The fourth PE may be connected to the second CE.
The fourth PE is only illustrated as an example, avoiding collision with the PE in the subsequent embodiment, and the PE name is not limited in practical application.
In this embodiment of the present application, the second host accessing the second CE sends the original data packet to the first host accessing the first CE.
And after the second CE receives the original data message, the second CE sends the original data message to the fourth PE. After receiving the original data message, the fourth PE searches the local label forwarding table according to the destination address included in the original data message, and obtains the label and the next hop information from the local label forwarding table. The next hop information indicates that the second network device, the outbound label is a fourth label (by way of example only, avoiding collision with the label in the subsequent embodiment, and not limiting the label name in practical applications).
According to the next hop information, the fourth PE encapsulates the fourth label on the outer layer of the original data packet, and encapsulates the fifth label (only for illustration, avoiding collision with the label in the subsequent embodiment, and not limiting the label name in practical application), so as to obtain the encapsulated original data packet.
The fourth label is an MPLS label, and the MPLS label is a private network label; the fifth tag is a public network tag.
And sending the packaged original data message to the second network equipment by the fourth PE through the MPLS label switching path.
And after the second network equipment receives the packaged original data message, acquiring a fourth label from the packaged original data message. And according to the fourth label, obtaining a label forwarding table item corresponding to the fourth label from the local label forwarding table. The second network device obtains next hop information from the tag forwarding table entry and outputs the tag. The next hop information indicates that the next hop information is the first network device, and the outgoing label is the first label.
And the second network equipment strips the fourth label and the fifth label from the packaged original data message to obtain the original data message. And the second network equipment encapsulates the first label on the outer layer of the original data message to obtain the first data message.
The second network device sends a first data message to the first network device through the MPLS label switched path, the first data message including a first label.
The first network device receives a first data message.
In the embodiment of the application, the first network device and the second network device may be specifically autonomous system boundary routers.
Step 520, according to the first label, a first type SID for forwarding the first data packet is obtained.
Specifically, according to the description of step 510, after the first network device obtains a tag from the first data packet, according to the first tag, the first network device obtains a forwarding table entry matching the first tag from the local forwarding table. The first network device obtains the interface, the next hop information and the first type SID from the forwarding table entry.
Wherein the first type SID is specifically an end.t SID.
Step 530, sending a second data packet to the first PE through the SRv tunnel, where the second data packet includes the first type SID, so that the first PE strips the first type SID from the second data packet according to the first type SID, and sends the remaining packets to the CE.
Specifically, the present invention relates to a method for manufacturing a semiconductor device. After the first network device obtains the first type SID, the first tag is stripped from the first data packet to obtain an original data packet according to the description of step 520. And according to the next hop information, the first network equipment encapsulates the IPv6 extension header and the SRH header at the outer layer of the original data message to obtain a second data message.
Wherein the destination address of the IPv6 extension header is the first type SID.
The first network device sends the second data message to the first PE through the SRv tunnel.
After receiving the second data message, the first PE acquires the first type SID from the second data message. And according to the first type SID, after the first PE determines itself as the tail node, the first PE strips the first type SID from the second data message to obtain the original data message. And searching a local forwarding table according to the destination address included in the original data message, and acquiring a forwarding table item matched with the destination address from the local forwarding table. The first PE obtains interface and next hop information from the forwarding table entry. Wherein the next hop information is indicated as the first CE.
The first PE sends the original data message to the first CE. After receiving the original data message, the first CE sends the original data message to a first host corresponding to a destination address included in the original data message according to the destination address.
It should be noted that, in the embodiment of the present application, the association relationship between SRv SID and MPLS label is established by using the end.t type of the existing SID, and in practical application, the SID type, for example, end.m type, may be independently established, and the association relationship between SRv SID and MPLS label is established.
In the embodiment of the application, SRv networking and MPLS networking in the hybrid networking are respectively in different AS domains. Thus, cross-domain message interaction is realized.
Therefore, by applying the message processing method provided by the application, through the MPLS label switching path, the first network equipment receives the first data message sent by the second network equipment, wherein the first data message comprises the first label; according to the first label, the first network device acquires a first type SID used for forwarding a first data message; through a SRv tunnel, the first network device sends a second data message to the first PE, wherein the second data message comprises a first type SID, so that the first PE strips the first type SID from the second data message according to the first type SID, and sends an original data message to the CE; wherein the second network device is within an MPLS networking.
Thus, through establishing the association relation between the MPLS label and the SID, the intercommunication between SRv networking and MPLS networking is realized in the process of forwarding the data message. The configuration of each boundary device is simplified, and the routing resource occupation of the boundary device is saved.
Optionally, before step 510 of the embodiment of the present application, a process of receiving, by the first network device, a route advertisement is further included.
Specifically, after learning the private network route (e.g., IPv4 route) of the first host, the first CE locally establishes a forwarding table entry. The first CE sends a private network route of the first host including the first host address and the next hop information to the first PE. After receiving the private network route of the first host, the first PE learns the private network route of the first host and distributes a first type SID for the private network route. The first PE establishes a forwarding table item locally. The forwarding table entry includes a first host address, next hop information, and a first type SID.
The first PE modifies the next hop information included in the private network route of the first host to its own address and generates a first route advertisement (e.g., VPN-IPv4 route, or EVPN five-type route) that includes the first route including the first host address, the next hop information, and the first type SID.
The first PE sends a first route advertisement to the first network device via the MP-IBGP protocol.
The first network device obtains and learns the first route from the first route announcement after receiving the first route announcement. The first network device assigns an MPLS label, i.e., a first label, for the first route. The first network device establishes an association of the first tag with the first type SID. The first network device locally establishes a first forwarding table entry. The first forwarding entry includes a first host address, next hop information, a first tag, and a first type SID.
The first network device modifies the next hop information included in the first route to its own address and generates a second route advertisement (e.g., a VPN-IPv4 route, or an EVPN five-class route) that includes the second route including the first host address, the next hop information, and the first label.
The first network device sends a second route advertisement to the second network device via the MP-EBGP protocol.
The second network device obtains and learns the second route from the second route advertisement after receiving the second route advertisement. The second network device assigns an MPLS label, i.e., a fourth label, to the second route. The second network device establishes an association relationship between the fourth tag and the first tag. The second network device generates a label forwarding table entry. The label forwarding table entry includes a first host address, next hop information, a first label, and a fourth label.
The second network device modifies the next hop information to its own address and generates a route advertisement (e.g., VPN-IPv4 route, or EVPN five-class route) that includes the private network route of the first host that includes the first host address, the next hop information, and the fourth label.
The second network device sends route advertisement to the fourth PE through MP-IBGP protocol.
And after receiving the route notification, the fourth PE acquires and learns the private network route of the first host. The fourth PE generates a forwarding table entry. The forwarding table entry includes a first host address, next hop information, and a fourth tag.
The fourth PE modifies the next hop information to its own address and generates a private network route (e.g., VPN-IPv4 route) for the first host, which includes the first host address and the next hop information, and sends the private network route of the first host to the second CE.
The second CE learns the private network route to the first host.
Optionally, in the embodiment of the present application, the method further includes a process that the hybrid networking is located in an AS domain, so AS to implement interworking between SRv networking and MPLS networking.
Specifically, the first network device is at SRv networking edge and MPLS networking edge, the second PE is within MPLS networking, and the third PE is within SRv networking. The first CE is accessed to the second PE, and the second CE is accessed to the third PE.
In this embodiment of the present application, a first host accessing a first CE sends an original data packet to a second host accessing a second CE.
And after the first CE receives the original data message, the first CE sends the original data message to the second PE. After receiving the original data message, the second PE searches the local label forwarding table according to the destination address included in the original data message, and obtains the label and the next hop information from the local label forwarding table. The next hop information indicates the first network device, and the outbound label is a second label.
And according to the next hop information, the second PE firstly encapsulates the second label on the outer layer of the original data message, and then encapsulates the third label to obtain a third data message.
The second label is an MPLS label, and the MPLS label is a private network label; the third label is a public network label.
And the second PE sends a third data message to the first network equipment through the MPLS label switching path.
And after the first network equipment receives the third data message, acquiring a second label from the third data message. And according to the second label, acquiring a forwarding table item matched with the second label from the local forwarding table. The first network device obtains the interface, the next hop information and the second type SID from the forwarding table entry.
Wherein the second type SID is specifically an end.dt4sid.
And after the first network equipment acquires the first type SID, the second label and the third label are stripped from the third data message to obtain an original data message. And according to the next hop information, the first network equipment encapsulates the IPv6 extension header and the SRH header at the outer layer of the original data message to obtain a fourth data message.
Wherein the destination address of the IPv6 extension header is the second type SID.
And the first network equipment sends a fourth data message to the third PE through the SRv tunnel.
And after the third PE receives the fourth data message, the second type SID is obtained from the fourth data message. Based on the second type SID, the third PE determines itself as the tail node. And the third PE strips the second type SID from the fourth data message to obtain the original data message. And according to the destination address included in the original data message, the third PE searches a local forwarding table, and acquires a forwarding table item matched with the destination address from the local forwarding table. And the third PE acquires the interface and the next hop information from the forwarding table entry. Wherein the next hop information is indicated as the second CE.
And the third PE sends the original data message to the second CE. After receiving the original data message, the second CE sends the original data message to a second host corresponding to the destination address according to the destination address included in the original data message.
In the embodiment of the present application, SRv networking and MPLS networking in the hybrid networking are respectively in the same AS domain. Thus, the cross-networking message interaction is realized.
Optionally, in the embodiment of the present application, the method further includes a process of implementing interworking between SRv networking and MPLS networking by the hybrid networking in the same AS domain.
Specifically, after learning the private network route (e.g., IPv4 route) of the second host, the second CE locally establishes a forwarding table entry. The second CE sends a private network route of the second host including the second host address and the next hop information to the third PE.
After receiving the private network route of the second host, the third PE learns the private network route of the second host and distributes a second type SID for the private network route. The third PE establishes a forwarding table item locally. The forwarding entry includes a second host address, next hop information, and a second type SID.
The third PE modifies the next hop information included in the private network route of the second host to its own address and generates a third route advertisement (e.g., EVPN five-class route) that includes a third route that includes the second host address, the next hop information, and the second type SID.
The third PE sends a third route advertisement to the first network device via the MP-IBGP protocol.
The first network device obtains and learns the third route from the third route advertisement after receiving the third route advertisement. The first network device assigns an MPLS label, i.e. a second label, for the third route. The first network device establishes an association of the second tag with the second type SID. The first network device locally establishes a second forwarding table entry. The second forwarding table entry includes a second host address, next hop information, a second tag, and a second type SID.
The first network device modifies the next hop information included in the third route to its own address and generates a fourth route advertisement (e.g., VPN-IPv4 route) that includes a fourth route that includes the second host address, the next hop information, and the second label.
The first network device sends a fourth route advertisement to the second PE via the MP-IBGP protocol.
And after receiving the fourth route notification, the second PE acquires and learns the private network route of the second host. The second PE generates a label forwarding table entry. The label forwarding table entry includes a second host address, next hop information, and a second label.
The second PE modifies the next hop information to its own address and generates a private network route (e.g., VPN-IPv4 route) for the second host, which sends the private network route for the second host, including the second host address and the next hop information, to the first CE.
The first CE learns the private network route to the second host.
The following describes the message processing method provided in the embodiment of the present application in detail. Referring to fig. 6, fig. 6 is a schematic networking diagram of implementing a message processing method in a hybrid networking according to an embodiment of the present application.
In fig. 6, PE1, ASBR1 is within the MPLS network, and PE2, ASBR2 is within the SRv network. CE1 is connected to PE1 and CE2 is connected to PE2. The first host accesses CE1 and the second host accesses CE2. The MPLS network and SRv network are respectively in different AS domains.
After the CE1 and the CE2 learn the private network routes of the host respectively, the private network routes of the host are issued in the networking.
Taking CE2 learning as an example, private network routing to the first host is described.
After learning the private network route (e.g., IPv4 route) of the first host, CE1 locally establishes a forwarding table entry. The CE1 sends a private network route of the first host including the first host address and the next hop information to the PE 1. After receiving the private network route of the first host, the PE1 learns the private network route of the first host and distributes an MPLS label, namely L1, for the private network route. PE1 builds label forwarding table entries locally. The label forwarding table entry includes a first host address, next hop information, and L1.
The PE1 modifies the next hop information included in the private network route of the first host to its own address and generates a first route advertisement (e.g., VPN-IPv4 route, or EVPN five-class route) that includes the private network route of the first host including the first host address, the next hop information, and L1.
Through the MP-IBGP protocol, PE1 sends a first route advertisement to ASBR 1.
After receiving the first route announcement, ASBR1 obtains and learns the private network route of the first host. ASBR1 assigns an MPLS label, L2, to the private network route. ASBR1 establishes the association of L2 and L1. ASBR1 builds the tag forwarding table entry locally. The label forwarding table entry includes a first host address, next hop information, L2, and L1.
ASBR1 modifies the next hop information included in the private network route of the first host to its own address and generates a second route advertisement (e.g., VPN-IPv4 route, or EVPN five-class route) that includes the first host address, the next hop information, and L2.
ASBR1 sends a second route advertisement to ASBR2 via the MP-EBGP protocol.
After receiving the second route announcement, ASBR2 obtains and learns the private network route of the first host. ASBR2 distributes the SID of the End.T type for the route, and establishes the association relation between the SID of the End.T type and L2. ASBR2 builds forwarding entries locally. The forwarding table entry includes a first host address, next hop information, L2, and SID of end.t type.
ASBR2 modifies the next hop information to its own address and generates a third route advertisement (e.g., VPN-IPv4 route, or EVPN five-class route) that includes the private network route of the first host that includes the first host address, the next hop information, and the SID of the end.t type.
ASBR2 sends a third route advertisement to PE2 via MP-IBGP protocol.
And after receiving the third route notification, the PE2 acquires and learns the private network route of the first host. PE2 builds forwarding entries locally. The forwarding entry includes a first host address, next hop information, and SID of an end.t type.
The PE2 modifies the next hop information to its own address and generates a private network route (e.g., VPN-IPv4 route) for the first host, the PE2 sending the private network route for the first host to the CE2, the private network route for the first host including the first host address and the next hop information.
CE2 learns the private network route to the first host.
In contrast to the above procedure, CE2 issues a private network route to the second host, and CE1 learns the private network route to the second host, which is only briefly described herein.
After learning the private network route (e.g., IPv4 route) of the second host, CE2 establishes a forwarding table locally. The CE2 sends a private network route of the second host including the second host address and the next hop information to the PE 2. After receiving the private network route of the second host, the PE2 learns the private network route of the second host and assigns an end.T type SID to the private network route. PE2 builds forwarding entries locally. The forwarding entry includes the second host address, next hop information, and SID of the end.t type.
The PE2 modifies the next hop information included in the private network route of the second host to its own address and generates a first route advertisement (e.g., VPN-IPv4 route, or EVPN five-class route) that includes the second host address, the next hop information, and the end.t-type SID.
PE2 sends a first route advertisement to ASBR2 via the MP-IBGP protocol.
After receiving the first route announcement, ASBR2 obtains and learns the private network route of the second host. ASBR2 assigns an MPLS label, L2, to the private network route of the second host. ASBR2 establishes an association of L2 with SID of end.t type. ASBR2 builds forwarding entries locally. The forwarding entry includes the second host address, next hop information, L2, and SID of the end.t type.
ASBR2 modifies the next hop information included in the first route advertisement to its own address and generates a second route advertisement (e.g., VPN-IPv4 route, or EVPN five-class route) that advertises the second host address, the next hop information, and L2.
ASBR2 sends a second route advertisement to ASBR1 via the MP-EBGP protocol.
After receiving the second route announcement, ASBR1 obtains and learns the private network route of the second host. ASBR1 assigns an MPLS label, L1, to the private network route of the second host. ASBR1 establishes the association of L1 and L2.ASBR 1 builds the tag forwarding table entry locally. The label forwarding table entry includes a second host address, next hop information, L2, and L1.
ASBR1 modifies the next hop information to its own address and generates a third route advertisement (e.g., VPN-IPv4 route, or EVPN five-class route) that includes the private network route of the second host that includes the first host address, the next hop information, and L1.
ASBR1 sends a third route advertisement to PE1 via the MP-IBGP protocol.
After receiving the third route announcement, the PE1 obtains and learns the private network route of the second host. PE1 builds forwarding entries locally. The forwarding table entry includes a second host address, next hop information, and L1.
PE1 modifies the next hop information to its own address and generates a private network route (e.g., VPN-IPv4 route) for the second host, PE1 sending the private network route for the second host to CE1, the private network route for the first host including the second host address and the next hop information.
CE1 learns the private network route to the second host.
After each network device in the hybrid networking learns the private network route of the host, the first host and the second host can realize cross-domain message interaction.
Taking the second host sending the data message to the first host as an example for explanation.
And after receiving the original data message sent by the second host, the CE2 sends the original data message to the PE 2. After receiving the original data message, the PE2 searches the local forwarding table entry according to the destination address included in the original data message, and obtains the interface and the next hop information from the local forwarding table entry. The next hop information indicates ASBR2.
And according to the next hop information, the PE2 encapsulates the IPv6 extension header and the SRH header at the outer layer of the original data message to obtain a first data message. The first data message includes an end.t type SID.
The destination address of the IPv6 extension header is the SID of the end.T type.
And through the SRv tunnel, the PE2 sends the first data message to the ASBR 2.
After the ASBR2 acquires the SID of the end.t type from the first data packet, the ASBR2 acquires a forwarding entry matching the SID of the end.t type from the local forwarding table according to the SID of the end.t type. ASBR2 obtains L2 from the forwarding table entry.
After the ASBR2 acquires the L2, the IPv6 extension header and the SRH header are stripped from the first data packet, so as to obtain an original data packet. And the ASBR2 encapsulates the L2 on the outer layer of the original data message to obtain a second data message.
Through the MPLS label switched path, ASBR2 sends a second data message to ASBR1, the second data message comprising L2.
After receiving the second data message, ASBR1 obtains L2 therefrom. And according to the L2, acquiring a label forwarding table item corresponding to the L2 from the local label forwarding table. ASBR1 obtains next hop information from the tag forwarding table entry and out of the tag. The next hop information is indicated as PE1, and the outgoing label is L1.
And the ASBR1 strips the L1 from the second data message to obtain an original data message. The ASBR1 encapsulates L1 at the outer layer of the original data message, and encapsulates LY to obtain a third data message. Wherein LY is public network label.
Through the MPLS label switched path, ASBR1 sends a third data packet to PE1, the third data packet including L1 and LY.
And after the PE1 receives the third data message, L1 and LY are obtained from the third data message. And according to the L1, after the PE1 determines that the PE1 is a tail node, the PE1 strips the L1 and LY from the third data message to obtain an original data message. And searching a local forwarding table according to the destination address included in the original data message, and acquiring a forwarding table item matched with the destination address from the local forwarding table. And the PE1 acquires the interface and the next hop information from the forwarding table entry. Wherein the next hop information is indicated as CE1.
PE1 sends the original data message to CE1. After receiving the original data message, the CE1 sends the original data message to a first host corresponding to the destination address according to the destination address included in the original data message.
In contrast to the above procedure, the first host may also send a data message to the second host, which is only briefly described herein.
After receiving the original data message sent by the first host, the CE1 sends the original data message to the PE 1. After receiving the original data message, the PE1 searches a local label forwarding table according to a destination address included in the original data message, and obtains a label and next hop information from the local label forwarding table. The next hop information indicates ASBR1, with an outgoing label of L1.
According to the next hop information, the PE1 firstly encapsulates L1 at the outer layer of the original data message, and then encapsulates LY to obtain a first data message. Wherein LY is public network label.
And through the MPLS label switching path, the PE1 sends a first data message to the ASBR 1.
After receiving the first data message, the ASBR1 obtains L1 from the first data message. And according to the L1, acquiring a label forwarding table item corresponding to the L1 from the local label forwarding table. ASBR1 obtains next hop information from the tag forwarding table entry and out of the tag. The next hop information is indicated as ASBR2, and the outgoing label is L2.
And the ASBR1 strips L1 and LY from the first data message to obtain an original data message. And the ASBR1 encapsulates L2 at the outer layer of the original data message to obtain a second data message.
Through the MPLS label switched path, ASBR1 sends a second data message to ASBR2, the second data message comprising L2.
ASBR2 receives the second data message.
After the ASBR2 acquires L2 from the second data packet, according to L2, the ASBR1 acquires a forwarding table entry matching with L2 from the local forwarding table. ASBR2 obtains the interface, next hop information, and end.t type SID from the forwarding table entry.
After the ASBR2 acquires the end.t type SID, the L2 is stripped from the second data packet, and the original data packet is obtained. And according to the next hop information, the ASBR2 encapsulates the IPv6 extension header and the SRH header at the outer layer of the original data message to obtain a third data message.
Wherein the destination address of the IPv6 extension header is the first type SID.
And through the SRv tunnel, ASBR2 sends a third data message to PE 2.
And after the PE2 receives the third data message, acquiring the SID of the end.T type from the third data message. And according to the SID of the end.T type, the PE2 determines the SID as a tail node, and then the PE2 strips the SID of the end.T type from the third data message to obtain an original data message. And searching a local forwarding table according to the destination address included in the original data message, and acquiring a forwarding table item matched with the destination address from the local forwarding table. And the PE2 acquires interface and next hop information from the forwarding table entry. Wherein the next hop information is indicated as CE2.
PE2 sends the original data message to CE2. After receiving the original data message, the CE2 sends the original data message to a second host corresponding to the destination address according to the destination address included in the original data message.
In the embodiment of the application, SRv networking and MPLS networking in the hybrid networking are respectively in different AS domains. Thus, cross-domain message interaction is realized.
The following describes the message processing method provided in the embodiment of the present application in detail. Referring to fig. 7, fig. 7 is a schematic diagram of a networking diagram for implementing a message processing method in a hybrid networking according to another embodiment of the present application.
In fig. 7, PE2 is at the edge of the MPLS network and SRv6 network. PE1 is in the MPLS network and PE3 is in the SRv network. CE1 is connected to PE1 and CE2 is connected to PE3. The first host accesses CE1 and the second host accesses CE2.MPLS networking is within the same AS domain AS SRv networking.
After the CE1 and the CE2 learn the private network routes of the host respectively, the private network routes of the host are issued in the networking.
Taking CE2 learning as an example, private network routing to the first host is described.
After learning the private network route (e.g., IPv4 route) of the first host, CE1 locally establishes a forwarding table entry. The CE1 sends a private network route of the first host including the first host address and the next hop information to the PE 1.
After receiving the private network route of the first host, the PE1 learns the private network route of the first host and distributes an MPLS label, namely L1, for the private network route. PE1 builds label forwarding table entries locally. The label forwarding table entry includes a first host address, next hop information, and L1.
The PE1 modifies next hop information included in the private network route of the first host to its own address and generates a first route advertisement (e.g., VPN-IPv4 route) including the first host address, the next hop information, and L1.
PE1 sends a first route advertisement to PE2 over the MP-IBGP protocol.
After receiving the first route announcement, the PE2 obtains and learns the private network route of the first host. PE2 distributes the SID of End.DT4 type for the private network route of the first host, and establishes the association relation between the SID of End.DT4 type and L1. PE2 builds forwarding entries locally. The forwarding table entry includes a first host address, next hop information, L1, and SID of end.dt4 type.
PE2 modifies the next hop information to its own address and generates a second route advertisement (e.g., EVPN five-class route) that includes the first host address, the next hop information, and the end.dt4 type SID.
PE2 sends a second route advertisement to PE3 over the MP-IBGP protocol.
After receiving the second route announcement, the PE3 obtains and learns the private network route of the first host. PE3 builds forwarding entries locally. The forwarding table entry includes a first host address, next hop information, and SID of end.dt4 type.
PE3 modifies the next hop information to its own address and generates a private network route (e.g., IPv4 route) for the first host, PE3 sending the private network route for the first host, including the first host address and the next hop information, to CE 2.
CE2 learns the private network route to the first host.
In contrast to the above procedure, CE2 issues a private network route to the second host, and CE1 learns the private network route to the second host, which is only briefly described herein.
After learning the private network route (e.g., IPv4 route) of the second host, CE2 establishes a forwarding table locally. The CE2 sends a private network route of the second host including the second host address and the next hop information to the PE 3.
After receiving the private network route of the second host, the PE3 learns the private network route of the second host and distributes an end.DT4 type SID for the private network route. PE3 builds forwarding entries locally. The forwarding entry includes the second host address, next hop information, and SID of the end.dt4 type.
The PE3 modifies the next hop information included in the private network route of the second host to its own address and generates a first route advertisement (e.g., EVPN five-class route) that includes the second host address, the next hop information, and the end.dt4 type SID.
PE3 sends a first route advertisement to PE2 over the MP-IBGP protocol.
After receiving the first route announcement, the PE2 acquires and learns the private network route of the second host. PE2 assigns an MPLS label, L1, to the private network route of the second host. PE2 establishes an association of L1 with the SID of the End.DT4 type. PE2 builds forwarding entries locally. The forwarding table entry includes the second host address, next hop information, L1, and SID of end.dt4 type.
The PE2 modifies the next hop information included in the first route advertisement to its own address and generates a second route advertisement (e.g., VPN-IPv4 route) that includes the second host address, the next hop information, and L1.
PE1 sends a second route advertisement to PE1 over the MP-IBGP protocol.
After receiving the second route announcement, the PE1 obtains and learns the private network route of the second host. PE1 establishes a local forwarding table entry locally. The local forwarding entry includes a second host address, next hop information, and L1.
The PE1 modifies the next hop information to its own address and generates a private network route (e.g., VPN-IPv4 route) for the second host, the PE1 sending the private network route for the second host to the CE1, the private network route for the second host including the second host address and the next hop information.
CE1 learns the private network route to the second host.
After each network device in the hybrid networking learns the private network route of the host, the first host and the second host can realize cross-domain message interaction.
Taking the second host sending the data message to the first host as an example for explanation.
And after receiving the original data message sent by the second host, the CE2 sends the original data message to the PE 3. After receiving the original data message, the PE3 searches the local forwarding table entry according to the destination address included in the original data message, and obtains the interface and the next hop information from the local forwarding table entry. The next hop information indicates PE2.
And according to the next hop information, the PE3 encapsulates the IPv6 extension header and the SRH header at the outer layer of the original data message to obtain a first data message. The first data message includes an end.dt4 type SID. Wherein the destination address of the IPv6 extension header is the second type SID.
And through the SRv tunnel, the PE3 sends the first data message to the PE 2.
After receiving the first data message, the PE2 acquires the SID of the End.DT4 type from the first data message. Based on the end.dt4 type SID, PE2 obtains from the local forwarding table a forwarding entry that matches the end.dt4 type SID. PE2 obtains L1 from the forwarding table entry.
After the PE2 acquires the L1, the IPv6 extension header and the SRH header are stripped from the first data message, and an original data message is obtained. And the PE2 encapsulates the L1 at the outer layer of the original data message, and encapsulates LY to obtain a second data message. Wherein LY is public network label.
Through the MPLS label switching path, PE2 sends a second data packet to PE1, the second data packet including L1 and LY.
After receiving the second data packet, the PE1 obtains L1 and LY therefrom. And according to the L1, after the PE1 determines that the PE1 is a tail node, the PE1 strips the L1 and LY from the second data message to obtain an original data message. According to the destination address included in the original data message, searching a local label forwarding table, and acquiring a label forwarding table item matched with the destination address from the local label forwarding table. And the PE1 acquires interface and next hop information from the label forwarding table item. Wherein the next hop information is indicated as CE1.
PE1 sends the original data message to CE 1. After receiving the original data message, the CE1 sends the original data message to a second host corresponding to the destination address according to the destination address included in the original data message.
In contrast to the above procedure, the first host may also send a data message to the second host, which is only briefly described herein.
After receiving the original data message sent by the first host, the CE1 sends the original data message to the PE 1. After receiving the original data message, the PE1 searches a local label forwarding table according to a destination address included in the original data message, and obtains a label and next hop information from the local label forwarding table. The next hop information indicates PE2, with an outgoing label L1.
According to the next hop information, the PE1 firstly encapsulates L1 at the outer layer of the original data message, and then encapsulates LY to obtain a first data message. Wherein LY is public network label.
And through the MPLS label switching path, the PE1 sends a first data message to the PE 2.
And after the PE2 receives the first data message, obtaining L1 from the first data message. And according to the L1, acquiring a forwarding table item matched with the L1 from the local forwarding table. PE2 obtains the interface, next hop information, and end.DT4 type SIDs from the forwarding table entry.
After the PE2 acquires the SID of the end.DT4 type, the L1 and LY are stripped from the first data message to obtain an original data message. And according to the next hop information, the PE2 encapsulates the IPv6 extension header and the SRH header at the outer layer of the original data message to obtain a second data message.
The destination address of the IPv6 extension head is the SID of the end.DT4 type.
And through the SRv tunnel, the PE2 sends the second data message to the PE 3.
After receiving the second data packet, PE3 obtains the end.dt4 type SID therefrom. From the SID of the end.dt4 type, PE3 determines itself as the tail node. And the PE3 strips the end.DT4 type SID from the second data message to obtain an original data message. And according to the destination address included in the original data message, the PE3 searches a local forwarding table, and acquires a forwarding table item matched with the destination address from the local forwarding table. And the PE3 acquires interface and next hop information from the forwarding table entry. Wherein the next hop information is indicated as CE2.
PE3 sends the original data message to CE2. After receiving the original data message, the CE2 sends the original data message to a second host corresponding to the destination address according to the destination address included in the original data message.
In the embodiment of the application, SRv networking and MPLS networking in the hybrid networking are in an AS domain. Thus, the cross-networking message interaction is realized.
Based on the same inventive concept, the embodiment of the application also provides a message processing device corresponding to the message processing method. Referring to fig. 8, fig. 8 is a block diagram of a message processing apparatus according to an embodiment of the present application. The apparatus is applied to a first network device, the first network device is in SRv network, the SRv network further includes a first PE, and the apparatus includes:
a receiving unit 810, configured to receive, through a SRv tunnel, a first data packet sent by the first PE, where the first data packet includes a first type SID;
an obtaining unit 820, configured to obtain a first label for forwarding the first data packet according to the first type SID;
a sending unit 830, configured to send a second data packet to a second network device through an MPLS label switching path, where the second data packet includes the first label, so that the second network device obtains, according to the first label, a second label and a third label for forwarding the second data packet, and sends a third data packet to a second PE, where the third data packet includes the second label and the third label;
and the second network equipment and the second PE are both positioned in the MPLS network.
Optionally, the receiving unit 810 is further configured to receive a first route announcement sent by the second network device, where the first route announcement includes a first route, and the first route includes a host address, next hop information, and the first label;
the apparatus further comprises: a setting unit (not shown in the figure) configured to modify the next hop information into an address of the first router, and allocate the first type SID to the first router, so as to set up an association relationship between the first type SID and the first label;
a generating unit (not shown in the figure) configured to generate a first forwarding table entry corresponding to the first route according to the host address, the modified next hop information, the first type SID, and the first tag;
the sending unit 830 is further configured to send a second route advertisement to the first PE, where the second route advertisement includes a second route, and the second route includes the host address, modified next hop information, and the first type SID.
Optionally, the first network device is at SRv networking edge and MPLS networking edge;
the receiving unit 810 is further configured to receive, through the SRv tunnel, a third data packet sent by a third PE, where the third data packet includes a second type SID;
The obtaining unit 820 is further configured to obtain a fourth tag and a fifth tag for forwarding the first data packet according to the second type SID;
the sending unit 830 is further configured to send a fourth data packet to a fourth PE through an MPLS label switching path, where the fourth data packet includes the fourth label and a fifth label, so that after determining that a next hop is a CE according to the fourth label, the fourth label and the fifth label are stripped from the fourth data packet, and send a remaining packet to the CE;
the third PE is in SRv network, and the fourth PE is in MPLS network.
Optionally, the receiving unit 810 is further configured to receive a third route advertisement sent by the fourth PE, where the third route advertisement includes a third route, and the third route includes a host address, next hop information, and the fourth label;
the establishing unit (not shown in the figure) is further configured to modify the next hop information into an address of the first router, and allocate the second type SID to the third route, so as to establish an association relationship between the second type SID and the fourth tag;
The generating unit (not shown in the figure) is further configured to generate a second forwarding table entry corresponding to the third route according to the host address, the modified next hop information, the second type SID, and the fourth tag;
the sending unit 830 is further configured to send a fourth route advertisement to the third PE, where the fourth route advertisement includes a fourth route, and the fourth route includes the host address, modified next hop information, and the second type SID.
Optionally, the first type SID and the second type SID are prefixes of SIDs of the first network device.
Therefore, by applying the message processing device provided by the application, through the SRv tunnel, the first network device receives the first data message sent by the first PE, and the first data message comprises the first type SID; according to the first type SID, the first network equipment acquires a first label for forwarding a first data message; through the MPLS label switching path, the first network device sends a second data message to the second network device, wherein the second data message comprises a first label, so that the second network device obtains a second label and a third label for forwarding the second data message according to the first label, and sends a third data message to the second PE, and the third data message comprises the second label and the third label; the second network equipment and the second PE are both in the MPLS network.
Thus, through establishing the association relation between the MPLS label and the SID, the intercommunication between SRv networking and MPLS networking is realized in the process of forwarding the data message. The configuration of each boundary device is simplified, and the routing resource occupation of the boundary device is saved.
Based on the same inventive concept, the embodiment of the application also provides a message processing device corresponding to the message processing method. Referring to fig. 9, fig. 9 is a block diagram of another message processing apparatus according to an embodiment of the present application. The apparatus is applied to a first network device, the first network device is in SRv network, the SRv network further includes a first PE, and the apparatus includes:
a receiving unit 910, configured to receive, through an MPLS label switching path, a first data packet sent by a second network device, where the first data packet includes a first label;
an obtaining unit 920, configured to obtain, according to the first tag, a first type SID for forwarding the first data packet;
a sending unit 930, configured to send, through a SRv tunnel, a second data packet to the first PE, where the second data packet includes the first type SID, so that the first PE strips the first type SID from the second data packet according to the first type SID, and sends an original data packet to a CE;
Wherein the second network device is in MPLS network
Optionally, the receiving unit 910 is further configured to receive a first route advertisement sent by the first PE, where the first route advertisement includes a first route, and the first route includes a host address, next hop information, and the first type SID;
the apparatus further comprises: a building unit (not shown in the figure) configured to modify the next hop information into an address of the first network device, and allocate the first label to the first route, so as to build an association relationship between the first label and the first type SID;
a generating unit (not shown in the figure) for generating a first forwarding table entry corresponding to the first route according to the host address, the modified next hop information, the first tag, and the first type SID;
the sending unit 930 is further configured to send a second route advertisement to the second network device, where the second route advertisement includes a second route, and the second route includes the host address, the modified next hop information, and the first label.
Optionally, the first network device is at SRv networking edge and MPLS networking edge;
The receiving unit 910 is further configured to advertise the MPLS label switching path, and receive a third data packet sent by a second PE, where the second data packet includes a second label and a third label;
the obtaining unit 920 is further configured to obtain, according to the second tag, a second type SID for forwarding the first data packet;
the sending unit 930 is further configured to send, through the SRv tunnel, a fourth data packet to a third PE, where the fourth data packet includes the second type SID, so that the third PE strips the second type SID from the fourth data packet according to the second type SID, and sends an original data packet to a CE;
wherein the third PE is in MPLS networking.
Optionally, the receiving unit 910 is further configured to receive a third route advertisement sent by the third PE, where the third route advertisement includes a third route, and the third route includes a host address, next hop information, and the second type SID;
the establishing unit (not shown in the figure) is further configured to modify the next hop information into an address of the first network device, and allocate the second label to the third route, so as to establish an association relationship between the second label and the second type SID;
The generating unit (not shown in the figure) is further configured to generate a second forwarding table entry corresponding to the second route according to the host address, the modified next hop information, the second tag, and the second type SID;
the sending unit 930 is further configured to send a fourth route advertisement to the second PE, where the fourth route advertisement includes a fourth route, and the fourth route includes the host address, the modified next hop information, and the second label.
Optionally, the first type SID is a prefix of the SID of the first PE;
the second type SID is a prefix of the SID of the third PE.
Therefore, by applying the message processing method provided by the application, through the MPLS label switching path, the first network equipment receives the first data message sent by the second network equipment, wherein the first data message comprises the first label; according to the first label, the first network device acquires a first type SID used for forwarding a first data message; through a SRv tunnel, the first network device sends a second data message to the first PE, wherein the second data message comprises a first type SID, so that the first PE strips the first type SID from the second data message according to the first type SID, and sends an original data message to the CE; wherein the second network device is within an MPLS networking.
Thus, through establishing the association relation between the MPLS label and the SID, the intercommunication between SRv networking and MPLS networking is realized in the process of forwarding the data message. The configuration of each boundary device is simplified, and the routing resource occupation of the boundary device is saved.
Based on the same inventive concept, the embodiment of the present application further provides a network device, as shown in fig. 10, including a processor 1010, a transceiver 1020, and a machine-readable storage medium 1030, where the machine-readable storage medium 1030 stores machine-executable instructions capable of being executed by the processor 1010, and the processor 1010 is caused by the machine-executable instructions to perform the packet processing method provided by the embodiment of the present application. The message processing apparatus shown in fig. 8 and 9 may be implemented by using a hardware structure of a network device as shown in fig. 10.
The computer readable storage medium 1030 may include a random access Memory (in english: random Access Memory, abbreviated as RAM) or a nonvolatile Memory (in english: non-volatile Memory, abbreviated as NVM), such as at least one magnetic disk Memory. Optionally, the computer readable storage medium 1030 may also be at least one storage device located remotely from the processor 1010.
The processor 1010 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (English: digital Signal Processor; DSP; for short), an application specific integrated circuit (English: application Specific Integrated Circuit; ASIC; for short), a Field programmable gate array (English: field-Programmable Gate Array; FPGA; for short), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
In this embodiment, processor 1010 is enabled to implement the processor 1010 itself and to invoke transceiver 1020 to perform the message processing method described in the previous embodiment of the present application by reading the machine executable instructions stored in machine readable storage medium 1030.
Additionally, the present embodiments provide a machine-readable storage medium 1030, the machine-readable storage medium 1030 storing machine-executable instructions that, when invoked and executed by the processor 1010, cause the processor 1010 itself, as well as the invocation transceiver 1020, to perform the message processing methods described in the previous embodiments of the present application.
The implementation process of the functions and roles of each unit in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present application. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
For the message processing apparatus and the machine-readable storage medium embodiments, since the method content related thereto is substantially similar to the method embodiments described above, the description is relatively simple, and the relevant points are referred to in the description of the method embodiments.
The foregoing description of the preferred embodiments of the present invention is not intended to limit the invention to the precise form disclosed, and any modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method for processing a message, wherein the method is applied to a first network device, the first network device is in a SRv group network, the SRv group network further includes a first PE, and the method includes:
receiving a first data message sent by the first PE through a SRv tunnel, wherein the first data message comprises a first type SID;
acquiring a first label for forwarding the first data message according to the first type SID;
sending a second data message to a second network device through an MPLS label switching path, wherein the second data message comprises the first label, so that the second network device obtains a second label and a third label for forwarding the second data message according to the first label, and sends a third data message to a second PE, and the third data message comprises the second label and the third label;
wherein, the second network device and the second PE are both in MPLS network; the MPLS networking and the SRv6 networking are in different AS domains, and the first type SID is the SID of an end.T type;
wherein, before receiving the first data packet sent by the first PE through the SRv6 tunnel, the method further includes:
Receiving a first route announcement sent by the second network device, wherein the first route announcement comprises a first route, and the first route comprises a host address, next hop information and the first label;
modifying the next hop information into an address of the first network device, distributing the first type SID for the first route, and establishing an association relation between the first type SID and the first label;
generating a first forwarding table item corresponding to the first route according to the host address, the modified next hop information, the first type SID and the first label;
and sending a second route announcement to the first PE, wherein the second route announcement comprises a second route, and the second route comprises the host address, modified next hop information and the first type SID.
2. The method of claim 1, wherein the first network device is at SRv networking edge and MPLS networking edge; the method further comprises the steps of:
receiving a third data message sent by a third PE through the SRv tunnel, wherein the third data message comprises a second type SID;
acquiring a fourth label and a fifth label for forwarding the first data message according to the second type SID;
Sending a fourth data message to a fourth PE through an MPLS label switching path, wherein the fourth data message comprises a fourth label and a fifth label, so that after determining that the next hop is CE according to the fourth label, the fourth label and the fifth label are stripped from the fourth data message, and the rest message is sent to the CE;
the third PE is in SRv network, and the fourth PE is in MPLS network.
3. The method of claim 2, wherein prior to receiving the third data packet sent by the third PE through the SRv tunnel, the method further comprises:
receiving a third route announcement sent by the fourth PE, wherein the third route announcement comprises a third route, and the third route comprises a host address, next hop information and the fourth label;
modifying the next hop information into the address of the first router, distributing the second type SID for the third route, and establishing the association relation between the second type SID and the fourth label;
generating a second forwarding table entry corresponding to the third route according to the host address, the modified next hop information, the second type SID and the fourth tag;
And sending a fourth route announcement to the third PE, wherein the fourth route announcement comprises a fourth route, and the fourth route comprises the host address, modified next hop information and the second type SID.
4. The method of claim 3, wherein the first type SID, the second type SID are prefixes of the SID of the first network device.
5. A method for processing a message, wherein the method is applied to a first network device, the first network device is in a SRv group network, the SRv group network further includes a first PE, and the method includes:
receiving a first data message sent by second network equipment through an MPLS label switching path, wherein the first data message comprises a first label;
acquiring a first type SID used for forwarding the first data message according to the first label;
sending a second data message to the first PE through a SRv tunnel, wherein the second data message comprises the first type SID, so that the first PE strips the first type SID from the second data message according to the first type SID, and sends an original data message to a CE;
Wherein the second network device is in an MPLS networking; the MPLS networking and the SRv6 networking are in different AS domains, and the first type SID is the SID of an end.T type;
before receiving the first data packet sent by the second network device through the MPLS label switching path, the method further includes:
receiving a first route announcement sent by the first PE, wherein the first route announcement comprises a first route, and the first route comprises a host address, next hop information and the first type SID;
modifying the next hop information into an address of the first network device, distributing the first label for the first route, and establishing an association relation between the first label and the first type SID;
generating a first forwarding table item corresponding to the first route according to the host address, the modified next hop information, the first tag and the first type SID;
and sending a second route announcement to the second network device, wherein the second route announcement comprises a second route, and the second route comprises the host address, modified next hop information and the first label.
6. The method of claim 5, wherein the first network device is at SRv networking edge and MPLS networking edge; the method further comprises the steps of:
Advertising the MPLS label switching path, and receiving a third data message sent by a second PE, wherein the second data message comprises a second label and a third label;
acquiring a second type SID used for forwarding the first data message according to the second label;
sending a fourth data message to a third PE through the SRv tunnel, wherein the fourth data message comprises the second type SID, so that the third PE strips the second type SID from the fourth data message according to the second type SID, and sends an original data message to a CE;
wherein the third PE is in MPLS networking.
7. The method of claim 6, wherein the advertising the MPLS label switched path, prior to receiving the third data packet sent by the second PE, further comprises:
receiving a third route announcement sent by the third PE, wherein the third route announcement comprises a third route, and the third route comprises a host address, next hop information and the second type SID;
modifying the next hop information into an address of the first network device, distributing the second label for the third route, and establishing an association relationship between the second label and the second type SID;
Generating a second forwarding table entry corresponding to the second route according to the host address, the modified next hop information, the second label and the second type SID;
and sending a fourth route announcement to the second PE, wherein the fourth route announcement comprises a fourth route, and the fourth route comprises the host address, modified next hop information and the second label.
8. The method of claim 7, wherein the first type SID is a prefix of a SID of the first PE;
the second type SID is a prefix of the SID of the third PE.
9. A message processing apparatus, wherein the apparatus is applied to a first network device, the first network device is in a SRv group network, the SRv group network further includes a first PE, and the apparatus includes:
a receiving unit, configured to receive, through a SRv tunnel, a first data packet sent by the first PE, where the first data packet includes a first type SID;
the acquisition unit is used for acquiring a first label for forwarding the first data message according to the first type SID;
a sending unit, configured to send a second data packet to a second network device through an MPLS label switching path, where the second data packet includes the first label, so that the second network device obtains, according to the first label, a second label and a third label for forwarding the second data packet, and sends a third data packet to a second PE, where the third data packet includes the second label and the third label;
Wherein, the second network device and the second PE are both in MPLS network; the MPLS networking and the SRv6 networking are in different AS domains, and the first type SID is the SID of an end.T type;
the receiving unit is further configured to receive a first route announcement sent by the second network device, where the first route announcement includes a first route, and the first route includes a host address, next hop information, and the first label;
the apparatus further comprises: the establishing unit is used for modifying the next hop information into the address of the first network equipment, distributing the first type SID for the first route and establishing the association relation between the first type SID and the first label;
a generating unit, configured to generate a first forwarding table entry corresponding to the first route according to the host address, the modified next hop information, the first type SID and the first tag;
the sending unit is further configured to send a second route advertisement to the first PE, where the second route advertisement includes a second route, and the second route includes the host address, modified next-hop information, and the first type SID.
10. A message processing apparatus, wherein the apparatus is applied to a first network device, the first network device is in a SRv group network, the SRv group network further includes a first PE, and the apparatus includes:
a receiving unit, configured to receive, through an MPLS label switching path, a first data packet sent by a second network device, where the first data packet includes a first label;
the acquisition unit is used for acquiring a first type SID used for forwarding the first data message according to the first label;
a sending unit, configured to send a second data packet to the first PE through a SRv tunnel, where the second data packet includes the first type SID, so that the first PE strips the first type SID from the second data packet according to the first type SID, and sends an original data packet to a CE;
wherein the second network device is in an MPLS networking; the MPLS networking and the SRv6 networking are in different AS domains, and the first type SID is the SID of an end.T type;
the receiving unit is further configured to receive a first route advertisement sent by the first PE, where the first route advertisement includes a first route, and the first route includes a host address, next hop information, and the first type SID;
The apparatus further comprises: the establishing unit is used for modifying the next hop information into the address of the first network equipment, distributing the first label for the first route and establishing the association relation between the first label and the first type SID;
a generating unit, configured to generate a first forwarding table entry corresponding to the first route according to the host address, the modified next hop information, the first tag, and the first type SID;
the sending unit is further configured to send a second route advertisement to the second network device, where the second route advertisement includes a second route, and the second route includes the host address, the modified next hop information, and the first label.
CN202110783184.3A 2021-07-12 2021-07-12 Message processing method and device Active CN113726653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110783184.3A CN113726653B (en) 2021-07-12 2021-07-12 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110783184.3A CN113726653B (en) 2021-07-12 2021-07-12 Message processing method and device

Publications (2)

Publication Number Publication Date
CN113726653A CN113726653A (en) 2021-11-30
CN113726653B true CN113726653B (en) 2023-12-29

Family

ID=78673210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110783184.3A Active CN113726653B (en) 2021-07-12 2021-07-12 Message processing method and device

Country Status (1)

Country Link
CN (1) CN113726653B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116846862A (en) * 2022-03-24 2023-10-03 中国移动通信有限公司研究院 SRv6 message processing method and device, communication equipment and storage medium
WO2023208056A1 (en) * 2022-04-29 2023-11-02 华为技术有限公司 Method, apparatus and system for processing message

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904814A (en) * 2012-10-19 2013-01-30 福建星网锐捷网络有限公司 Data transmission method, source PE (Provider Edge router), object PE and data transmission system
CN110266592A (en) * 2019-06-21 2019-09-20 Ut斯达康通讯有限公司 The communication means and device of SRV6 network and IP MPLS network
CN111713079A (en) * 2018-10-22 2020-09-25 思科技术公司 Packet network interworking including segment routing
CN112511423A (en) * 2020-09-03 2021-03-16 中兴通讯股份有限公司 Message processing method, boundary device and computer readable medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10637687B2 (en) * 2017-04-20 2020-04-28 Cisco Technology, Inc. EVPN implicit aliasing
CN110557317B (en) * 2018-06-01 2022-05-13 华为技术有限公司 Method and apparatus for managing virtual private network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904814A (en) * 2012-10-19 2013-01-30 福建星网锐捷网络有限公司 Data transmission method, source PE (Provider Edge router), object PE and data transmission system
CN111713079A (en) * 2018-10-22 2020-09-25 思科技术公司 Packet network interworking including segment routing
CN110266592A (en) * 2019-06-21 2019-09-20 Ut斯达康通讯有限公司 The communication means and device of SRV6 network and IP MPLS network
CN112511423A (en) * 2020-09-03 2021-03-16 中兴通讯股份有限公司 Message processing method, boundary device and computer readable medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SRv6 and MPLS interworking draft-agrawal-spring-srv6-mpls-interworking-03;S. Agrawal等;《IETF 》;20200814;全文 *
SRv6的分段标识符结构的改善;唐永林等;《电信科学》;20200420(第04期);全文 *

Also Published As

Publication number Publication date
CN113726653A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
CN110830352B (en) Method and device for realizing VPN cross-domain and boundary node
WO2021063232A1 (en) Method, apparatus and system for establishing bier forwarding table entry
US10476796B2 (en) Packet processing method, and device and system
US11689452B2 (en) Method for forwarding service data, network device, and network system
CN113645136B (en) Method, network node and network system for forwarding message in network
CN103546374B (en) A kind of method and apparatus E-Packeted in edge double layer network
EP2750329B1 (en) Method and device for sending internet protocol packets
WO2015165311A1 (en) Method for transmitting data packet and provider edge device
WO2015192501A1 (en) Address information publishing method and apparatus
CN110912796B (en) Communication method, device and system
CN112511444A (en) Multicast traffic transmission method, device, communication node and storage medium
CN113726653B (en) Message processing method and device
CN112636935A (en) Virtual private network multicast method based on IPv6 network and electronic equipment
CN112422398B (en) Message transmission method and communication device
CN112887139B (en) Message processing method and device
CN105453513A (en) Packet forwarding method, forwarding entry delivery method, and network device
CN108199968A (en) Route processing method and device
WO2022184169A1 (en) Packet forwarding method and system, storage medium, and electronic device
WO2022117018A1 (en) Packet transmission method and apparatus
CN108183858B (en) Route introducing method and device
CN111147376B (en) Route updating method, device, equipment and medium
CN106230730B (en) Multicast transmission method and device
US20230081052A1 (en) Method and apparatus for sending multicast packet
CN113472665A (en) Method and device for realizing butt joint of different networks under EVPN
CN113923162B (en) Message forwarding method, device, equipment and storage 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