Message forwarding method and device for aggregating multi-sending routing redundancy, equipment and medium
By using LACP and BGP protocols in the network, configuration is simplified and equipment utilization is improved, which solves the problems of complex configuration and low equipment utilization in the existing technology, achieves more balanced traffic load and fault tolerance, and improves the overall network Performance and security.
Patent Information
- Application Number
- CN202410776862.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-08
AI Technical Summary
The existing redundant packet forwarding method for aggregated multi-routing has complicated configurations, high failure rate, low device utilization, and the active-standby working mode leads to unbalanced traffic load.
By connecting multiple host devices to the Layer 2 switch LACP through the same VLAN network, configuring the same gateway, connecting to two Layer 3 switches, turning on multicast isolation, configuring the same IPv6 address and MAC, establishing a BGP routing protocol to achieve bidirectional ND message sending and host route conversion so that multiple devices can work at the same time and perform traffic load balancing.
It simplifies the configuration process, reduces the failure rate, improves equipment utilization and network reliability, achieves traffic load balancing and fault tolerance, and enhances the overall performance and security of the network.
Smart Images

Figure CN118748649A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and medium for forwarding messages with aggregated multi-routing redundancy. Background Art
[0002] In the current network environment, the aggregation of multi-route redundancy messages usually adopts MLAG (Multi-Link Aggregation Group) combined with VRRP (Virtual Routing Redundancy Protocol) for packet forwarding. MLAG is responsible for Layer 2 redundancy. By virtualizing two physical devices into one device at the aggregation level, cross-device link aggregation is achieved, providing device-level redundancy protection and traffic load sharing. VRRP is a routing protocol that solves the single point failure phenomenon of static gateway configuration in LANs, and is widely used in edge networks.
[0003] However, the existing solutions have some disadvantages. First, the configuration process is cumbersome and prone to high failure rates. In addition, the active-standby working mode results in only one device working, resulting in low device utilization. Summary of the invention
[0004] One or more embodiments of the present specification provide a method, device, equipment and medium for forwarding messages with aggregated multi-routing redundancy, which are used to solve the technical problems raised by the background technology.
[0005] One or more embodiments of this specification adopt the following technical solutions:
[0006] One or more embodiments of this specification provide a method for forwarding a message with aggregated multi-routing redundancy, the method comprising:
[0007] Connect multiple host devices to the layer 2 switch LACP through the same VLAN network, and configure the same gateway for the multiple host devices, the multiple host devices including a first host device and a second host device;
[0008] Connect the LACP to two three-layer switches, connect the two three-layer switches to the cloud, and respectively configure the uplink ports of the two three-layer switches to link with the downlink ports, wherein the two three-layer switches include a first three-layer switch and a second three-layer switch;
[0009] Enable multicast isolation for the multiple host devices;
[0010] The LACP sends the ND message bidirectionally so that the multiple host devices send ND requests to the two three-layer switches at the same time;
[0011] The two layer 3 switches are configured with the same IPv6 address and MAC so that the two layer 3 switches can convert neighbor information into host routes and enable ND proxy answering after learning the neighbor information;
[0012] The two three-layer switches establish a BGP routing protocol with the cloud, so as to publish the host routes corresponding to the two three-layer switches to the cloud, complete the networking topology construction, and forward messages through the networking topology.
[0013] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0014] Simplified configuration: Compared with the existing complex configuration process, this method is simpler to configure, reduces the risk of configuration errors, and improves system reliability.
[0015] Improve equipment utilization: By using multiple devices working simultaneously, the problem of low equipment utilization in the active-standby working mode is avoided, and the performance of the equipment is fully utilized.
[0016] Optimize traffic load sharing: Achieve more balanced traffic distribution among multiple host devices, avoid excessive concentration of traffic on a single device, and improve the overall efficiency of the network.
[0017] Furthermore, when the first host device accesses the first designated external device in the external network, the message forwarding through the networking topology includes:
[0018] Sending a first ND message to the LACP through the first host device to search for neighbor information of the first host device;
[0019] Multicasting the first ND message through the LACP, forwarding the first ND message to the two connected three-layer switches respectively, so that the LACP learns the neighbor information of the two three-layer switches, and converts the neighbor information of the two three-layer switches into host routes of the two three-layer switches, wherein the neighbor information includes MAC, and the host routes of the two three-layer switches include the host route of the first three-layer switch and the host route of the second three-layer switch;
[0020] Replying to the first host device through the LACP that the two layer-3 switches are gateway neighbors;
[0021] A first data packet is sent to the LACP through the first host device, the first data packet is sent to the first three-layer switch or the second three-layer switch through the LACP, and the first data packet is sent to the first designated external device through the first three-layer switch or the second three-layer switch.
[0022] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0023] Improve network reliability: By multicasting and forwarding ND messages to two Layer 3 switches, redundant neighbor information is obtained. Even if one switch fails, the other switch can still provide neighbor information, improving network reliability.
[0024] Realize traffic load balancing: LACP sends the first data packet to the first three-layer switch or the second three-layer switch, realizing load balancing of traffic between the two three-layer switches, avoiding excessive load on a single switch, and improving the overall performance of the network.
[0025] Enhanced network fault tolerance: When a link between the first host device and one of the three-layer switches fails, LACP can send data packets to the specified external device through another three-layer switch, thereby enhancing the network's fault tolerance and reducing the impact of network failures on data transmission.
[0026] Further, when the first host device accesses the second host device, forwarding the message through the networking topology includes:
[0027] Sending a second ND message to the LACP through the first host device;
[0028] Sending the second ND message to the two layer-3 switches through the LACP;
[0029] Performing ND proxy reply through the two layer-3 switches, replying the IPv6 address of the second host device and the MAC addresses of the two layer-3 switches to the first host device, so that the first host device learns the virtual neighbor information of the second host device;
[0030] Sending a second data packet to the LACP through the first host device;
[0031] Sending the second data packet to the first three-layer switch or the second three-layer switch through the LACP;
[0032] The second data packet is forwarded to the second host device through the first three-layer switch or the second three-layer switch.
[0033] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0034] Ensure network security: Based on the fact that multicast isolation has been enabled on multiple host devices, the first host device cannot directly access the second host device, which can prevent unauthorized devices from accessing sensitive network resources, thereby improving the security of the entire network.
[0035] Optimize network performance: Although the first host device cannot directly access the second host device, the second ND message is sent to two Layer 3 switches through LACP, and they perform ND proxy answering, which can ensure that the first host device can still learn the virtual neighbor information of the second host device. This helps to optimize network performance and reduce unnecessary broadcast traffic and conflicts.
[0036] Improve network scalability: Through the combination of LACP and multiple host devices, the network scale can be easily expanded and more host devices can be added without significantly affecting network performance.
[0037] Support cross-VLAN communication: If the first host device and the second host device belong to different VLANs, message forwarding through LACP and a layer-3 switch can support cross-VLAN communication and improve network flexibility.
[0038] Convenient network management: By enabling multicast isolation on multiple host devices, different host devices can be divided into different multicast domains, making it easier for network administrators to manage and configure the network.
[0039] Furthermore, before forwarding the second data message to the second host device through the first three-layer switch or the second three-layer switch, the method further includes:
[0040] Determine whether the neighbor information of the second host device exists in the neighbor tables of the two layer-3 switches;
[0041] If the neighbor tables of the two three-layer switches contain the neighbor information of the second host device, the neighbor information of the second host device is converted into a host route of the second host device, and the second data packet is forwarded to the second host device through the first three-layer switch or the second three-layer switch.
[0042] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0043] Improve the accuracy of message forwarding: By judging whether the neighbor table contains the neighbor information of the second host device, it is ensured that routing conversion and message forwarding are performed only when valid neighbor information exists. This helps to avoid invalid message forwarding and improves the accuracy and reliability of the network.
[0044] Optimize network performance: Converting neighbor information into host routes can improve routing efficiency and speed, avoid blind message forwarding in the network, and reduce unnecessary network overhead and delay.
[0045] Enhanced fault tolerance of the network: If the neighbor information of the second host device exists in the neighbor table, the optimal route can be selected for message forwarding according to a certain routing strategy. This improves the fault tolerance of the network in the event of a failure and ensures that data can be transmitted to the destination in a timely and accurate manner.
[0046] Further, if the neighbor tables of the two layer-3 switches do not contain the neighbor information of the second host device, the method further includes:
[0047] Sending a multicast message to other devices through the two layer-3 switches, so as to learn the neighbor information of the second master device through the other devices, wherein the other devices at least include the second master device;
[0048] The neighbor information of the second host device is converted into a host route of the second host device, and the second data packet is forwarded to the second host device through the first three-layer switch or the second three-layer switch.
[0049] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0050] Improve the efficiency of neighbor discovery: By sending multicast messages, other devices (including the second host device) can quickly learn the neighbor information of the second host device. This helps to speed up the dissemination and update of neighbor information in the network and improve the efficiency of neighbor discovery.
[0051] Enhanced network adaptability: Even if the neighbor information of the second host device does not initially exist in the neighbor table, the method can still obtain the neighbor information through multicast messages, so that the network can adapt to the dynamic changes of the device. This improves the flexibility and adaptability of the network.
[0052] Optimize the message forwarding path: Converting neighbor information into host routes helps optimize the message forwarding path. Message forwarding based on host routes can reduce detours and unnecessary hops in the network, improving the efficiency and speed of message forwarding.
[0053] Further, if the downlink of the first three-layer switch fails, the third message data is sent to the first host device through the second designated external device of the external network, and when it reaches the first three-layer switch, the method further includes:
[0054] Deleting the faulty host routes related to the first three-layer switch and the plurality of host devices;
[0055] Synchronizing the failed host route by the BGP routing protocol through the second layer-3 switch;
[0056] The BGP routing protocol is forwarded to the second three-layer switch through the first three-layer switch, so that the third message data is sent to the first host device through the second three-layer switch.
[0057] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0058] Improve network availability: When the first three-layer switch fails, the third message data is sent to the first host device through the second designated external device of the external network, ensuring data continuity and availability.
[0059] Avoid single point failure: Delete the routes related to the faulty host, synchronize the routes of the faulty host through the second three-layer switch, realize redundant backup, and avoid the impact of single point failure on the network.
[0060] Optimize network performance: By forwarding the faulty host route to the second three-layer switch, which sends the third message data to the first host device, the burden of the first three-layer switch is reduced and the network performance is optimized.
[0061] Further, when the uplink of the first three-layer switch fails, the fourth message data is sent to the third designated external device of the external network through the first host device or the second host device, the method further includes:
[0062] Close the downlink port of the first three-layer switch;
[0063] Sending the fourth message data to the LACP through the first host device or the second host device;
[0064] The fourth message data is sent to the second three-layer switch through the LACP, so as to send the fourth message data to the third designated external device through the second three-layer switch.
[0065] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0066] Improve network reliability: When the uplink of the first three-layer switch fails, by closing its downlink port and sending the message data to the second three-layer switch through LACP, it ensures that the data can be reliably transmitted to the third designated external device in the external network, reducing the risk of network interruption and improving network reliability.
[0067] Realize fault switching: By shutting down the downlink port of the switch with the uplink fault, you can quickly switch to the backup path to avoid data loss or interruption, thus realizing the fault switching function.
[0068] Optimize network traffic: By sending packet data to the second and third layer switches in a load-balanced manner through LACP, the bandwidth of the network link can be fully utilized, network traffic can be optimized, and the overall performance of the network can be improved.
[0069] Increase network stability: Using the LACP protocol can provide link redundancy. When one link fails, it automatically switches to other available links, increasing the stability and fault tolerance of the network.
[0070] One or more embodiments of this specification provide a message forwarding device with aggregated multi-routing redundancy, including:
[0071] A first access configuration unit connects a plurality of host devices to the layer 2 switch LACP through the same VLAN network, and configures a same gateway for the plurality of host devices, the plurality of host devices including a first host device and a second host device;
[0072] A second access configuration unit connects the LACP to two three-layer switches, connects the two three-layer switches to the cloud, and respectively configures the uplink ports of the two three-layer switches to link with the downlink ports, wherein the two three-layer switches include a first three-layer switch and a second three-layer switch;
[0073] An isolation unit, enabling multicast isolation for the plurality of host devices;
[0074] A sending unit, bidirectionally sending the LACP for the ND message, so that when the multiple host devices send ND requests, they are sent to the two three-layer switches at the same time;
[0075] The address configuration unit configures the two layer 3 switches with the same IPv6 address and MAC, so that the two layer 3 switches can respectively convert into host routes after learning neighbor information, and enable ND proxy answering;
[0076] The protocol establishment unit establishes a BGP routing protocol between the two three-layer switches and the cloud, so as to publish the host routes corresponding to the two three-layer switches to the cloud, complete the networking topology construction, and forward messages through the networking topology.
[0077] One or more embodiments of this specification provide a message forwarding device with aggregated multi-routing redundancy, including:
[0078] at least one processor; and,
[0079] a memory communicatively connected to the at least one processor; wherein,
[0080] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0081] Connect multiple host devices to the layer 2 switch LACP through the same VLAN network, and configure the same gateway for the multiple host devices, the multiple host devices including a first host device and a second host device;
[0082] Connect the LACP to two three-layer switches, connect the two three-layer switches to the cloud, and respectively configure the uplink ports of the two three-layer switches to link with the downlink ports, wherein the two three-layer switches include a first three-layer switch and a second three-layer switch;
[0083] Enable multicast isolation for the multiple host devices;
[0084] The LACP sends the ND message bidirectionally so that the multiple host devices send ND requests to the two three-layer switches at the same time;
[0085] The two layer 3 switches are configured with the same IPv6 address and MAC so that the two layer 3 switches can convert neighbor information into host routes and enable ND proxy answering after learning the neighbor information;
[0086] The two three-layer switches establish a BGP routing protocol with the cloud, so as to publish the host routes corresponding to the two three-layer switches to the cloud, complete the networking topology construction, and forward messages through the networking topology.
[0087] One or more embodiments of this specification provide a non-volatile computer storage medium storing computer executable instructions, which can achieve the following when executed by a computer:
[0088] Connect multiple host devices to the layer 2 switch LACP through the same VLAN network, and configure the same gateway for the multiple host devices, the multiple host devices including a first host device and a second host device;
[0089] Connect the LACP to two three-layer switches, connect the two three-layer switches to the cloud, and respectively configure the uplink ports of the two three-layer switches to link with the downlink ports, wherein the two three-layer switches include a first three-layer switch and a second three-layer switch;
[0090] Enable multicast isolation for the multiple host devices;
[0091] The LACP sends the ND message bidirectionally so that the multiple host devices send ND requests to the two three-layer switches at the same time;
[0092] The two layer 3 switches are configured with the same IPv6 address and MAC so that the two layer 3 switches can convert neighbor information into host routes and enable ND proxy answering after learning the neighbor information;
[0093] The two three-layer switches establish a BGP routing protocol with the cloud, so as to publish the host routes corresponding to the two three-layer switches to the cloud, complete the networking topology construction, and forward messages through the networking topology.
[0094] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:
[0095] Simplified configuration: Compared with the existing complex configuration process, this method is simpler to configure, reduces the risk of configuration errors, and improves system reliability.
[0096] Improve equipment utilization: By using multiple devices working simultaneously, the problem of low equipment utilization in the active-standby working mode is avoided, and the performance of the equipment is fully utilized.
[0097] Optimize traffic load sharing: Achieve more balanced traffic distribution among multiple host devices, avoid excessive concentration of traffic on a single device, and improve the overall efficiency of the network. BRIEF DESCRIPTION OF THE DRAWINGS
[0098] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:
[0099] Figure 1 A flowchart of a method for forwarding messages with aggregated multi-routing redundancy provided in one or more embodiments of this specification;
[0100] Figure 2 A current aggregation multi-route redundant message forwarding network topology diagram provided for one or more embodiments of this specification;
[0101] Figure 3 A schematic diagram of a network topology provided for one or more embodiments of this specification;
[0102] Figure 4A schematic diagram of the structure of a message forwarding device with aggregated multi-routing redundancy provided for one or more embodiments of this specification;
[0103] Figure 5 A schematic diagram of the structure of a message forwarding device with aggregated multi-routing redundancy provided in one or more embodiments of this specification. DETAILED DESCRIPTION
[0104] The embodiments of the present specification provide a method, device, equipment and medium for forwarding messages with aggregated multi-routing redundancy.
[0105] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0106] Figure 1 A schematic diagram of a flow chart of a method for forwarding a message with aggregated multi-routing redundancy provided in one or more embodiments of this specification, which can be executed by a message forwarding system. Certain input parameters or intermediate results in the process allow manual intervention and adjustment to help improve accuracy.
[0107] The method steps of the embodiment of this specification are as follows:
[0108] S102, multiple host devices are connected to a layer 2 switch LACP through the same VLAN network, and the same gateway is configured for the multiple host devices, the multiple host devices including a first host device and a second host device.
[0109] In the embodiments of the present specification, multiple host devices may be physically connected to the layer 2 switch LACP, all host device ports connected to the LACP may be divided into the same VLAN, and the same gateway address may be configured for all host devices.
[0110] Among them, LACP (Link Aggregation Control Protocol) is a protocol that implements dynamic link aggregation and deaggregation. The LACP protocol bundles multiple physical links together to form a logical link, thereby improving link bandwidth and reliability.
[0111] Configuring the same gateway on multiple host devices has the following effects:
[0112] Unified network egress: Ensure that multiple host devices access the external network through the same gateway device, making it easier to manage and control network traffic.
[0113] Simplified configuration: Reduces the complexity of configuring different gateways for each host device individually.
[0114] Improved network stability: If a gateway fails, both devices will be affected equally, making troubleshooting and recovery easier.
[0115] S104, connecting the LACP to two three-layer switches, connecting the two three-layer switches to the cloud, and respectively configuring the uplink ports of the two three-layer switches to link with the downlink ports, the two three-layer switches including a first three-layer switch and a second three-layer switch.
[0116] In the examples of this specification, the following specific implementation schemes can be used:
[0117] Network topology planning: Design the network topology according to specific needs. Determine the connection method between LACP, two three-layer switches, and the cloud, including physical wiring and network address allocation.
[0118] LACP configuration: Enable LACP protocol on both Layer 3 switches. Determine the ports to be bound and configure them as LACP members. Set LACP parameters such as heartbeat interval, priority, etc. as required.
[0119] Layer 3 switch configuration: Configure uplink and downlink ports. The uplink port is used to connect to the cloud, and the downlink port is used to connect to LACP. Configure VLANs and subnets to ensure that different network segments can communicate. Enable routing to forward data packets between different networks.
[0120] Uplink port linkage with downlink port settings: On each Layer 3 switch, configure the linkage relationship between the uplink port and the downlink port.
[0121] Cloud configuration: Create a corresponding network connection in the cloud and connect it to the uplink ports of the two layer 3 switches. Configure network rules, firewalls and other security policies to ensure network security.
[0122] S106: Enable multicast isolation for the multiple host devices.
[0123] In the embodiments of this specification, the multicast isolation function can be enabled on the network device, and a multicast address filter table can be configured to allow a specific multicast group to pass.
[0124] Through the above implementation scheme, multicast isolation can be achieved between multiple host devices to ensure that multicast traffic is only transmitted within the allowed range, avoiding unnecessary multicast proliferation and bandwidth waste.
[0125] S108, bidirectionally sending the LACP for the ND message, so that the multiple host devices send ND requests to the two three-layer switches at the same time.
[0126] In the examples of this specification, the following specific implementation schemes can be used:
[0127] Switch configuration: Enable the ND protocol on the two Layer 3 switches; configure the LACP interface to enable it to process ND packets; enable the bidirectional ND sending function to ensure that ND requests can be sent to the two Layer 3 switches at the same time.
[0128] ND configuration: Enable the ND protocol on multiple host devices; configure the host device's ND request sending method so that it can send ND requests to two Layer 3 switches at the same time; ensure that the host device's ND request contains the correct target address and other necessary information.
[0129] S110, configuring the two layer 3 switches with the same IPv6 address and MAC, so that the two layer 3 switches can convert neighbor information into host routes respectively after learning it, and start ND proxy reply.
[0130] In the examples of this specification, the following specific implementation schemes can be used:
[0131] IPv6 address and MAC configuration: Configure the same IPv6 address and MAC on the two Layer 3 switches to ensure the uniqueness and correctness of the IPv6 address.
[0132] Neighbor information learning: Let two Layer 3 switches establish a neighbor relationship; ensure that they can learn neighbor information from each other.
[0133] Host route conversion: Configure the function of converting the learned neighbor information into host routes on the two Layer 3 switches. Make corresponding settings according to the functions and configuration methods of the specific devices.
[0134] ND proxy is enabled: Enable the ND proxy function on the two Layer 3 switches. ND proxy is used to respond to neighbor discovery requests and provide corresponding information.
[0135] S112, establishing a BGP routing protocol between the two three-layer switches and the cloud, so as to publish the host routes corresponding to the two three-layer switches to the cloud, complete the networking topology construction, and forward messages through the networking topology.
[0136] In the examples of this specification, the following specific implementation schemes can be used:
[0137] Configure the Layer 3 switches: Configure BGP on the two Layer 3 switches and specify the parameters for establishing a BGP session with the cloud (such as peer IP address, autonomous system number, etc.); configure routing policies to publish host routes to the cloud; ensure that the network connection between the switch and the cloud is normal, and configure appropriate interfaces and IP addresses.
[0138] Configure the cloud: Configure BGP protocol on the cloud service provider and specify the parameters for establishing BGP sessions with the two Layer 3 switches. Configure routing policies to receive and process host routes from the switches. Ensure that the network connection between the cloud and the switches is normal and configure the appropriate interfaces and IP addresses.
[0139] Publish host routes: Configure routing policies on the Layer 3 switch and publish host routes to the cloud. Ensure the correctness and completeness of route publishing.
[0140] Verify the network topology: Use a network monitoring tool or command line tool to verify whether the BGP session between the switch and the cloud is successfully established. Check the routing table to ensure that the host routes are correctly transmitted and learned between the switch and the cloud.
[0141] Further, when the first host device accesses the first designated external device of the external network, when forwarding the message through the networking topology, the first host device can send a first ND message to the LACP to find the neighbor information of the first host device; the first ND message is multicast through the LACP, and the first ND message is forwarded to the two connected three-layer switches respectively, so that the LACP learns the neighbor information of the two three-layer switches, and converts the neighbor information of the two three-layer switches into host routes of the two three-layer switches, the neighbor information includes MAC, and the host routes of the two three-layer switches include the host route of the first three-layer switch and the host route of the second three-layer switch; the two three-layer switches are replied to the first host device through the LACP as gateway neighbors; the first host device sends a first data message to the LACP, the first data message is sent to the first three-layer switch or the second three-layer switch through the LACP, and the first data message is sent to the first designated external device through the first three-layer switch or the second three-layer switch.
[0142] It should be noted that the following specific implementation schemes can be adopted:
[0143] Confirm the network topology: Determine the connection relationship between the first host device, LACP, and the two Layer 3 switches. Understand the layout and configuration of other devices in the network.
[0144] ND message sending: Configure the function of sending ND messages on the first host device. Ensure that the content of the ND message contains a request for searching neighbor information.
[0145] LACP multicast and neighbor information learning: Configure the multicast function on LACP to forward the received ND message to the two connected Layer 3 switches. After receiving the ND message, the two Layer 3 switches learn and record the neighbor information of the first host device, including the MAC address.
[0146] Host route conversion: Configure the function of converting the learned neighbor information into host routes on LACP. Convert the neighbor information of two Layer 3 switches into corresponding host routes.
[0147] Reply to gateway neighbors: LACP replies to the first host device, informing it that the two layer 3 switches are gateway neighbors.
[0148] Data message sending: The first host device sends a first data message. LACP sends the data message to the first three-layer switch or the second three-layer switch according to the routing table. The first three-layer switch or the second three-layer switch forwards the data message to the first designated external device.
[0149] Monitoring and optimization: Monitor the traffic and connection status in the network to ensure normal message forwarding. Optimize network configuration as needed, such as adjusting load balancing strategies or improving routing selection.
[0150] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0151] Improve network reliability: By multicasting and forwarding ND messages to two Layer 3 switches, redundant neighbor information is obtained. Even if one switch fails, the other switch can still provide neighbor information, improving network reliability.
[0152] Realize traffic load balancing: LACP sends the first data packet to the first three-layer switch or the second three-layer switch, realizing load balancing of traffic between the two three-layer switches, avoiding excessive load on a single switch, and improving the overall performance of the network.
[0153] Enhanced network fault tolerance: When a link between the first host device and one of the three-layer switches fails, LACP can send data packets to the specified external device through another three-layer switch, thereby enhancing the network's fault tolerance and reducing the impact of network failures on data transmission.
[0154] Furthermore, when the first host device accesses the second host device, when forwarding messages through the networking topology, a second ND message can be sent to the LACP through the first host device; the second ND message can be sent to the two three-layer switches through the LACP; ND proxy is performed through the two three-layer switches, and the IPv6 address of the second host device and the MAC addresses of the two three-layer switches are replied to the first host device, so that the first host device learns the virtual neighbor information of the second host device; a second data message is sent to the LACP through the first host device; the second data message is sent to the first three-layer switch or the second three-layer switch through the LACP; and the second data message is forwarded to the second host device through the first three-layer switch or the second three-layer switch.
[0155] It should be noted that the following specific implementation schemes can be adopted:
[0156] Configure the corresponding devices: Perform necessary configurations on the first host device, LACP, and two Layer 3 switches, such as enabling the ND function and configuring IP addresses.
[0157] Sending an ND message: The first host device sends a second ND message to the LACP to query the information of the second host device.
[0158] Receiving and processing ND packets: LACP sends the received second ND packets to the two Layer 3 switches.
[0159] ND proxy: After receiving the ND message, the two three-layer switches perform ND proxy and reply the IPv6 address of the second host device and its own MAC address to the first host device.
[0160] Learning virtual neighbor information: After receiving the reply, the first host device learns the virtual neighbor information of the second host device.
[0161] Sending a data message: The first host device sends the second data message to the LACP.
[0162] Forwarding the data message: LACP sends the second data message to the first three-layer switch or the second three-layer switch.
[0163] Final forwarding: The first three-layer switch or the second three-layer switch forwards the data message to the second host device.
[0164] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0165] Ensure network security: Based on the fact that multicast isolation has been enabled on multiple host devices, the first host device cannot directly access the second host device, which can prevent unauthorized devices from accessing sensitive network resources, thereby improving the security of the entire network.
[0166] Optimize network performance: Although the first host device cannot directly access the second host device, the second ND message is sent to two Layer 3 switches through LACP, and they perform ND proxy answering, which can ensure that the first host device can still learn the virtual neighbor information of the second host device. This helps to optimize network performance and reduce unnecessary broadcast traffic and conflicts.
[0167] Improve network scalability: Through the combination of LACP and multiple host devices, the network scale can be easily expanded and more host devices can be added without significantly affecting network performance.
[0168] Support cross-VLAN communication: If the first host device and the second host device belong to different VLANs, message forwarding through LACP and a layer-3 switch can support cross-VLAN communication and improve network flexibility.
[0169] Convenient network management: By enabling multicast isolation on multiple host devices, different host devices can be divided into different multicast domains, making it easier for network administrators to manage and configure the network.
[0170] Furthermore, before forwarding the second data packet to the second host device through the first three-layer switch or the second three-layer switch, it can be determined whether the neighbor information of the second host device exists in the neighbor tables of the two three-layer switches; if the neighbor information of the second host device exists in the neighbor tables of the two three-layer switches, the neighbor information of the second host device is converted into the host route of the second host device, and the second data packet is forwarded to the second host device through the first three-layer switch or the second three-layer switch.
[0171] It should be noted that a monitoring mechanism is set on the first three-layer switch and the second three-layer switch to monitor in real time whether there is neighbor information of the second host device in the neighbor table. The switch is configured to first check the neighbor table when receiving a data message from the first host device. If there is neighbor information of the second host device in the neighbor table, the switch will automatically convert the neighbor information into a host route. According to the converted host route, the switch accurately forwards the second data message to the second host device. Ensure that the switch's routing table is updated in a timely manner to reflect the dynamic changes of the host devices in the network.
[0172] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0173] Improve the accuracy of message forwarding: By judging whether the neighbor table contains the neighbor information of the second host device, it is ensured that routing conversion and message forwarding are performed only when valid neighbor information exists. This helps to avoid invalid message forwarding and improves the accuracy and reliability of the network.
[0174] Optimize network performance: Converting neighbor information into host routes can improve routing efficiency and speed, avoid blind message forwarding in the network, and reduce unnecessary network overhead and delay.
[0175] Enhanced fault tolerance of the network: If the neighbor information of the second host device exists in the neighbor table, the optimal route can be selected for message forwarding according to a certain routing strategy. This improves the fault tolerance of the network in the event of a failure and ensures that data can be transmitted to the destination in a timely and accurate manner.
[0176] Furthermore, if the neighbor information of the second host device does not exist in the neighbor table of the two three-layer switches, multicast messages can be sent to other devices through the two three-layer switches to learn the neighbor information of the second main device through the other devices, and the other devices at least include the second main device; the neighbor information of the second host device is converted into the host route of the second host device, and the second data message is forwarded to the second host device through the first three-layer switch or the second three-layer switch.
[0177] It should be noted that the following specific implementation schemes can be adopted:
[0178] Send multicast messages: If the information of the second host device is not found in the neighbor table, multicast messages are sent to other devices through two three-layer switches.
[0179] Learning neighbor information: ensuring that the second host device or other related devices receive the multicast message and learn the neighbor information of the second host device from it.
[0180] Converting the host route: converting the neighbor information of the second host device into the host route of the second host device.
[0181] Forwarding the second data message: sending the second data message to the destination host device according to the host route through the first three-layer switch or the second three-layer switch.
[0182] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0183] Improve the efficiency of neighbor discovery: By sending multicast messages, other devices (including the second host device) can quickly learn the neighbor information of the second host device. This helps to speed up the dissemination and update of neighbor information in the network and improve the efficiency of neighbor discovery.
[0184] Enhanced network adaptability: Even if the neighbor information of the second host device does not initially exist in the neighbor table, the method can still obtain the neighbor information through multicast messages, so that the network can adapt to the dynamic changes of the device. This improves the flexibility and adaptability of the network.
[0185] Optimize the message forwarding path: Converting neighbor information into host routes helps optimize the message forwarding path. Message forwarding based on host routes can reduce detours and unnecessary hops in the network, improving the efficiency and speed of message forwarding.
[0186] Furthermore, if the downstream link of the first three-layer switch fails, the third message data is sent to the first host device through the second designated external device of the external network, and when it reaches the first three-layer switch, the faulty host route related to the first three-layer switch and the multiple host devices can be deleted; the faulty host route is synchronized by the BGP routing protocol through the second three-layer switch; and the BGP routing protocol is forwarded to the second three-layer switch through the first three-layer switch, so that the third message data is sent to the first host device through the second three-layer switch.
[0187] It should be noted that the following specific implementation schemes can be adopted:
[0188] Fault detection: Through the monitoring system or other means, real-time detection is performed to see if there is any fault in the downstream link of the first three-layer switch.
[0189] Deleting faulty host routes: Once a downlink failure is detected, the faulty host routes associated with multiple host devices are deleted on the first layer 3 switch.
[0190] Synchronize faulty host routes: The second Layer 3 switch synchronizes these faulty host routes through the BGP routing protocol.
[0191] Forwarding message data: The second designated external device of the external network sends the third message data to the first host device. When the data reaches the first three-layer switch, the data cannot be forwarded through the switch because the faulty host route has been deleted.
[0192] Data is forwarded to the second Layer 3 switch: The BGP routing protocol forwards the third message data to the second Layer 3 switch. Because the second Layer 3 switch has synchronized the faulty host route, it can correctly send the data to the first host device.
[0193] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0194] Improve network availability: When the first three-layer switch fails, the third message data is sent to the first host device through the second designated external device of the external network, ensuring data continuity and availability.
[0195] Avoid single point failure: Delete the routes related to the faulty host, synchronize the routes of the faulty host through the second three-layer switch, realize redundant backup, and avoid the impact of single point failure on the network.
[0196] Optimize network performance: By forwarding the faulty host route to the second three-layer switch, which sends the third message data to the first host device, the burden of the first three-layer switch is reduced and the network performance is optimized.
[0197] Furthermore, when the uplink of the first three-layer switch fails and the fourth message data is sent to the third designated external device of the external network through the first host device or the second host device, the downlink port of the first three-layer switch can be closed; the fourth message data is sent to the LACP through the first host device or the second host device; the fourth message data is sent to the second three-layer switch through the LACP, so as to send the fourth message data to the third designated external device through the second three-layer switch.
[0198] It should be noted that the following specific implementation schemes can be adopted:
[0199] Fault detection: Real-time monitoring of the uplink status of the first three-layer switch to determine whether a fault has occurred.
[0200] Downlink port closure: When an uplink failure of the first layer 3 switch is detected, its downlink port is immediately closed.
[0201] The message is sent to the LACP: the first host device or the second host device sends the fourth message data to the LACP.
[0202] Forwarding through LACP: LACP sends the received fourth message data to the second three-layer switch.
[0203] Data is sent to the external network: the second layer 3 switch sends the fourth message data to the third designated external device of the external network.
[0204] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0205] Improve network reliability: When the uplink of the first three-layer switch fails, by closing its downlink port and sending the message data to the second three-layer switch through LACP, it ensures that the data can be reliably transmitted to the third designated external device in the external network, reducing the risk of network interruption and improving network reliability.
[0206] Realize fault switching: By shutting down the downlink port of the switch with the uplink fault, you can quickly switch to the backup path to avoid data loss or interruption, thus realizing the fault switching function.
[0207] Optimize network traffic: By sending packet data to the second and third layer switches in a load-balanced manner through LACP, the bandwidth of the network link can be fully utilized, network traffic can be optimized, and the overall performance of the network can be improved.
[0208] Increase network stability: Using the LACP protocol can provide link redundancy. When one link fails, it automatically switches to other available links, increasing the stability and fault tolerance of the network.
[0209] It should be noted that the embodiments of this specification have the following beneficial effects through the above contents:
[0210] Simplified configuration: Compared with the existing complex configuration process, this method is simpler to configure, reduces the risk of configuration errors, and improves system reliability.
[0211] Improve equipment utilization: By using multiple devices working simultaneously, the problem of low equipment utilization in the active-standby working mode is avoided, and the performance of the equipment is fully utilized.
[0212] Optimize traffic load sharing: Achieve more balanced traffic distribution among multiple host devices, avoid excessive concentration of traffic on a single device, and improve the overall efficiency of the network.
[0213] It should be noted that the current aggregation multi-route redundant message forwarding network topology diagram can be found in Figure 2 ,
[0214] (1) MLAG is a cross-device link aggregation technology that virtualizes two physical devices into one device at the aggregation level to achieve cross-device link aggregation, thereby providing device-level redundancy protection and traffic load sharing.
[0215] (2) VRRP Virtual Router Redundancy Protocol is a routing protocol proposed by IETF to solve the single point failure problem of static gateway configuration in LAN. VRRP is widely used in edge networks. Its design goal is to support IP data traffic failure transfer in certain situations without causing confusion, allowing hosts to use a single router, and maintaining connectivity between routers even when the actual first-hop router fails.
[0216] Currently available solutions:
[0217] (1) MLAG is combined with VRRP. MLAG is responsible for Layer 2 redundancy, while VRRP is responsible for Layer 3 redundancy.
[0218] (2) MLAG synchronizes ND messages or neighbor table entries.
[0219] Disadvantages of current solutions:
[0220] 1. Protocol message interaction is required to consume CPU resources.
[0221] 2. The configuration is complicated and the failure rate is high.
[0222] 3. In the master-slave working mode, only one device is working at the same time, and the equipment utilization rate is low.
[0223] The embodiments of this specification are intended to solve:
[0224] 1. Protocol message interaction failure and CPU resource consumption problem.
[0225] 2. The configuration and detection are troublesome and require high standards from network administrators.
[0226] 3. The backup device does not work.
[0227] Design principles and solutions:
[0228] 1. Remove the MLAG and VRRP protocols and make modifications to the protocols that must be run.
[0229] 2. The Layer 2 and Layer 3 switches are integrated together to form a switch that supports Layer 2 and Layer 3.
[0230] 3. Remove the master-slave mode and work together to complete data forwarding.
[0231] Design ideas:
[0232] 1. If Figure 3 In the network topology diagram shown in the figure, PC1 and PC2 are connected to the Layer 2 switch in the same VLAN and configured with the same gateway. The data is then aggregated by the switch through LACP and sent to the Layer 3 switch.
[0233] 2. Enable multicast isolation on Layer 2 switches PC1 and PC2.
[0234] 3. LACP exports both sides of the ND message, that is, when the PC sends an ND request or recovery to the gateway, it will be sent to DUT1 and DUT2 at the same time.
[0235] 4. DUT1 and DUT2 are configured with the same IPv6 address and MAC. After learning the ND neighbor, they switch to host routing and enable ND proxy answering.
[0236] 5. DUT1 and DUT2 establish BGP routing protocols with the cloud and publish the host routes.
[0237] 6. Configure the uplink ports of DUT1 and DUT2 to link with the downlink ports.
[0238] 2. Fault-free message forwarding:
[0239] 1. PC1 sends ND packets to learn about gateway neighbors. ND packets are multicast on the Layer 2 interactive machine, and LACP distributes the packets to DUT1 and DUT2.
[0240] 2. DUT1 and DUT2 have the same IPv6 address and MAC. When replying to PC1's request, the Layer 2 switch LACP interface learns the same MAC. At this time, DUT1 and DUT2 learn PC1's neighbor and convert the neighbor into a host route.
[0241] 3. PC1 receives two replies, but the two replies are identical and learns the neighbors indiscriminately.
[0242] 4. PC1 accesses the external network, and the message is distributed to DUT1 or DUT2 by LACP at the Layer 2 switch and can be sent out normally.
[0243] 5. When PC1 accesses PC2, PC1 sends an ND request first. When it reaches the Layer 2 switch, PC1 and PC2 have been isolated and the message cannot reach PC2. The ND message is sent to DUT1 and DUT2. At this time, DUT1 and DUT2 perform ND proxy answering and reply to PC1 using PC2's IPv6 address + DUT's MAC address. At this time, PC1 learns PC2's neighbor, but the MAC address is the gateway's.
[0244] 6. After PC1 learns about PC2's neighbor, it sends data packets. When the data packets reach the Layer 2 switch, they are not forwarded directly, but forwarded to the DUT. After DUT finds that there is no PC2 neighbor, it multicasts and learns about PC2's neighbor and converts it into a host route.
[0245] 7. At this point, DUT1 and DUT2 publish the host route through BGP routing, but the host route is preferred to complete data forwarding.
[0246] 3. Packet forwarding during a fault:
[0247] 1. Based on the forwarding of fault-free messages, DUT1 has a downlink fault.
[0248] 2. The host routes of PC1 and PC2 of DUT1 are deleted, and the routes published by DUT2 through BGP are issued.
[0249] 3. When a message is sent from top to bottom to PC1 and reaches DUT1, DUT1 forwards it to DUT2 through BGP routing and then reaches PC1.
[0250] 4. When the uplink of DUT1 fails, the uplink port will link the downlink port, and the downlink port will also be down. At this time, the uplink message can only reach DUT2.
[0251] Figure 4 A structural diagram of a message forwarding device with aggregated multi-routing redundancy provided for one or more embodiments of this specification includes: a first access configuration unit 402, a second access configuration unit 404, an isolation unit 406, a sending unit 408, an address configuration unit 410 and a protocol establishment unit 412.
[0252] A first access configuration unit 402 connects a plurality of host devices to a layer 2 switch LACP through the same VLAN network, and configures a same gateway for the plurality of host devices, the plurality of host devices including a first host device and a second host device;
[0253] The second access configuration unit 404 connects the LACP to two layer 3 switches, connects the two layer 3 switches to the cloud, and configures the uplink ports of the two layer 3 switches to be linked to the downlink ports, respectively, wherein the two layer 3 switches include a first layer 3 switch and a second layer 3 switch;
[0254] An isolation unit 406 is configured to enable multicast isolation for the plurality of host devices;
[0255] The sending unit 408 sends the LACP bidirectionally for the ND message, so that the multiple host devices send ND requests to the two three-layer switches at the same time;
[0256] The address configuration unit 410 configures the two layer 3 switches with the same IPv6 address and MAC so that the two layer 3 switches can respectively convert to host routing after learning neighbor information and enable ND proxy answering;
[0257] The protocol establishing unit 412 establishes a BGP routing protocol between the two layer 3 switches and the cloud, so as to publish the host routes corresponding to the two layer 3 switches to the cloud, complete the networking topology construction, and forward messages through the networking topology.
[0258] Figure 5 A schematic diagram of a structure of a message forwarding device with aggregated multi-routing redundancy provided for one or more embodiments of this specification includes:
[0259] at least one processor; and,
[0260] a memory communicatively connected to the at least one processor; wherein,
[0261] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0262] Connect multiple host devices to the layer 2 switch LACP through the same VLAN network, and configure the same gateway for the multiple host devices, the multiple host devices including a first host device and a second host device;
[0263] Connect the LACP to two three-layer switches, connect the two three-layer switches to the cloud, and respectively configure the uplink ports of the two three-layer switches to link with the downlink ports, wherein the two three-layer switches include a first three-layer switch and a second three-layer switch;
[0264] Enable multicast isolation for the multiple host devices;
[0265] The LACP sends the ND message bidirectionally so that the multiple host devices send ND requests to the two three-layer switches at the same time;
[0266] The two layer 3 switches are configured with the same IPv6 address and MAC so that the two layer 3 switches can convert neighbor information into host routes and enable ND proxy answering after learning the neighbor information;
[0267] The two three-layer switches establish a BGP routing protocol with the cloud, so as to publish the host routes corresponding to the two three-layer switches to the cloud, complete the networking topology construction, and forward messages through the networking topology.
[0268] One or more embodiments of this specification provide a non-volatile computer storage medium storing computer executable instructions, which can achieve the following when executed by a computer:
[0269] Connect multiple host devices to the layer 2 switch LACP through the same VLAN network, and configure the same gateway for the multiple host devices, the multiple host devices including a first host device and a second host device;
[0270] Connect the LACP to two three-layer switches, connect the two three-layer switches to the cloud, and respectively configure the uplink ports of the two three-layer switches to link with the downlink ports, wherein the two three-layer switches include a first three-layer switch and a second three-layer switch;
[0271] Enable multicast isolation for the multiple host devices;
[0272] The LACP sends the ND message bidirectionally so that the multiple host devices send ND requests to the two three-layer switches at the same time;
[0273] The two layer 3 switches are configured with the same IPv6 address and MAC so that the two layer 3 switches can convert neighbor information into host routes and enable ND proxy answering after learning the neighbor information;
[0274] The two three-layer switches establish a BGP routing protocol with the cloud, so as to publish the host routes corresponding to the two three-layer switches to the cloud, complete the networking topology construction, and forward messages through the networking topology.
[0275] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0276] The above is a description of a specific embodiment of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0277] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.
Claims
1. A message forwarding method for aggregating multiple routing redundancy, characterized in that: include: Connect multiple host devices to the layer 2 switch LACP through the same VLAN network, and configure the same gateway for the multiple host devices, the multiple host devices including a first host device and a second host device; Connect the LACP to two three-layer switches, connect the two three-layer switches to the cloud, and respectively configure the uplink ports of the two three-layer switches to be linked to the downlink ports, wherein the two three-layer switches include a first three-layer switch and a second three-layer switch; Enable multicast isolation for the multiple host devices; The LACP sends the ND message bidirectionally so that the multiple host devices send ND requests to the two three-layer switches at the same time; The two layer 3 switches are configured with the same IPv6 address and MAC so that the two layer 3 switches can convert neighbor information into host routes and enable ND proxy answering after learning the neighbor information; The two three-layer switches establish a BGP routing protocol with the cloud, so as to publish the host routes corresponding to the two three-layer switches to the cloud, complete the networking topology construction, and forward messages through the networking topology.
2. The method according to claim 1, characterized in that When the first host device accesses the first designated external device in the external network, forwarding the message through the networking topology includes: Sending a first ND message to the LACP through the first host device to search for neighbor information of the first host device; Multicasting the first ND message through the LACP, forwarding the first ND message to the two connected three-layer switches respectively, so that the LACP learns the neighbor information of the two three-layer switches, and converts the neighbor information of the two three-layer switches into host routes of the two three-layer switches, wherein the neighbor information includes MAC, and the host routes of the two three-layer switches include the host route of the first three-layer switch and the host route of the second three-layer switch; Replying to the first host device through the LACP that the two layer-3 switches are gateway neighbors; A first data packet is sent to the LACP through the first host device, the first data packet is sent to the first three-layer switch or the second three-layer switch through the LACP, and the first data packet is sent to the first designated external device through the first three-layer switch or the second three-layer switch.
3. The method according to claim 1, characterized in that When the first host device accesses the second host device, forwarding the message by using the networking topology includes: Sending a second ND message to the LACP through the first host device; Sending the second ND message to the two layer-3 switches through the LACP; Performing ND proxy reply through the two layer-3 switches, replying the IPv6 address of the second host device and the MAC addresses of the two layer-3 switches to the first host device, so that the first host device learns the virtual neighbor information of the second host device; Sending a second data packet to the LACP through the first host device; Sending the second data packet to the first three-layer switch or the second three-layer switch through the LACP; The second data packet is forwarded to the second host device through the first three-layer switch or the second three-layer switch.
4. The method according to claim 3, characterized in that: Before forwarding the second data message to the second host device through the first three-layer switch or the second three-layer switch, the method further includes: Determine whether the neighbor information of the second host device exists in the neighbor tables of the two layer-3 switches; If the neighbor tables of the two three-layer switches contain the neighbor information of the second host device, the neighbor information of the second host device is converted into a host route of the second host device, and the second data packet is forwarded to the second host device through the first three-layer switch or the second three-layer switch.
5. The method according to claim 4, characterized in that If the neighbor tables of the two layer-3 switches do not contain the neighbor information of the second host device, the method further includes: Sending a multicast message to other devices through the two layer-3 switches, so as to learn the neighbor information of the second master device through the other devices, wherein the other devices at least include the second master device; The neighbor information of the second host device is converted into a host route of the second host device, and the second data packet is forwarded to the second host device through the first three-layer switch or the second three-layer switch.
6. The method according to claim 1, characterized in that If the downlink of the first three-layer switch fails, the third message data is sent to the first host device through the second designated external device of the external network, and when the third message data reaches the first three-layer switch, the method further includes: Deleting the faulty host routes related to the first three-layer switch and the plurality of host devices; Synchronizing the failed host route by the BGP routing protocol through the second layer-3 switch; The BGP routing protocol is forwarded to the second three-layer switch through the first three-layer switch, so that the third message data is sent to the first host device through the second three-layer switch.
7. The method according to claim 1, characterized in that When the uplink of the first three-layer switch fails, the fourth message data is sent to a third designated external device of the external network through the first host device or the second host device, the method further includes: Close the downlink port of the first three-layer switch; Sending the fourth message data to the LACP through the first host device or the second host device; The fourth message data is sent to the second three-layer switch through the LACP, so as to send the fourth message data to the third designated external device through the second three-layer switch.
8. A message forwarding device with aggregated multi-routing redundancy, characterized in that: include: A first access configuration unit connects a plurality of host devices to the layer 2 switch LACP through the same VLAN network, and configures a same gateway for the plurality of host devices, the plurality of host devices including a first host device and a second host device; A second access configuration unit connects the LACP to two three-layer switches, connects the two three-layer switches to the cloud, and respectively configures the uplink ports of the two three-layer switches to link with the downlink ports, wherein the two three-layer switches include a first three-layer switch and a second three-layer switch; An isolation unit, enabling multicast isolation for the plurality of host devices; A sending unit, bidirectionally sending the LACP for the ND message, so that when the multiple host devices send ND requests, they are sent to the two three-layer switches at the same time; The address configuration unit configures the two layer 3 switches with the same IPv6 address and MAC, so that the two layer 3 switches can respectively convert into host routes after learning neighbor information, and enable ND proxy answering; The protocol establishment unit establishes a BGP routing protocol between the two three-layer switches and the cloud, so as to publish the host routes corresponding to the two three-layer switches to the cloud, complete the networking topology construction, and forward messages through the networking topology.
9. A message forwarding device with aggregated multi-routing redundancy, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Connect multiple host devices to the layer 2 switch LACP through the same VLAN network, and configure the same gateway for the multiple host devices, the multiple host devices including a first host device and a second host device; Connect the LACP to two three-layer switches, connect the two three-layer switches to the cloud, and respectively configure the uplink ports of the two three-layer switches to be linked to the downlink ports, wherein the two three-layer switches include a first three-layer switch and a second three-layer switch; Enable multicast isolation for the multiple host devices; The LACP sends the ND message bidirectionally so that the multiple host devices send ND requests to the two three-layer switches at the same time; The two layer 3 switches are configured with the same IPv6 address and MAC so that the two layer 3 switches can convert neighbor information into host routes and enable ND proxy answering after learning the neighbor information; The two three-layer switches establish a BGP routing protocol with the cloud, so as to publish the host routes corresponding to the two three-layer switches to the cloud, complete the networking topology construction, and forward messages through the networking topology.
10. A non-volatile computer storage medium, characterized in that: Computer executable instructions are stored, and when the computer executable instructions are executed by a computer, the following can be achieved: Connect multiple host devices to the layer 2 switch LACP through the same VLAN network, and configure the same gateway for the multiple host devices, the multiple host devices including a first host device and a second host device; Connect the LACP to two three-layer switches, connect the two three-layer switches to the cloud, and respectively configure the uplink ports of the two three-layer switches to be linked to the downlink ports, wherein the two three-layer switches include a first three-layer switch and a second three-layer switch; Enable multicast isolation for the multiple host devices; The LACP sends the ND message bidirectionally so that the multiple host devices send ND requests to the two three-layer switches at the same time; The two layer 3 switches are configured with the same IPv6 address and MAC so that the two layer 3 switches can convert neighbor information into host routes and enable ND proxy answering after learning the neighbor information; The two three-layer switches establish a BGP routing protocol with the cloud, so as to publish the host routes corresponding to the two three-layer switches to the cloud, complete the networking topology construction, and forward messages through the networking topology.
