WO2022127284A1 - 信息处理方法、节点及计算机可读存储介质 - Google Patents
信息处理方法、节点及计算机可读存储介质 Download PDFInfo
- Publication number
- WO2022127284A1 WO2022127284A1 PCT/CN2021/121761 CN2021121761W WO2022127284A1 WO 2022127284 A1 WO2022127284 A1 WO 2022127284A1 CN 2021121761 W CN2021121761 W CN 2021121761W WO 2022127284 A1 WO2022127284 A1 WO 2022127284A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- interface
- sub
- routing information
- data packet
- routing
- Prior art date
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 30
- 238000003672 processing method Methods 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 238000006424 Flood reaction Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/04—Interdomain routing, e.g. hierarchical routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/58—Association of routers
- H04L45/586—Association of routers of virtual routers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
- H04L45/125—Shortest path evaluation based on throughput or bandwidth
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
- H04L45/243—Multipath using M+N parallel active paths
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/32—Flooding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/34—Source routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/66—Layer 2 routing, e.g. in Ethernet based MAN's
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4604—LAN interconnection over a backbone network, e.g. Internet, Frame Relay
- H04L12/462—LAN interconnection over a bridge based backbone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4604—LAN interconnection over a backbone network, e.g. Internet, Frame Relay
- H04L2012/4629—LAN interconnection over a backbone network, e.g. Internet, Frame Relay using multilayer switching, e.g. layer 3 switching
Definitions
- the embodiments of the present application relate to, but are not limited to, the field of communications technologies, and in particular, relate to an information processing method, a node, and a computer-readable storage medium.
- Ethernet segment identifier (Ethernet Segment Identifier, ESI) is based on the provider edge router (Provider Edge, PE)
- the main interface is configured.
- B-MAC Backbone Media Access Control Address
- a circuit (Attachment Circuit, AC) is often not the main interface itself, but a sub-interface of the main interface.
- the embodiments of the present application provide an information processing method, a node, and a computer-readable storage medium, which can solve the problem of data packet detour or packet loss caused by failure of a sub-interface of PE in the related art.
- an embodiment of the present application provides an information processing method, which is applied to a first device, the first device and the second device have a dual-homing relationship, the first device is provided with a first sub-interface, the The second device is provided with a second sub-interface corresponding to the first sub-interface, and the method includes:
- the first routing information corresponding to the first sub-interface is advertised in the network, so that the first sub-interface is in a normal state.
- the third device sends the data packet to the first sub-interface according to the first routing information.
- an embodiment of the present application further provides a node, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the first above when executing the computer program
- a node including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the first above when executing the computer program
- embodiments of the present application further provide a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to execute the above-mentioned information processing method.
- FIG. 1 is a schematic diagram of a network topology for executing an information processing method provided by an embodiment of the present application
- FIG. 3 is a flowchart of an information processing method provided by another embodiment of the present application.
- FIG. 5 is a specific flowchart of forwarding a data packet to a sub-interface in an information processing method provided by another embodiment of the present application.
- FIG. 6 is a specific flowchart of forwarding a data packet to a sub-interface in an information processing method provided by another embodiment of the present application.
- the present application provides an information processing method, a node, and a computer-readable storage medium, aiming at a first device and a second device that have a dual homing relationship, and the first device is provided with a first sub-interface, and the second device is provided with a A second sub-interface corresponding to a sub-interface, when the first device determines that the second sub-interface of the second device is in a failed state but the main interface to which the second sub-interface belongs is still in a normal state, the first device is in the network
- the first routing information corresponding to the first sub-interface is advertised, so that the third device can send the data packet to the first sub-interface of the first device according to the first routing information, thereby solving the problem in the related art due to certain problems of the device.
- FIG. 1 is a schematic diagram of a network topology for executing an information processing method provided by an embodiment of the present application.
- the network topology includes a first Customer Edge (CE) 110 , a first PE 120 , a second PE 130 , a third PE 140 , a first core router 150 and a second core router 160 .
- the first CE110 is dual-homed to the first PE120 and the second PE130, the first PE120 and the second PE130 are both connected to the first core router 150, and the first core router 150, the second core router 160 and the third PE140 are connected in sequence.
- the first PE 120 , the second PE 130 and the third PE 140 each include one first functional component 210 and two second functional components 220 , wherein the first functional component 210 is associated with each of the second functional components 220 connections.
- the first PE120 further includes a first main interface 121, a first sub-interface 122, and a third sub-interface 123. The first sub-interface 122 and the third sub-interface 123 belong to the first main interface 121.
- the two second functional components 220 are bound to the first sub-interface 122 and the third sub-interface 123 correspondingly; the second PE 130 also includes a second main interface 131, a second sub-interface 132 and a fourth sub-interface 133, the second sub-interface 133 132 and the fourth sub-interface 133 belong to the second main interface 131, and the two second functional components 220 in the second PE 130 are bound to the second sub-interface 132 and the fourth sub-interface 133 correspondingly.
- the first sub-interface 122 and the second sub-interface 132 are associated based on the dual-homing relationship between the first PE120 and the second PE130, and the third sub-interface 123 and the fourth sub-interface 133 are based on the dual-homing relationship between the first PE120 and the second PE130 rather related.
- first sub-interface 122 and the second sub-interface 132 can receive packets with the same virtual local area network (Virtual Local Area Network, VLAN) encapsulation
- VLAN Virtual Local Area Network
- each PE the main interface and each sub-interface are allocated with corresponding routing information, which can be Internet Protocol (Internet Protocol, IP) address, Media Access Control Address (Media Access Control Address, MAC) An address or an Ethernet Segment Identifier (Ethernet Segment Identifier, ESI), etc., are not specifically limited in this embodiment. It is worth noting that multiple sub-interfaces associated due to the dual-homing relationship between devices, for example, between the first sub-interface 122 of the first PE 120 and the second sub-interface 132 of the second PE 130, have the same route information.
- IP Internet Protocol
- MAC Media Access Control Address
- ESI Ethernet Segment Identifier
- the second functional component 220 is a service instance of forwarding data packets according to the C-MAC, wherein the second functional component 220 can forward data packets between PEs by using encapsulation formats such as VXLAN, PBB, MPLS, SRv6, etc.
- the second functional component 220 may be respectively referred to as a VXLAN EVPN instance, a PBB EVPN instance, an MPLS EVPN instance, an SRv6 EVPN instance, and the like.
- the first functional component 210 is used to carry a service instance (corresponding to the second functional component 220).
- the first functional component 210 can advertise routing information corresponding to the main interface or routing information corresponding to the sub-interface in the network. It should be noted that when both the first PE 120 and the second PE 130 in the dual-homing relationship work normally, the first functional component 210 in the first PE 120 and the first functional component 210 in the second PE 130 can only be in the network Advertise the routing information corresponding to the main interface; when a certain sub-interface in the first PE120 is in a failed state, the routing information corresponding to the sub-interface corresponding to the failed sub-interface of the first PE120 in the second PE130 will be displayed.
- the first functional component 210 in the second PE130 advertises in the network; when a certain sub-interface in the second PE130 is in a failed state, the sub-interface in the first PE120 corresponding to the failed sub-interface of the second PE130 corresponds to The routing information will be advertised in the network by the first functional component 210 in the first PE120.
- the first functional component 210 in the first PE 120 will not advertise the routing information of the sub-interface of the first PE 120 in the network;
- the PE 130 determines that the main interface of the first PE 120 is in a failed state, and the first functional component 210 in the second PE 130 will not advertise the routing information of the sub-interface of the second PE 130 in the network.
- the network topology and application scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application.
- the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
- topology shown in FIG. 1 does not constitute a limitation on the embodiments of the present application, and may include more or less components than shown, or combine some components, or different components layout.
- FIG. 2 is a flowchart of an information processing method provided by an embodiment of the present application.
- the information processing method is applied to a first device (for example, the first PE 120 in the network topology shown in FIG. 1 ).
- a device and a second device (for example, the second PE130 in the network topology shown in FIG. 1 ) have a dual-homing relationship and are in the same Ethernet segment (Ethernet Segment, ES).
- the first device is provided with a first sub-interface
- the second device is provided with a second sub-interface corresponding to the first sub-interface.
- the information processing method includes but is not limited to the following steps:
- Step S100 in the case of determining that the second sub-interface is in a failed state and the main interface to which the second sub-interface belongs is in a normal state, advertise the first routing information corresponding to the first sub-interface to the network, so that the third device according to the first sub-interface is in a normal state.
- a routing information sends the data packet to the first sub-interface.
- the first routing information corresponding to the first sub-interface may be an IP address, a B-MAC address, or other custom identifiers that can uniquely mark the first sub-interface on the data plane. It is not specifically limited.
- the first device determines that the second sub-interface of the second device is in a failed state and the main interface to which the second sub-interface belongs is in a normal state, it means that other sub-interfaces of the second device can still work normally, but the second sub-interface is the only one. Data packets can no longer be forwarded. However, since all sub-interfaces of the second device are associated with the B-MAC entry bound to the same main interface, the B-MAC entry cannot be simply due to the failure of the second sub-interface. Therefore, if the third device still sends a data packet according to the routing information corresponding to the main interface, the data packet will be distributed to the second sub-interface of the second device, which will cause packet loss.
- the first device determines that the second sub-interface is in a failed state and the main interface to which the second sub-interface belongs is in a normal state
- the first routing information corresponding to the first sub-interface is advertised in the network.
- the third device After receiving the first routing information, the third device can accurately send the data packet to the first routing information according to the first routing information.
- a sub-interface ensures the normal forwarding of data packets by the first sub-interface of the first device; in addition, since the second device does not publish routing information corresponding to the second sub-interface, it also avoids the need for data packets due to Packet loss caused by being sent to the second sub-interface of the second device.
- the packet loss result can be optimized through other nodes through the egress link protection technology.
- a long-time bypass process will still waste network bandwidth.
- this embodiment can quickly cancel the bypass process on the data packet before the second sub-interface is restored. Thereby, network bandwidth resources can be saved.
- the technical effect of solving the packet loss problem and the technical effect of removing the bypassing of data packets may be based on the same technical means, and whether to implement bypassing can be determined based on whether it is combined with other technical means. line processing.
- the first device only announces the first sub-interface corresponding to the first sub-interface in the network when it determines that the second sub-interface is in a failed state and the main interface to which the second sub-interface belongs is in a normal state. Routing information, that is to say, when both the first device and the second device are in normal working state, the first device does not need to advertise the first routing information corresponding to the first sub-interface. In this state, the first device only sends the first routing information to the first sub-interface corresponding to the second sub-interface, and does not send routing information to all sub-interfaces.
- the routing information corresponding to the sub-interface can therefore reduce the number of routing information published for the sub-interface in the network, thereby reducing the routing pressure on the network, especially under normal conditions (that is, before any sub-interface on the ES fails).
- No routing information specific to any sub-interface on the ES eg, routing information having the same nature as the first routing information
- is advertised outside the ES eg, a third device.
- the first routing information includes a common routing part and a unique routing part
- the common routing part corresponds to the routing information of the main interface to which the first sub-interface belongs
- the unique routing part is used to distinguish the routing information belonging to the main interface. subinterface.
- the first routing information may be composed of a shared routing part in a high position and a unique routing part in a low position, wherein the shared routing part may be an IPv6 prefix or other custom that can uniquely mark the host on the data plane.
- the identifier of the interface, etc., the bit length of the common routing part can be appropriately selected according to the actual application; and the unique routing part can be the globally unique Ethernet virtual private network global discriminator (EVPN Global Discreminator, EGD), local Discriminator or other custom identifiers that can be used to distinguish sub-interfaces, etc.
- EGD globally unique Ethernet virtual private network global discriminator
- the bit length of the unique routing part can be appropriately selected according to the actual application; the specific content of the common routing part and the unique routing part can be based on the actual application.
- the first routing information is an IPv6 address
- the upper 104 bits of the first routing information are the shared routing part
- the shared routing part is an IPv6 prefix
- the lower 24 bits of the first routing information are the unique routing part
- the unique routing part is an EGD.
- the unique routing part may be EGD, and the EGD can uniquely identify the sub-interface.
- the first routing information corresponding to the first sub-interface is composed of the above-mentioned shared routing part and unique routing part.
- the corresponding routing information contains a common routing part but not a unique routing part.
- the first routing information corresponding to the first sub-interface and the routing information corresponding to the main interface are both IP routes of the IP-VRF instance.
- the unique routing part of the first routing information corresponding to the first sub-interface only needs to contain a marker that can uniquely identify the first sub-interface.
- the interface identifier of a sub-interface, etc., and the specific value of the interface identifier can be appropriately selected according to the actual application situation (for example, the VLAN identification information of the sub-interface can be selected, etc.), this embodiment does not apply to this.
- the EGD uses other fields for transmission (such as the VNI field) so that the unique part of the first routing information corresponding to the first sub-interface does not need to include EGD
- the first routing information based on the interface distinguisher can be used, which can have It is beneficial to make the routing information corresponding to the main interface have more valid bits, so it is more suitable for the application of devices that do not support IPv6.
- the information processing method may further include, but is not limited to, the following steps:
- Step S200 when receiving the route revocation message sent by the second device, and the route revocation message is only for the second sub-interface, it is determined according to the route revocation message that the second sub-interface is in an invalid state and the address to which the second sub-interface belongs.
- the primary interface is in normal state.
- step S100 if the first device receives the route revocation message sent by the second device, and the route revocation message is only for the second sub-interface, the first device may determine the second sub-interface The interface is in a failed state. At this time, if the route corresponding to the main interface to which the second sub-interface belongs has not been revoked, that is, the main interface to which the second sub-interface belongs is in a normal state, so it can trigger the execution of advertisements in the network and the first interface. An operation of the first routing information corresponding to a sub-interface.
- route revocation message when the sub-interface or the main interface of the PE in the network fails, the route revocation message will be flooded in the network.
- route revocation packets There are two types of route revocation packets, namely, route revocation packets corresponding to routes on the main interface (such as RT-1 per ES routes) and routes corresponding to routes on sub-interfaces (such as RT-1 per EVI routes).
- Revocation message in which, when the sub-interface of the PE fails, the PE will flood the network with the route revocation message corresponding to the sub-interface; when the main interface of the PE fails, the PE will flood the network corresponding to the sub-interface.
- the first device When the first device receives the route revocation message corresponding to the sub-interface (that is, the route revocation message is only for the second sub-interface), it means that the second device only has the second sub-interface in a failed state, and the second device's The other sub-interfaces are in a normal working state, so the first device can determine that the second sub-interface is in a failed state and the main interface to which the second sub-interface belongs is in a normal state.
- the first device receives a route revocation message corresponding to the main interface (that is, the route revocation message is directed to the main interface), it means that the main interface of the second device and all sub-interfaces subordinate to the main interface are in an invalid state.
- the first device can determine that the main interface itself on the second device has failed. It should be noted that when the main interface on the second device itself has failed, that is, the second device does not work on the main interface in the network, at this time, the starting node (such as the third device) that sends the data packet will communicate with the main interface. The routing information corresponding to the main interface of the second device is deleted. Therefore, the starting node that sends the data packet will not select the second device as the destination node, nor will the second device be counted in the forwarding path. Therefore, the first The device does not need to trigger and execute the operation of advertising the first routing information corresponding to the first sub-interface in the network, which does not cause the problem of data packet detour or packet loss.
- the route revocation message in this embodiment may be any route message that can announce the failure state of the corresponding first routing information, and does not necessarily need to be related to the MP_UNREACH_NLRI attribute in BGP.
- the advertising of the first routing information corresponding to the first sub-interface in the network in step S100 may include, but is not limited to, the following steps:
- a Border Gateway Protocol (BGP) routing packet is flooded in the network to advertise the first routing information corresponding to the first sub-interface, wherein the BGP routing packet includes the first routing information and a device used to identify the first device
- the first device identification, the first device identification is used to make the third device use the first segment identification (Segment ID, SID) list to carry the first routing information and the first device identification under the situation of sending a data message, and,
- the processing logic position of the first routing information in the first SID list is after the processing logic position identified by the first device in the first SID list.
- the first device identifier is an address used to uniquely identify the first device, and its value may be appropriately selected according to actual application conditions, which is not specifically limited in this embodiment.
- the first device floods the first routing information corresponding to the first sub-interface in the network
- the interior gateway protocol Interior Gateway Protocol, IGP
- IGP Interior Gateway Protocol
- the core routers in the network such as the first core router 150 and the second core router 160 in FIG. 1
- the BGP routing message is used to flood the first routing information corresponding to the first sub-interface, so as to prevent the core router from perceiving the first routing information.
- the BGP routing packet when used to flood the first routing information corresponding to the first sub-interface, the BGP routing packet may also carry a first device identifier for identifying the first device.
- the third device After the third device receives the BGP routing packet, the third device can obtain the first device identifier corresponding to the first device and the first routing information corresponding to the first sub-interface.
- the third device can use the first SID list to carry the first routing information and the first device identifier, and the first SID list , the SID where the first routing information is located is in the inner layer of the SID where the first device identifier is located.
- the first routing information is hidden in the segment routing header (Segment Routing Header, SRH) corresponding to the first SID list, and the core router perceives Without the first routing information, the first routing information will be exposed only after the data packet reaches the first device, that is, the first device does not need to notify the core when flooding the first routing information Therefore, the first device can use the BGP routing message to flood the first routing information corresponding to the first sub-interface, so as to reduce the routing pressure on the core router and achieve the purpose of light weight.
- Segment Routing Header Segment Routing Header
- the first routing information may be routing information in a global routing table, a certain IP-VRF instance, or a certain MAC-VRF instance. Meanwhile, the first routing information and the routing information of the main interface are routing information in the same routing table.
- the BGP routing packet may further include bandwidth information, where the bandwidth information is used to enable the third device to determine the first device identifier according to the bandwidth information.
- the bandwidth information in the BGP routing packet reflects the bandwidth processing capability of the device that advertises the BGP routing packet. Therefore, after the third device receives the BGP routing packet including the bandwidth information from each device, when the third device sends the data packet, the third device may firstly communicate between multiple devices corresponding to the target routing information. , load sharing is performed proportionally according to the bandwidth information advertised by these devices, and then the final device identifier is determined according to the load sharing result, and then the data packet is forwarded with the determined final device identifier as the destination address.
- the third device After the third device receives the BGP routing packet carrying the first routing information and bandwidth information, when the third device needs to When the routing information forwards the data packet, the third device will firstly perform proportional transmission between the first device and the second device corresponding to the first routing information according to the bandwidth information advertised by the first device and the second device.
- Load sharing Since the first device has the largest bandwidth processing capability, the result of load sharing will be that the first device shares a larger amount of data forwarding. Therefore, the third device will select the first device identifier used to identify the first device. The data packet is forwarded to the first device as the destination address.
- the information processing method may further include, but is not limited to, the following steps:
- Step S300 receiving a first data packet sent by a third device, wherein the first data packet carries first routing information
- Step S400 forward the first data packet to the first sub-interface according to the first routing information and the local forwarding entry.
- the third device can send the first routing information to the third device according to the first routing information.
- a device sends a first data packet, and the first data packet carries the first routing information. After the first device receives the first data packet, it can forward the first data packet to the first sub-interface according to the first routing information in the first data packet and the local forwarding entry. Thus, the service transmission from the third device to the first device is realized.
- the packet format of the first data packet may have different types, for example, the first data packet may be an SRv6 packet type or a Multi-Protocol Label Switching (MPLS) packet type etc., which are not specifically limited in this embodiment.
- the local forwarding table entries may also have different types. For example, when the first data packet is an SRv6 packet type, the local forwarding table entry The entry is the local segment identifier forwarding entry, and when the first data packet is of the MPLS packet type, the local forwarding entry is the label forwarding entry.
- the first data packet sent by the third device may also carry first MAC information, where the first MAC information is the destination node that the first data packet needs to reach (for example, FIG. 1 ).
- the information processing method may also include but not limited to the following steps:
- the information constructs the first data message.
- the first device will also send a second data packet to the third device, where the second data packet carries the first route information and second MAC information, the second MAC information is the MAC information of the user equipment (for example, the first CE110 in FIG. 1 ) (that is, the source MAC information of the user equipment).
- the third device receives the second data packet After that, the relationship between the first routing information and the second MAC information can be learned and saved from the second data packet. Therefore, when the third device needs to send data to the user equipment (for example, the first CE110 in FIG.
- the stored second MAC information can be obtained according to the destination address information (that is, the first MAC information), and the first device in the forwarding path can be obtained according to the relationship between the second MAC information and the first routing information address information (such as the first device identifier), and then the first data packet in the embodiment shown in FIG. 4 may be constructed according to the first MAC information and the first routing information.
- the steps in this embodiment may be performed before step S100 is performed.
- the third device may also replace the first routing information with the second routing information.
- the first device also needs to determine, through the first MAC address, that the egress of the first data packet is the first sub-interface.
- step S400 may include but is not limited to the following steps:
- Step S410 obtaining the first routing information from the destination address field of the first data packet
- Step S420 when it is determined that the next hop is the first sub-interface according to the first routing information and the local forwarding entry, the first data packet is forwarded to the first sub-interface.
- the first device after the first device receives the first data packet from the third device, the first device first obtains the information of the destination address field in the first data packet, and then determines the information in the destination address field. Whether the information hits the local forwarding entry, when the information in the destination address field hits the local forwarding entry, the first data packet can be processed according to the relevant information recorded in the local forwarding entry. Therefore, in this embodiment, after receiving the first data packet, the first device first obtains the first routing information from the destination address field of the first data packet, and then determines whether the first routing information hits the local forwarding information.
- the first data packet can be forwarded to the first sub-interface.
- the sub-interface implements the related processing of the first data packet.
- the destination MAC address of the first data packet must also be determined. to proceed. For example, when the unique part of the first routing information is EGD, and the ESI has multiple sub-interfaces in the EVPN instance identified by the EGD, since these sub-interfaces use the same first routing information, it is necessary to additionally pass the destination MAC chooses between these subinterfaces.
- step S400 may also be Including but not limited to the following steps:
- Step S430 obtaining the current segment identifier from the segment identifier list in the first SRH;
- Step S440 when the current segment is identified as the first routing information, and the next hop is determined as the first sub-interface according to the first routing information and the local forwarding entry, the first data packet is forwarded to the first sub-interface.
- the embodiment shown in FIG. 6 and the above-mentioned embodiment shown in FIG. 5 are parallel technical solutions, and the difference between the two is that in the above-mentioned embodiment shown in FIG. 5 , the first data The message is not encapsulated with SRH, and the first routing information is filled in the destination address field of the first data message; in the embodiment shown in FIG. 6 , the first data message is encapsulated with the first SRH, and the first route Information is populated in the first SRH.
- the first device after the first device receives the first data packet from the third device, the first device first determines that the first data packet contains Whether the information in the destination address field matches the device, when matching, the first device will obtain the current segment identifier from the segment identifier list of the first SRH, and then judge whether the current segment identifier hits the local forwarding entry, if the current segment identifier The identification hits the local forwarding entry, that is, the first data packet can be processed relatedly according to the relevant information recorded in the local forwarding entry.
- the first device when the first device determines that the information in the destination address field in the first data packet matches its own device, the first device obtains the current Segment identifier, when the current segment identifier is the first routing information, and it is determined that the first routing information hits the local forwarding entry, and the next hop is determined to be the first sub-interface according to the hit local forwarding entry, that is, The first data packet may be forwarded to the first sub-interface to implement related processing of the first data packet.
- an embodiment of the present application also provides a node, the node includes: a memory, a processor, and a computer program stored on the memory and executable on the processor.
- the processor and memory may be connected by a bus or otherwise.
- the memory can be used to store non-transitory software programs and non-transitory computer-executable programs.
- the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
- the memory may optionally include memory located remotely from the processor, which may be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
- the node in this embodiment may be applied as the first PE 120 or the second PE 130 in the network topology of the embodiment shown in FIG. 1 , and the node in this embodiment is the same as the one in the embodiment shown in FIG.
- the first PE 120 or the second PE 130 in the network topology has the same inventive concept, and therefore these embodiments have the same implementation principle and technical effect, which will not be described in detail here.
- the non-transitory software programs and instructions required to implement the information processing method of the above embodiment are stored in the memory, and when executed by the processor, the information processing method in the above embodiment is executed, for example, the above-described FIG. 2 is executed.
- node embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by a processor or controller, for example, by the above-mentioned Executed by a processor in the node embodiment, the above-mentioned processor can execute the information processing method in the above-mentioned embodiment, for example, execute the above-described method step S100 in FIG. 2 , method step S200 in FIG. method steps S300 to S400 in FIG. 5 , method steps S410 to S420 in FIG. 5 , and method steps S430 to S440 in FIG. 6 .
- the embodiments of the present application of the present invention include: for a first device and a second device that have a dual homing relationship, and the first device is provided with a first sub-interface, and the second device is provided with a second sub-interface corresponding to the first sub-interface,
- the first device determines that the second sub-interface of the second device is in a failed state and the main interface to which the second sub-interface belongs is in a normal state
- the first device advertises the first route corresponding to the first sub-interface in the network information, so that the third device sends the data packet to the first sub-interface according to the first routing information.
- the first device when the first device determines that the second sub-interface of the second device is in an invalid state and the main interface to which the second sub-interface belongs is still in a normal state, the first device notifies the network with The first routing information corresponding to the first sub-interface enables the third device to send the data packet to the first sub-interface of the first device according to the first routing information, thereby solving the problem of a certain sub-interface of the device in the related art.
- the problem of data packet loss caused by failure occurs.
- Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer.
- communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
Claims (11)
- 一种信息处理方法,应用于第一设备,所述第一设备与第二设备存在双归属关系,所述第一设备设置有第一子接口,所述第二设备设置有与所述第一子接口对应的第二子接口,所述方法包括:在确定所述第二子接口处于失效状态且所述第二子接口所归属的主接口处于正常状态的情况下,向网络通告与所述第一子接口对应的第一路由信息,使得第三设备根据所述第一路由信息将数据报文发送至所述第一子接口。
- 根据权利要求1所述的方法,其中,所述第一路由信息包括共有路由部分和独有路由部分,所述共有路由部分对应于所述第一子接口所归属的主接口的路由信息,所述独有路由部分用于区分归属于所述主接口的子接口。
- 根据权利要求1所述的方法,还包括:当接收到由所述第二设备发送的路由撤销报文,并且所述路由撤销报文仅针对所述第二子接口,根据所述路由撤销报文确定所述第二子接口处于失效状态且所述第二子接口所归属的主接口处于正常状态。
- 根据权利要求1所述的方法,其中,所述向网络通告与所述第一子接口对应的第一路由信息,包括:在网络中泛洪边界网关协议BGP路由报文以通告与所述第一子接口对应的第一路由信息,其中,所述BGP路由报文包括所述第一路由信息和用于标识所述第一设备的第一设备标识,所述第一设备标识用于使所述第三设备在发送数据报文的情况下,利用第一段标识SID列表携带所述第一路由信息和所述第一设备标识,并且,所述第一路由信息于所述第一SID列表中的处理逻辑位置在所述第一设备标识于所述第一SID列表中的处理逻辑位置的后面。
- 根据权利要求4所述的方法,其中,所述BGP路由报文还包括带宽信息,所述带宽信息用于使所述第三设备根据所述带宽信息确定所述第一设备标识。
- 根据权利要求1至5任意一项所述的方法,还包括:接收由所述第三设备发送的第一数据报文,其中,所述第一数据报文携带所述第一路由信息;以及根据所述第一路由信息和本地的转发表项将所述第一数据报文转发至所述第一子接口。
- 根据权利要求6所述的方法,其中,所述第一数据报文还携带第一媒体存取控制地址MAC信息,在向网络通告与所述第一子接口对应的第一路由信息之前,或者在接收由所述第三设备发送的第一数据报文之前,所述方法还包括:向所述第三设备发送携带有所述第一路由信息和与所述第一MAC信息相同的第二MAC信息的第二数据报文,使得所述第三设备根据所述第二数据报文中的所述第一路由信息和所述第二MAC信息构建所述第一数据报文。
- 根据权利要求6所述的方法,其中,所述第一路由信息填充于所述第一数据报文的目的地址字段,所述根据所述第一路由信息和本地的转发表项将所述第一数据报文转发至所述第一子接口,包括:从所述第一数据报文的目的地址字段中获取所述第一路由信息;当根据所述第一路由信息和本地的转发表项确定下一跳为所述第一子接口,将所述第一 数据报文转发至所述第一子接口。
- 根据权利要求6所述的方法,其中,所述第一数据报文包括第一分段路由头SRH,所述第一SRH携带所述第一路由信息,所述根据所述第一路由信息和本地的转发表项将所述第一数据报文转发至所述第一子接口,包括:从所述第一SRH中的段标识列表获取当前段标识;以及当所述当前段标识为所述第一路由信息,并且根据所述第一路由信息和本地的转发表项确定下一跳为所述第一子接口,将所述第一数据报文转发至所述第一子接口。
- 一种节点,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如权利要求1至9中任意一项所述的信息处理方法。
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至9中任意一项所述的信息处理方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020237017216A KR20230093015A (ko) | 2020-12-15 | 2021-09-29 | 정보 처리 방법, 노드 및 컴퓨터 판독 가능한 저장 매체 |
US18/254,238 US12034634B2 (en) | 2020-12-15 | 2021-09-29 | Information processing method, node, and computer-readable storage medium |
EP21905214.9A EP4236126A4 (en) | 2020-12-15 | 2021-09-29 | INFORMATION PROCESSING METHOD, NODE AND COMPUTER READABLE STORAGE MEDIUM |
JP2023528519A JP2023549512A (ja) | 2020-12-15 | 2021-09-29 | 情報処理方法、ノード及びコンピュータ読み取り可能な記憶媒体 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011479889.8 | 2020-12-15 | ||
CN202011479889.8A CN114697263A (zh) | 2020-12-15 | 2020-12-15 | 信息处理方法、节点及计算机可读存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022127284A1 true WO2022127284A1 (zh) | 2022-06-23 |
Family
ID=82060050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/121761 WO2022127284A1 (zh) | 2020-12-15 | 2021-09-29 | 信息处理方法、节点及计算机可读存储介质 |
Country Status (6)
Country | Link |
---|---|
US (1) | US12034634B2 (zh) |
EP (1) | EP4236126A4 (zh) |
JP (1) | JP2023549512A (zh) |
KR (1) | KR20230093015A (zh) |
CN (1) | CN114697263A (zh) |
WO (1) | WO2022127284A1 (zh) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090010171A1 (en) * | 2007-07-05 | 2009-01-08 | Cisco Technology, Inc. | Scaling BFD sessions for neighbors using physical / sub-interface relationships |
CN110391951A (zh) * | 2018-04-17 | 2019-10-29 | 中兴通讯股份有限公司 | 以太网段标识邻接检测处理方法及装置、存储介质 |
CN111935013A (zh) * | 2020-09-17 | 2020-11-13 | 南京中兴软件有限责任公司 | 流量转发控制方法及装置、流量转发方法及芯片、交换机 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8665886B2 (en) | 2009-03-26 | 2014-03-04 | Brocade Communications Systems, Inc. | Redundant host connection in a routed network |
US10666500B2 (en) | 2016-03-30 | 2020-05-26 | Juniper Networks, Inc. | Failure handling for active-standby redundancy in EVPN data center interconnect |
US10671590B2 (en) * | 2016-05-27 | 2020-06-02 | Cisco Technology, Inc. | Delta database synchronization |
US10110470B2 (en) * | 2016-09-14 | 2018-10-23 | Juniper Networks, Inc. | Preventing data traffic loops associated with designated forwarder selection |
US10320658B2 (en) * | 2016-10-18 | 2019-06-11 | Cisco Technology, Inc. | Method and system for asymmetric redundancy mechanisms in multi-homed network access topologies |
US10536370B2 (en) | 2017-08-08 | 2020-01-14 | Dell Products Lp | Method and system to avoid temporary traffic loss with BGP ethernet VPN multi-homing with data-plane MAC address learning |
CN111277482B (zh) | 2020-01-13 | 2022-01-18 | 新华三大数据技术有限公司 | 一种报文处理方法及装置 |
CN116827855A (zh) * | 2020-11-23 | 2023-09-29 | 华为技术有限公司 | 一种通告网络设备处理能力的方法、设备和系统 |
-
2020
- 2020-12-15 CN CN202011479889.8A patent/CN114697263A/zh active Pending
-
2021
- 2021-09-29 US US18/254,238 patent/US12034634B2/en active Active
- 2021-09-29 KR KR1020237017216A patent/KR20230093015A/ko active Search and Examination
- 2021-09-29 WO PCT/CN2021/121761 patent/WO2022127284A1/zh active Application Filing
- 2021-09-29 JP JP2023528519A patent/JP2023549512A/ja active Pending
- 2021-09-29 EP EP21905214.9A patent/EP4236126A4/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090010171A1 (en) * | 2007-07-05 | 2009-01-08 | Cisco Technology, Inc. | Scaling BFD sessions for neighbors using physical / sub-interface relationships |
CN110391951A (zh) * | 2018-04-17 | 2019-10-29 | 中兴通讯股份有限公司 | 以太网段标识邻接检测处理方法及装置、存储介质 |
CN111935013A (zh) * | 2020-09-17 | 2020-11-13 | 南京中兴软件有限责任公司 | 流量转发控制方法及装置、流量转发方法及芯片、交换机 |
Non-Patent Citations (1)
Title |
---|
See also references of EP4236126A4 * |
Also Published As
Publication number | Publication date |
---|---|
JP2023549512A (ja) | 2023-11-27 |
KR20230093015A (ko) | 2023-06-26 |
CN114697263A (zh) | 2022-07-01 |
US20240007394A1 (en) | 2024-01-04 |
US12034634B2 (en) | 2024-07-09 |
EP4236126A1 (en) | 2023-08-30 |
EP4236126A4 (en) | 2024-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11799773B2 (en) | EVPN packet processing method, device, and system | |
US10880203B2 (en) | Centralized segment routing dataplane based backup path validation | |
EP3582449B1 (en) | Route processing in a vxlan | |
CN109218178B (zh) | 一种报文处理方法及网络设备 | |
US9369347B2 (en) | Service to node resolution | |
US9832097B2 (en) | Method and apparatus for MPLS label allocation for a BGP MAC-VPN | |
US8953590B1 (en) | Layer two virtual private network having control plane address learning supporting multi-homed customer networks | |
WO2021258754A1 (zh) | 报文指示方法、装置、设备和存储介质 | |
US7483387B2 (en) | Hierarchical label distribution for inter-area summarization of edge-device addresses | |
US8121032B2 (en) | Efficient convergence of grouped VPN prefixes | |
JP7176095B2 (ja) | 通信方法、通信機器、および通信システム | |
CA3104756C (en) | Loop avoidance communications method, device, and system | |
WO2018103099A1 (zh) | 发送和接收消息的方法、设备和系统 | |
CN113228572A (zh) | 用于分段路由(sr)代理段标识(sid)的内部网关协议(igp) | |
US11362954B2 (en) | Tunneling inter-domain stateless internet protocol multicast packets | |
US9350654B1 (en) | Microloop protection for multi-protocol label switching paths | |
WO2022121466A1 (zh) | 以太虚拟专用网的数据处理方法、设备及存储介质 | |
WO2023016550A1 (zh) | 一种路由发送方法及设备 | |
CN110620715B (zh) | 虚拟扩展局域网通信方法、隧道端点和控制器 | |
WO2022127284A1 (zh) | 信息处理方法、节点及计算机可读存储介质 | |
WO2022174789A1 (zh) | 信息发布方法及装置、计算机可读存储介质 | |
WO2022227940A1 (zh) | Df选举模式切换方法、信息发送方法、pe设备和介质 | |
US11212221B1 (en) | Methods to improve ECMP for BGP services and BGP for provider edges with hybrid label distribution | |
US9853881B2 (en) | Autonomous system border router (ASBR) advertising routes with a same forwarding label | |
WO2022042610A1 (zh) | 信息处理方法、网络控制器、节点及计算机可读存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 2023528519 Country of ref document: JP |
|
ENP | Entry into the national phase |
Ref document number: 20237017216 Country of ref document: KR Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 18254238 Country of ref document: US |
|
ENP | Entry into the national phase |
Ref document number: 2021905214 Country of ref document: EP Effective date: 20230523 |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21905214 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |