CN114567522B - Message forwarding method and device - Google Patents

Message forwarding method and device Download PDF

Info

Publication number
CN114567522B
CN114567522B CN202210164048.0A CN202210164048A CN114567522B CN 114567522 B CN114567522 B CN 114567522B CN 202210164048 A CN202210164048 A CN 202210164048A CN 114567522 B CN114567522 B CN 114567522B
Authority
CN
China
Prior art keywords
layer interface
internal control
control link
public network
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
CN202210164048.0A
Other languages
Chinese (zh)
Other versions
CN114567522A (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 Technologies Co Ltd Hefei Branch
Original Assignee
New H3C Technologies Co Ltd Hefei Branch
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 Technologies Co Ltd Hefei Branch filed Critical New H3C Technologies Co Ltd Hefei Branch
Priority to CN202210164048.0A priority Critical patent/CN114567522B/en
Publication of CN114567522A publication Critical patent/CN114567522A/en
Application granted granted Critical
Publication of CN114567522B publication Critical patent/CN114567522B/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/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate 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/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The application relates to a message forwarding method and device. Setting a three-layer interface of a public network and a three-layer interface of an internal control link as a main route and a standby route with the same priority; the internal control link three-layer interface is connected with a neighbor of the distributed elastic network interconnection system through an internal control link; creating a first unicast next-hop hardware table item for recording a three-layer interface of a public network and a second unicast next-hop hardware table item for recording a three-layer interface of an internal control link; generating an equal cost multipath table entry pointing to the destination IP address of each VXLAN tunnel in the virtual forwarding instance; wherein the equal cost multipath table entry points to an index of the first unicast next hop hardware table entry; and transmitting the VXLAN unicast message transmitted by the virtual forwarding instance through each VXLAN tunnel through a three-layer interface of the public network.

Description

Message forwarding method and device
Technical Field
The application relates to communication technology, in particular to a message forwarding method and device.
Background
DRNI (Distributed Resilient Network Interconnect, distributed elastic network interconnect) virtualizes two physical devices into one device to implement cross-device link aggregation, applied to dual-home access networking. In the DRNI networking, two physical devices are connected through an IPL (Intra-Portal Link), and a DRCP message and a message are forwarded and the MAC address table item and the ARP table item are synchronized; besides the IPL link, there is a Keep alive link between the two devices for detecting the state of the neighbors.
When two devices of the DRNI system both start a distributed aggregation mode of an EVPN (Ethernet Virtual Private Network ) and configure the same virtual VTEP (VXLAN Tunnel End Point ) address, the two devices of the DRNI system respectively send two three types of routes as VTEPs, namely, one route issued by the IP of the device and a route sent by the IP address of the virtual VTEP, the four routes are advertised to each far-end VTEP through a reflector spike, each far-end VTEP determines that the two routes sent by the IP address of the virtual VTEP are found to be repeated, and then three effective routes are selected to establish a connection between the three tunnel VXLAN tunnels and the two devices of the DRNI system and the virtual VTEP. When any device of the DRNI system is connected with the three-layer interface of the EVPN public network, deleting the high-priority route and the hardware forwarding table item of the three-layer interface of the EVPN public network, recalculating the low-priority route of the three-layer interface serving as the IPP (Intra-Portal Port, internal control link Port), and updating the hardware forwarding table item; in the DRNI system, the route reaching each VTEP opposite end has an interruption process from existence to non-existence and from non-existence to existence, so that packet loss is caused, and when the number of the opposite ends VTEP of the VXLAN tunnel of the DRNI device is larger, the hardware forwarding table items of the VXLAN tunnel needing refreshing are more, and the packet loss time is longer.
Disclosure of Invention
The purpose of the application is to provide a method and a device for forwarding a message, which are used for respectively setting main and standby routes with the same priority level for a public network output interface and an internal control link interface and generating a hardware forwarding table item of the main and standby routes so as to facilitate the fault avoidance of the three interfaces of the public network and the route interruption.
In order to achieve the above object, the present application provides a method for forwarding a message, which includes: setting a three-layer interface of a public network and a three-layer interface of an internal control link as a main route and a standby route with the same priority; the internal control link three-layer interface is connected with a neighbor of the distributed elastic network interconnection system through an internal control link; creating a first unicast next-hop hardware table item for recording a three-layer interface of a public network and a second unicast next-hop hardware table item for recording a three-layer interface of an internal control link; generating an equal cost multipath table entry pointing to the destination IP address of each VXLAN tunnel in the virtual forwarding instance; wherein the equal cost multipath table entry points to an index of the first unicast next hop hardware table entry; and transmitting the VXLAN unicast message transmitted by the virtual forwarding instance through each VXLAN tunnel through a three-layer interface of the public network.
In order to achieve the above object, the present application further provides a packet forwarding device, including: the setting module is used for setting the three-layer interface of the public network and the three-layer interface of the internal control link as a main route and a standby route with the same priority; the internal control link three-layer interface is connected with a neighbor of the distributed elastic network interconnection system through an internal control link; the list item module is used for creating a first unicast next-hop hardware list item for recording the three-layer interface of the public network and a second unicast next-hop hardware list item for recording the three-layer interface of the internal control link; generating an equal cost multipath table entry pointing to the destination IP address of each VXLAN tunnel in the virtual forwarding instance; wherein the equal cost multipath table entry points to an index of the first unicast next hop hardware table entry; and the forwarding module is used for sending the VXLAN unicast message sent by the virtual forwarding instance through each VXLAN tunnel through a three-layer interface of the public network.
The method has the beneficial effects that the public network output interface and the internal control link interface are respectively provided with the main and standby routes with the same priority and generate the hardware forwarding table item of the main and standby routes, so that when the three-layer interface of the public network fails, route interruption caused by low-priority routes does not need to be recalculated after high-priority routes are deleted.
Drawings
Fig. 1 is a flowchart of a message forwarding embodiment provided in the present application;
fig. 2 is a schematic diagram of DRNI system application in an EVPN network;
fig. 3A is a schematic diagram of a main route forwarding VXLAN unicast message of the DRNI system of fig. 2;
fig. 3B is a schematic diagram of a main route forwarding VXLAN multicast message of the DRNI system of fig. 2;
fig. 4A is a schematic diagram of a VXLAN unicast message forwarded by a fast-switching backup route of the DRNI system in fig. 2;
fig. 4B is a schematic diagram of a VXLAN multicast packet forwarded by a fast-switching backup route of the DRNI system of fig. 2;
fig. 5 is a schematic diagram of a packet forwarding device provided in the present application.
Detailed Description
A plurality of examples shown in the drawings will be described in detail. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present application. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the examples.
The term "comprising" as used in the terminology includes, but is not limited to; the term "comprising" means including but not limited to; the terms "above," "within," and "below" encompass the present number; the terms "greater than", "less than" mean that the number is not inclusive. The term "based on" means based at least in part on a portion thereof.
The embodiment of the message forwarding method provided by the application shown in fig. 1 includes the following steps:
step 101, setting a three-layer interface of a public network and a three-layer interface of an internal control link as a main route and a standby route with the same priority; the internal control link three-layer interface is connected with a neighbor of the distributed elastic network interconnection system through an internal control link;
step 102, creating a first unicast next-hop hardware table item for recording a three-layer interface of a public network and a second unicast next-hop hardware table item for recording a three-layer interface of an internal control link;
step 103, generating an equal-cost multi-path table entry pointing to the destination IP address of each VXLAN tunnel in the virtual forwarding instance and an index of the equal-cost multi-path table entry pointing to the first unicast next-hop hardware table entry;
and 104, transmitting the VXLAN unicast message transmitted by the virtual forwarding instance through each VXLAN tunnel through a three-layer interface of the public network.
The method has the advantages that the public network output interface and the internal control link interface are respectively provided with the main and standby routes with the same priority, the hardware forwarding table items of the main and standby routes are generated, and route interruption caused by the fault of the three interfaces of the public network is avoided.
After the distributed aggregation mode of the EVPN is started on both VTEPs and the same virtual VTEP address IPv is configured for the distributed aggregation mode, the two VTEPs are virtualized into one VTEP device, and the device automatically establishes a VXLAN tunnel by taking the virtual VTEP address as a source address and a remote VTEP, so that the influence of a single-point fault of the VTEP on a network is avoided.
Fig. 2 is a schematic diagram of DRNI system application in an EVPN network. In fig. 2, server1 is connected to DRNI system devices leaf1 and leaf2, respectively, through DR interface (Distributed Relay interface, distributed aggregation interface). The equipment leaf1 configures an IP address IP1 of the equipment and an IPv (virtual traffic to traffic) address; leaf2 configures the device IP address IP2 and virtual VTEP address IPv.
Leaf1 and Leaf2 send two three types of routes, respectively, advertised through reflector spine to the peer VTEP devices Leaf3 and Leaf4. Taking leaf3 as an example, the device leaf3 receives 4 routes, discovers that the two routes of the IP address IPv reaching the virtual VTEP are repeated, the leaf3 takes the IP1, the IP2 and the IPv as destination IP addresses, and three VXLAN tunnels are established by the IP address IP3 of the device leaf3 and the three routes issued respectively. Device Leaf4 issues route setup in the same manner to reach three VXLAN tunnels for device Leaf1, leaf2 and virtual VTEP. Leaf1 establishes four VXLAN tunnels Tunnel1-Tunnel4 to Leaf3, leaf4, respectively, with IP1 and IPv. Similarly, leaf2 establishes four VXLAN tunnels to Leaf3, leaf4 in IP2 and IPv, respectively.
Device leaf1 creates a three-layer virtual interface int VLAN100 on a physical port1 (not shown) of a public network reflector Spine, configures a three-layer interface int VLAN10 for independent use on a port (not shown) connected to an IPL, and configures an IPP (DRNI intra-portal-port) on the three-layer interface int VLAN 10. Device leaf1 configures two next hop int VLAN100 and int VLAN10 with the same priority of fast-reroute, where int VLAN100 is the next hop of the primary route and IPP three-layer interface int VLAN10 is the next hop of the standby route.
On the equipment leaf1, creating a unicast next-hop hardware table item NH_UC_1 for recording the int VLAN100 and a unicast next-hop hardware table item NH_UC_2 for recording the internal control link three-layer interface int VLAN 10; generating an Equal Cost Multi Path (ECMP) table entry that points to the destination IP address of each VXLAN Tunnel of Tunnel1-Tunnel4 in the VSI; wherein the equal cost multipath table entry points to an index nh_uc_1 of the first unicast next hop hardware table entry.
On device Leaf1, broadcast next hop hardware entries nh_bc_11, nh_bc_21, nh_bc_31 and nh_bc_41 corresponding to the public network three layer interface int VLAN100 and broadcast next hop hardware entries nh_bc_12, nh_bc_22, nh_bc_32 and nh_bc_42 corresponding to the IPP three layer interface int VLAN10 are created for each VXLAN Tunnel of tunnels 1-4 in the VSI.
In a multicast table (IP MC) of the VSI of leaf1, recording indexes of a broadcast next-hop table entry of the public network three-layer interface int VLAN100 and a broadcast next-hop table entry of the IPP three-layer interface int VLAN10 of each VXLAN Tunnel, namely recording nh_bc_11 and nh_bc_12 of Tunnel 1; recording nh_bc_21 and nh_bc_22 of tunnel 2; recording NH_BC_31 and NH_BC_32 of Tunnel 3; and recording nh_bc_41 and nh_bc_42 of Tunnel4.
The broadcast next hop hardware entries nh_bc_11, nh_bc_21, nh_bc_31 and nh_bc_41 of the corresponding public network three-layer interface int VLAN100 of each VXLAN Tunnel of Tunnel1-Tunnel4 are set to the forwarding state, and the broadcast next hop hardware entries nh_bc_12, nh_bc_22, nh_bc_32 and nh_bc_42 of the corresponding IPP three-layer interface int VLAN10 are set to the blocking state.
Fig. 3A is a schematic diagram of a main route forwarding VXLAN unicast message of the DRNI system of fig. 2; as shown in fig. 3A, leaf1 receives an ethernet unicast message from Server1, finds a corresponding VXLAN Tunnel1 according to a destination MAC address, and encapsulates the ethernet unicast message based on the VXLAN Tunnel 1; and searching ECMP list items according to the tunnel IP address of the outer layer destination of the packaged VXLAN unicast message, searching a unicast next-hop list item NH_UC_1 according to the ECMP list items, and then sending the unicast next-hop list item NH_UC_1 through a physical port1 of a public network three-layer interface int VLAN 100.
Fig. 3B is a schematic diagram of a main route forwarding VXLAN multicast message of the DRNI system of fig. 2; as shown in fig. 3B, the leaf1 receives the broadcast message/multicast message from the Server1, determines the bound VSI according to the service instance corresponding to the ingress interface, searches the IP MC table of the VSI, and searches the physical port1 of the three-layer public network interface int VLAN100 broadcasting the next hop entries nh_bc_11, nh_bc_21, nh_bc_31, nh_bc_41, nh_bc_12, nh_bc_22, nh_bc_32 and nh_bc_42 according to the IP MC table, but only transmits the broadcast next hop entries nh_bc_11, nh_bc_21, nh_bc_31, nh_bc_41. Since the broadcast next-hop entries nh_bc_12, nh_bc_22, nh_bc_32, and nh_bc_42 are blocked, they are not forwarded through.
In fig. 2, fig. 3A, and fig. 3B, the public network output interface and the internal control link interface respectively set up the primary and backup routes with the same priority, and generate a hardware forwarding table entry of the primary and backup routes, and forward the broadcast/multicast traffic in the VSI preferentially through the hardware forwarding table entry of the primary route.
When the physical port1 of the public network outgoing interface fails, leaf1 updates the index of the ECMP table entry pointing to the nh_uc_2 unicast next-hop hardware table entry, sets the broadcast next-hop hardware table entries nh_bc_11, nh_bc_21, nh_bc_31, nh_bc_41 of each VXLAN Tunnel of Tunnel1-Tunnel4 corresponding to the public network three-layer interface int VLAN100 to the blocking state, and sets the broadcast next-hop hardware table entries nh_bc_41, nh_bc_12, nh_bc_22, nh_bc_32, and nh_bc_42 of the corresponding IPP three-layer interface int VLAN10 to the forwarding state.
Fig. 4A is a schematic diagram of a VXLAN unicast message forwarded by a fast-switching backup route of the DRNI system in fig. 2; as shown in fig. 4A, when leaf1 receives an ethernet unicast message from Server1, a corresponding VXLAN Tunnel1 is found according to the destination MAC address, and the ethernet unicast message is encapsulated based on the VXLAN Tunnel 1; and searching ECMP list items according to the tunnel IP address of the outer layer destination of the packaged VXLAN unicast message, searching a unicast next-hop list item NH_UC_2 according to the ECMP list items, and then sending the unicast next-hop list item NH_UC_2 to the DR neighbor leaf2 through an IPP three-layer interface int VLAN10 of the unicast next-hop list item NH_UC_2.
Fig. 4B is a schematic diagram of a main route forwarding VXLAN multicast message of the DRNI system of fig. 2; as shown in fig. 4B, leaf1 receives the broadcast/multicast message from Server1, searches the multicast group address of VSI to encapsulate the broadcast/multicast message into VXLAN multicast message/VXLAN multicast message (VXLAN multicast message), searches the IP MC table of VSI according to the outer layer VSI multicast group address, searches the IP MC table for the broadcast next hop entries nh_bc_11, nh_bc_21, nh_bc_31, nh_bc_41, nh_bc_12, nh_bc_22, nh_bc_32 and nh_bc_42 according to the IP MC table, but only broadcasts the IPP ports of the IPP three-layer interface int VLAN100 of the next hop entries through forwarding states nh_bc_12, nh_bc_22, nh_bc_32 and nh_bc_42 to send to DR leaf2, and the broadcast next hop entries in different blocking states are forwarded.
In this application, the process of the leaf2 device of the DRNI system is the same as that of leaf1, and will not be described again.
In the embodiments of fig. 3A and 3B, the leaf sets the three-layer interface of the public network and the three-layer interface of the IPP as the main and standby routes with the same priority, so that the route is not required to be recalculated, the route interruption generated from 1 to 0 due to the fault of the three-layer interface of the public network in the prior art is avoided, the hardware forwarding table item of the unicast next hop and the broadcast next hop of the standby route is also generated, and the long-time terminal caused by the hardware forwarding table item of the new route required to be calculated due to the fact that the route is from 0 to 1 in the prior art is also avoided.
The embodiments of fig. 4A and fig. 4B of the present application show that after a failure occurs, traffic can be quickly switched to a backup route, and a hardware forwarding table entry of the backup route is calculated, so that a saving forwarding interrupt is avoided.
It should be noted that, in the prior art, the more VXLAN tunnels that leaf1/leaf2 of the DRNI system establishes in the VSI, the longer the forwarding interruption time caused by the route interruption, because unicast and broadcast next-hop hardware forwarding entries of each VXLAN tunnel need to be refreshed. The hardware forwarding table item of the leaf1/leaf2 of the DRNI system is calculated in advance, and the number of VXLAN tunnels established by the leaf1/leaf2 in the VSI does not influence the unicast of each VXLAN tunnel and the refreshing time of the broadcasting next-hop hardware forwarding table item.
Fig. 5 is a schematic diagram of a message forwarding device provided in the present application, where the device includes a setting module 510, an entry module 520, a detection module 530, and a forwarding module 540.
The setting module 510 is configured to set the three-layer interface of the public network and the three-layer interface of the internal control link as a main route and a standby route with the same priority; the internal control link three-layer interface is connected with a neighbor of the distributed elastic network interconnection system through an internal control link; the table entry module 520 is configured to create a first unicast next-hop hardware table entry for recording the three-layer interface of the public network and a second unicast next-hop hardware table entry for recording the three-layer interface of the internal control link; generating an equal cost multipath table entry pointing to the destination IP address of each VXLAN tunnel in the virtual forwarding instance; wherein the equal cost multipath table entry points to an index of the first unicast next hop hardware table entry; and the forwarding module 540 is configured to send the VXLAN unicast message sent by the virtual forwarding instance through each VXLAN tunnel through a three-layer interface of the public network.
The table entry module 520 is further configured to create, for each VXLAN tunnel in the virtual forwarding instance, a first broadcast next-hop hardware table entry corresponding to the public network three-layer interface and a second broadcast next-hop hardware table entry corresponding to the internal control link three-layer interface; recording the index of the first broadcast next-hop hardware table item and the index of the second broadcast next-hop hardware table item of each VXLAN tunnel in a forwarding example; setting a first broadcast next-hop hardware table item of each VXLAN tunnel corresponding to the public network three-layer interface to be in a forwarding state, and setting a second broadcast next-hop hardware table item of each VXLAN tunnel corresponding to the internal control link three-layer interface to be in a blocking state; and the forwarding module 540 is further configured to send VXLAN multicast messages of the virtual forwarding instance sent through each VXLAN tunnel through a three-layer interface of the public network.
The detection module 530 is configured to detect a three-layer interface failure of the public network; an entry module 520, configured to update an index of the equal-cost multipath entry pointing to the second unicast next-hop hardware entry; and the forwarding module 540 is configured to send the VXLAN unicast message sent by the virtual forwarding instance through each VXLAN tunnel through an internal control link three-layer interface.
The table entry module 520 is further configured to set a first broadcast next-hop hardware table entry corresponding to the public network three-layer interface of each VXLAN tunnel to a blocking state, and set a second broadcast next-hop hardware table entry corresponding to the internal control link three-layer interface to a forwarding state; and the forwarding module 540 sends the VXLAN multicast message of the virtual forwarding instance sent through each VXLAN tunnel through an internal control link three-layer interface.
The foregoing description of the preferred embodiment of the present invention is not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

Claims (8)

1. A method for forwarding a message, the method comprising:
setting a three-layer interface of a public network and a three-layer interface of an internal control link as a main route and a standby route with the same priority; the internal control link three-layer interface is connected with a neighbor of the distributed elastic network interconnection system through an internal control link;
creating a first unicast next-hop hardware table item for recording the three-layer interface of the public network and a second unicast next-hop hardware table item for recording the three-layer interface of the internal control link;
generating an equal cost multipath table entry pointing to the destination IP address of each VXLAN tunnel in the virtual forwarding instance; wherein the equal cost multipath entry points to an index of the first unicast next hop hardware entry;
and sending the VXLAN unicast message sent by the virtual forwarding instance through each VXLAN tunnel through the three-layer interface of the public network.
2. The method according to claim 1, characterized in that the method comprises:
creating a first broadcast next-hop hardware table entry corresponding to the public network three-layer interface and a second broadcast next-hop hardware table entry corresponding to the internal control link three-layer interface for each VXLAN tunnel in the virtual forwarding instance;
recording indexes of a first broadcast next-hop hardware table item and a second broadcast next-hop hardware table item of each VXLAN tunnel in the virtual forwarding instance;
setting a first broadcast next-hop hardware table item of each VXLAN tunnel corresponding to the three-layer interface of the public network as a forwarding state, and setting a second broadcast next-hop hardware table item of each VXLAN tunnel corresponding to the three-layer interface of the internal control link as a blocking state;
and sending the VXLAN multicast message of the virtual forwarding instance sent through each VXLAN tunnel through the public network three-layer interface.
3. The method according to claim 2, wherein the method further comprises:
detecting the fault of the three layers of interfaces of the public network;
updating the index of the equivalent multipath table item pointing to the second unicast next-hop hardware table item;
and sending the VXLAN unicast message sent by the virtual forwarding instance through each VXLAN tunnel to the neighbor through the internal control link three-layer interface.
4. A method according to claim 3, characterized in that the method further comprises:
setting a first broadcast next-hop hardware table item of each VXLAN tunnel corresponding to the three-layer interface of the public network as a blocking state, and setting a second broadcast next-hop hardware table item of each VXLAN tunnel corresponding to the three-layer interface of the internal control link as a forwarding state;
and sending the VXLAN multicast message of the virtual forwarding instance sent through each VXLAN tunnel to the neighbor through the internal control link three-layer interface.
5. A message forwarding device, the device comprising:
the setting module is used for setting the three-layer interface of the public network and the three-layer interface of the internal control link as a main route and a standby route with the same priority; the internal control link three-layer interface is connected with a neighbor of the distributed elastic network interconnection system through an internal control link;
the table item module is used for creating a first unicast next-hop hardware table item for recording the three-layer interface of the public network and a second unicast next-hop hardware table item for recording the three-layer interface of the internal control link; generating an equal cost multipath table entry pointing to the destination IP address of each VXLAN tunnel in the virtual forwarding instance; wherein the equal cost multipath entry points to an index of the first unicast next hop hardware entry;
and the forwarding module is used for sending the VXLAN unicast message sent by each VXLAN tunnel through the virtual forwarding instance through the three-layer interface of the public network.
6. The apparatus of claim 5, wherein the device comprises a plurality of sensors,
the table entry module is further configured to create, for each VXLAN tunnel in the virtual forwarding instance, a first broadcast next-hop hardware table entry corresponding to the public network three-layer interface and a second broadcast next-hop hardware table entry corresponding to the internal control link three-layer interface; recording indexes of a first broadcast next-hop hardware table item and a second broadcast next-hop hardware table item of each VXLAN tunnel in the virtual forwarding instance; setting a first broadcast next-hop hardware table item of each VXLAN tunnel corresponding to the three-layer interface of the public network as a forwarding state, and setting a second broadcast next-hop hardware table item of each VXLAN tunnel corresponding to the three-layer interface of the internal control link as a blocking state;
and the forwarding module is further configured to send VXLAN multicast messages of the virtual forwarding instance sent through each VXLAN tunnel through the three-layer interface of the public network.
7. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
the detection module is used for detecting the fault of the three layers of interfaces of the public network;
the table item module is used for updating the index of the equivalent multipath table item pointing to the second unicast next-hop hardware table item;
and the forwarding module is used for sending the VXLAN unicast message sent by each VXLAN tunnel through the virtual forwarding instance through the internal control link three-layer interface.
8. The apparatus of claim 7, wherein the apparatus further comprises:
the table entry module is further configured to set a first broadcast next-hop hardware table entry corresponding to the public network three-layer interface of each VXLAN tunnel to be in a blocking state, and set a second broadcast next-hop hardware table entry corresponding to the internal control link three-layer interface to be in a forwarding state;
and the forwarding module sends the VXLAN multicast message of the virtual forwarding instance sent through each VXLAN tunnel through the internal control link three-layer interface.
CN202210164048.0A 2022-02-22 2022-02-22 Message forwarding method and device Active CN114567522B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210164048.0A CN114567522B (en) 2022-02-22 2022-02-22 Message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210164048.0A CN114567522B (en) 2022-02-22 2022-02-22 Message forwarding method and device

Publications (2)

Publication Number Publication Date
CN114567522A CN114567522A (en) 2022-05-31
CN114567522B true CN114567522B (en) 2024-03-12

Family

ID=81714823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210164048.0A Active CN114567522B (en) 2022-02-22 2022-02-22 Message forwarding method and device

Country Status (1)

Country Link
CN (1) CN114567522B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277550B (en) * 2022-06-21 2023-11-28 阿里巴巴(中国)有限公司 Routing system, routing method and routing device of virtual network
CN115086106B (en) * 2022-06-22 2023-12-19 杭州云合智网技术有限公司 HASH method with VXLAN known group broadcasting port as tunnel

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865779A (en) * 2020-07-13 2020-10-30 中国联合网络通信集团有限公司 Route synchronization method and cross-device link aggregation group
CN112367257A (en) * 2020-10-30 2021-02-12 新华三技术有限公司 Route notification method and device
CN113794635A (en) * 2021-08-05 2021-12-14 新华三信息安全技术有限公司 Message forwarding method and device
CN113992582A (en) * 2021-09-17 2022-01-28 新华三信息安全技术有限公司 Message forwarding method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064995B (en) * 2009-11-18 2012-12-19 中兴通讯股份有限公司 Method and device for link protection in virtual private local area network
CN112929274A (en) * 2017-03-14 2021-06-08 华为技术有限公司 Method, equipment and system for processing route

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865779A (en) * 2020-07-13 2020-10-30 中国联合网络通信集团有限公司 Route synchronization method and cross-device link aggregation group
CN112367257A (en) * 2020-10-30 2021-02-12 新华三技术有限公司 Route notification method and device
CN113794635A (en) * 2021-08-05 2021-12-14 新华三信息安全技术有限公司 Message forwarding method and device
CN113992582A (en) * 2021-09-17 2022-01-28 新华三信息安全技术有限公司 Message forwarding method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
网络设备虚拟化下路由选择问题探讨;朱虹;;金融科技时代(第07期);全文 *

Also Published As

Publication number Publication date
CN114567522A (en) 2022-05-31

Similar Documents

Publication Publication Date Title
EP3379806B1 (en) Packet processing method, related apparatus and nvo3 network system
CN107819677B (en) Message forwarding method and device
WO2018054156A1 (en) Vxlan message forwarding method, device and system
US8472447B2 (en) IP multicast snooping and routing with multi-chassis link aggregation
US6219739B1 (en) Spanning tree with fast link-failure convergence
JP5661929B2 (en) System and method for multi-chassis link aggregation
CN114567522B (en) Message forwarding method and device
US8694664B2 (en) Active-active multi-homing support for overlay transport protocol
EP4016932A1 (en) Evpn and vpls coexistence method, apparatus, and system
CN109995654B (en) Method and device for transmitting data based on tunnel
US20150334057A1 (en) Packet forwarding
US10110465B2 (en) Distributed HSRP gateway in VxLAN flood and learn environment with faster convergence
WO2022062506A1 (en) Data processing method and apparatus, storage medium, and electronic apparatus
CN104378297A (en) Message forwarding method and device
KR20140127904A (en) System and method for virtual fabric link failure recovery
EP3588868B1 (en) Coordinating pseudowire connection characteristics and multi-homed provider edge device capabilities
CN112671642A (en) Message forwarding method and device
US10757066B2 (en) Active-active access to transparent interconnection of lots of links (TRILL) edges
US11063784B2 (en) Centralized management of authoritative edge devices
US9548887B2 (en) Proactive creation of multicast state in an overlay transport network to achieve fast convergence on failover
CN113794635B (en) Message forwarding method and device
WO2015184730A1 (en) Primary and alternate routing equipment, and backup, switching method and routing system therebetween
CN113794615A (en) Message forwarding method and device
CN117614892A (en) Method and equipment for realizing rapid rerouting
CN110572317A (en) Method and system for realizing dynamic ARP hot backup in telecommunication network

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