WO2021088808A1 - 双归设备接入流量的转发方法、设备及存储介质 - Google Patents
双归设备接入流量的转发方法、设备及存储介质 Download PDFInfo
- Publication number
- WO2021088808A1 WO2021088808A1 PCT/CN2020/126189 CN2020126189W WO2021088808A1 WO 2021088808 A1 WO2021088808 A1 WO 2021088808A1 CN 2020126189 W CN2020126189 W CN 2020126189W WO 2021088808 A1 WO2021088808 A1 WO 2021088808A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- dual
- server
- traffic
- homing device
- homing
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
- H04L45/245—Link aggregation, e.g. trunking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/55—Prevention, detection or correction of errors
- H04L49/557—Error correction, e.g. fault recovery or fault tolerance
Definitions
- the present disclosure relates to the field of communication technology, and in particular to a method, device and storage medium for forwarding access traffic of a dual-homing device.
- MC-LAG Multi-Chassis Link Aggregation Group, Multi-Chassis Link Aggregation Group
- MC-LAG is a mechanism to realize cross-device link aggregation. It is based on the expansion of LACP and can form cross-device link aggregation protection and load sharing.
- MC-LAG is a typical dual-homing access scenario. The switch or server performs cross-device link aggregation with two other devices through the MC-LAG mechanism to form a dual-active system, which can achieve cross-device traffic load sharing Forward.
- the MC-LAG technology is essentially a control plane virtualization technology. It does not need to synchronize all the information on the device, but only needs to synchronize some content related to the interface and table items to ensure the reliability of the network.
- the servers that connect to MC-LAG have multiple working modes, but they are mainly divided into two categories: load sharing mode and active/standby mode.
- load sharing the current MC-LAG mechanism can be well supported.
- static active/standby mode dynamic negotiation cannot be carried out.
- the purpose of the embodiments of the present disclosure is to provide a forwarding method, device and storage medium for dual-homing device access traffic, so that the uplink and downlink traffic paths on the dual-homing device access traffic link are consistent, and avoiding part of the traffic being sent to On the server's spare network card, it is ensured that the dual-homing device can be compatible with the server, and the stability and reliability of dual-homing traffic access and forwarding are ensured.
- the embodiments of the present disclosure provide a method for forwarding access traffic of dual-homing devices, which is applied to the second dual-homing device connected to the standby network card of the server in the dual-homing device group. It also includes a first dual-homing device connected to the main network card of the server; the method for forwarding access traffic applied to the second dual-homing device includes: detecting whether the server's network card works according to pre-configured working mode control parameters It is a static active/standby mode; among them, the value of the working mode control parameter is used to indicate the working mode of the server's network card; if the server's network card works in a static active/standby mode, after receiving the unicast traffic on the network side, the The unicast traffic on the network side is synchronized to the first dual-homing device through the peerlink link interface that is set as the application protocol synchronization interface, so that the first dual-homing device can send the unicast traffic on the network side to the server.
- the embodiment of the present disclosure also provides a method for forwarding access traffic of a dual-homing device, which is applied to the first dual-homing device connected to the primary network card of the server in the dual-homing device group.
- the dual-homing device group also includes The second dual-homed device connected to the standby network card; the forwarding method applied to the access traffic of the first dual-homed device includes: according to pre-configured working mode control parameters, detecting whether the working mode of the server's network card is static active and standby Mode; Among them, the value of the working mode control parameter is used to indicate the working mode of the network card of the server; if the working mode of the server’s network card is a static active/standby mode, the first is received through the peerlink link interface that is set as the application protocol synchronization interface After the dual-homed device synchronizes the unicast traffic on the network side, it sends the unicast traffic on the network side to the server.
- Embodiments of the present disclosure also provide a dual-homing device, including: at least one processor; and a memory communicatively connected with the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are At least one processor is executed, so that the at least one processor can execute the method for forwarding access traffic of dual-homing devices as described above.
- the embodiments of the present disclosure also provide a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the foregoing method for forwarding access traffic of a dual-homing device is implemented.
- Fig. 1 is a flowchart of a method for forwarding access traffic applied to a second dual-homing device according to the first embodiment of the present disclosure
- FIG. 2 is a flowchart of a method for forwarding access traffic applied to a first dual-homing device according to the first embodiment of the present disclosure
- Fig. 3 is a schematic diagram of a forwarding path for unicast traffic according to the first embodiment of the present disclosure
- Fig. 4 is a schematic diagram of a traffic forwarding path for BUM packets in the first embodiment of the present disclosure
- FIG. 5 is a schematic diagram of a traffic forwarding path when the link of the first member port fails according to the second embodiment of the present disclosure
- FIG. 6 is a schematic diagram of a traffic forwarding path when the MC-LAG first dual-homing device fails according to the second embodiment of the present disclosure
- Fig. 7 is a schematic diagram of a traffic forwarding path when the MC-LAG second dual-homing device fails according to the second embodiment of the present disclosure
- FIG. 8 is a schematic diagram of a traffic forwarding path when a peerlink link fails according to the second embodiment of the present disclosure
- Fig. 9 is a structural diagram of a dual-homing device according to a third embodiment of the present disclosure.
- the first embodiment of the present disclosure relates to a method for forwarding access traffic of a dual-homing device.
- This embodiment includes the method for forwarding access traffic applied to the first dual-homing device as shown in FIG. 1 and the method for forwarding access traffic applied to the second dual-homing device as shown in FIG. 2.
- the first dual-homing device and the second dual-homing device are dual-homing devices in a dual-homing device group, the first dual-homing device is connected to the main network card of the server, and the second dual-homing device is connected to the backup network card of the server.
- the method for forwarding access traffic applied to the first dual-homed device includes: according to pre-configured operating mode control parameters, detecting whether the network card operating mode of the server is a static active/standby mode; wherein the value of the operating mode control parameter is used It indicates the working mode of the network card of the server; if the working mode of the network card of the server is a static active/standby mode, after receiving the unicast traffic on the network side, the unicast traffic on the network side is set as the application protocol synchronization interface The peerlink link interface is synchronized to the first dual-homing device for the first dual-homing device to send unicast traffic on the network side to the server.
- the method for forwarding access traffic applied to the first dual-homed device in this embodiment is shown in FIG. 1, and specifically includes:
- Step 110 Obtain pre-configured working mode control parameters. Among them, the value of the working mode control parameter is used to indicate the working mode of the network card of the server.
- the dual-homing device group includes a main device and a backup device that perform traffic forwarding.
- One side of the dual-homing device group is connected to the server, where the main device is connected to the main network card of the server, and the backup device is connected to the standby network card of the server; the other side of the dual-homing device group is connected to the router.
- the main device is the first dual-homing device
- the backup device is the second dual-homing device.
- the above-mentioned basic parameters include: the main and standby parameters of the dual-homing device group, static and dynamic parameters, priority, system ID, peerlink related configuration parameters, and keepalive link related configuration parameters.
- the MC-LAG device is the main or backup device
- the MC-LAG group is static or dynamic
- the priority of the MC-LAG group is the system ID of the MC-LAG group
- related configurations such as peerlink and keepalive.
- the main and backup devices are determined according to the specific parameter configuration of the two devices in the dual-homing device group. Under normal circumstances, there is no difference in the traffic forwarding behavior of the main and backup devices, and both the main and backup interfaces can carry out traffic. Load sharing and forwarding. In the event of a failure, the behavior of the main and backup devices is different.
- the link supports ordinary Ethernet interfaces and aggregate interfaces.
- the peer-link link is a Layer 2 link used for the exchange of ICBG synchronization information and the transmission of part of the traffic. After an interface is configured as a peer-link interface, no other services can be configured on the interface.
- Peerlink has an isolation function for BUM packet forwarding. When the MC-LAG network is normal, BUM packets received from the peerlink link will no longer be forwarded to the MC-LAG member port, which is the so-called isolation. When the MC-LAG member port is located When the link fails, the isolation function is released, that is, the BUM message received from the peerlink link will be forwarded by the MC-LAG member port.
- Keepalive links heartbeat links, carrying heartbeat data packets, are mainly used for MC-LAG negotiation, active/standby election, and dual-active detection.
- This link and peerlink are two different links and have different functions.
- the keepalive link can be carried by an external network. For example, when MC-LAG is connected to the IP network in the uplink, two dual-homing devices can communicate with each other through the IP network, and this link can be used as a keepalive.
- a single link can be configured as a keepalive link.
- the value of the working mode control parameter is used to indicate the working mode of the network card of the server. For example, when the value of the working mode control parameter is 1, it means The network card of the server works in a static active/standby mode. When the value of the working mode control parameter is 0, it means that the network card of the server works in a load sharing mode. In this step, it is necessary to read the value of the working mode control parameter.
- Step 111 Detect the working mode of the network card of the server, and determine whether it is a static active/standby mode. If the server's network card works in a static active/standby mode, step 112 is executed to synchronize the received network side unicast traffic to the first dual-homed device through the peerlink link interface; if the server's network card works in load sharing In this way, step 113 is executed to forward the traffic in a traditional way.
- the above-mentioned working mode control parameter is represented by the FLAG parameter, and the value of the FLAG parameter includes 0 and 1.
- the obtained FLAG parameter value is 0, it means that the network card of the server is running in load sharing mode. At this time, the dual-homing device group is running in the default MC-LAG working mode, and traffic is forwarded normally.
- the obtained FLAG parameter value is 1, it means that the network card of the server is currently running in a static active/standby mode.
- the server has a primary network card and a backup network card respectively connected to the first and second dual-homed devices, there is only one network card for traffic forwarding at the same time. Therefore, if the traditional MC-LAG mechanism is used for processing, when the upstream and downstream traffic paths are inconsistent, a part of the downstream traffic will be forwarded to the backup network card, resulting in loss of traffic. Therefore, in the embodiments of the present disclosure, the FLAG is set to indicate different traffic forwarding modes of the dual-homing device group.
- Step 112 Synchronize the received unicast traffic on the network side to the first dual-homing device through the peerlink link interface.
- the interface of the peerlink link is set as the synchronous interface of the application protocol; for BUM packet traffic , Let go of the port isolation function of the peerlink link. That is, when the network card of the server is running in static active/standby mode, the processing scheme for traffic forwarding is as follows: First, the two devices in the dual-homing device group are named MC-LAG first dual-homing device and MC-LAG second dual-homing device.
- the member port on the first dual-homing device of MC-LAG is called the first member port of MC-LAG
- the member port on the second dual-homing device of MC-LAG is called the second member port of MC-LAG.
- only the peerlink port is set as the synchronization interface of the application protocol.
- the MC-LAG first dual-homing device synchronizes the source media access control address of the unicast traffic to the synchronization interface through the peerlink link.
- MC-LAG second dual-homed device and forward unicast traffic to the network side;
- MC-LAG second dual-homed device after receiving the unicast traffic sent by the network side, passes the network side unicast traffic through the peerlink chain The path is forwarded to the first dual-homing device of MC-LAG, for the first dual-homing device of MC-LAG to send to the server.
- This data traffic forwarding mechanism even if the MC-LAG second member port link fails, normal traffic forwarding will not be affected; when the MC-LAG second member port link fails, the normal traffic forwarding will not be affected. .
- the dashed arrow represents the upstream traffic path
- the solid arrow represents the downstream traffic path
- Server A is the server
- SwitchA is the first dual-homing device
- SwitchB is the second dual-homing device.
- the home device and router are network side devices.
- the traffic whose data source is Router is called downstream traffic
- the traffic whose data source is ServeA is called upstream traffic.
- the interface connecting SwitchA and ServeA is the first member port
- the interface connecting SwitchB and ServeA is the second member port
- the link interface directly connected between SwitchA and SwitchB is the peerlink interface.
- the flow forwarding process is as follows: When the first member port of MC-LAG receives data flow, it obtains the MAC (source media access control address) of the network side device of the data flow received by the first member port of MC-LAG, and synchronizes the MAC to the pair On the peerlink port of the second dual-homed device of MC-LAG at the end, it forwards data traffic to the network side at the same time. When the data traffic from the router on the network side reaches the first dual-homing device of MC-LAG, it directly queries the MAC table. The traffic is forwarded from the first member port of MC-LAG to the server Serve A, and the data traffic from the network side reaches the MC-LAG.
- the MAC source media access control address
- the traffic is forwarded from the peerlink port to the first dual-homing device of MC-LAG, and the MAC table is directly queried on the first dual-homing device of MC-LAG, and the traffic flows from the first dual-homing device of MC-LAG.
- a member port is forwarded to the server ServeA, so that the server ServeA can receive all the downstream traffic sent by the Router.
- the traffic When the first member port of MC-LAG receives BUM packet traffic, the traffic will be broadcast to other ports of the same VLAN virtual local area network, and from the peerlink port to the second dual-homing device of the opposite MC-LAG.
- the traffic reaches the second dual-homing device of MC-LAG, the second dual-homing device of MC-LAG will broadcast to other ports in the same VLAN and forward it from the second member port of MC-LAG to server ServerA, but because of the network card corresponding to server Serve A It is a backup, and the traffic is dropped, avoiding the problem of multiple packets.
- the BUM packet traffic coming from the network side reaches the first dual-homed device of MC-LAG, it will be broadcast to other ports of the same VLAN. On the one hand, it will be forwarded to Server A from the first member port of MC-LAG. On the other hand, it broadcasts from the peerlink port to the second dual-homing device of MC-LAG at the opposite end.
- the traffic reaches the second dual-homing device of MC-LAG, the second dual-homing device of MC-LAG will broadcast to other ports in the same VLAN.
- the second member port of MC-LAG is forwarded to Server A, but because the network card corresponding to Server A is a backup, the traffic is lost, that is, Server A will only receive a copy that is forwarded by the first dual-homing device of MC-LAG BUM packet flow.
- the BUM packet traffic from the network side reaches the second dual-homing device of MC-LAG, it will be broadcast to other ports in the same VLAN.
- it is forwarded to the server Serve A from the second member port of MC-LAG, but because the server Server The network card corresponding to A is standby, and the traffic is dropped.
- it broadcasts from the peerlink port to the first dual-homing device of the opposite MC-LAG.
- the traffic When the traffic reaches the first dual-homing device of MC-LAG, it broadcasts to Server B of the same VLAN on the one hand, and ServerB is single-homed to the MC.
- -LAG's first dual-homed device is another server in the same VLAN as ServerA. At the same time, it is forwarded from the first member port of MC-LAG to the same server ServerA. This ensures that the server ServerA finally receives only one BUM packet flow in both the uplink and the downlink.
- step 113 the traffic is forwarded in a traditional manner.
- the processing scheme for traffic forwarding is as follows: For known unicast traffic, set MC- The member port of LAG is the synchronization interface of the application protocol. The synchronization interface is used to establish the MAC, ARP entry and other information synchronization protocol between the dual-homing devices. The interface relies on the ICCP channel established on the LDP basis. Based on the needs, different synchronization information can be defined.
- the MC-LAG member port fails, point the synchronization interface of the application protocol to the peerlink interface to allow the upstream and downstream traffic paths to be inconsistent; for BUM packets, when all member ports of MC-LAG are normal, the peerlink has ports Isolation mechanism, that is, BUM packets received from the peerlink port are no longer forwarded to the MC-LAG member ports. If the MC-LAG member port fails, the port isolation mechanism of the peerlink is released and BUM packets are allowed to be forwarded to the MC-LAG member port.
- the method for forwarding access traffic applied to the first dual-homed device in this embodiment is shown in FIG. 2 and specifically includes the following steps.
- Step 120 Obtain pre-configured working mode control parameters.
- Step 121 Detect the working mode of the network card of the server to determine whether it is a static active/standby mode; if the working mode of the server’s network card is a static active/standby mode, perform step 122 to synchronize the network side unicast of the second dual-homing device The traffic is sent to the server; if the network card of the server works in a load sharing mode, step 123 is executed to forward the traffic in a traditional manner.
- Step 120 and step 121 have been described in steps 110 and 111 in FIG. 1, and will not be repeated here.
- Step 122 Send the network side unicast traffic synchronized by the second dual-homing device to the server.
- the receiving second dual-homing device synchronizes through the peerlink link The source media access control address of the unicast traffic sent by the server; for the downlink unicast traffic from the network side, the network side unicast traffic is forwarded to the first dual-homing device through the peerlink link for the first dual-homing device to send To the server.
- Step 123 the traffic is forwarded in a traditional way. This step has been described in step 113 in FIG. 1, and will not be repeated here.
- the method for forwarding access traffic applied to the first dual-homing device in this embodiment is implemented in cooperation with the method for forwarding access traffic applied to the second dual-homing device.
- the technical solution in this embodiment can make the uplink and downlink traffic paths on the MC-LAG link consistent, avoid sending part of the traffic to the server's backup network card, ensure that the MC-LAG device can be compatible with the server, and ensure that the MC-LAG device can be compatible with the server.
- the second embodiment of the present disclosure relates to a method for controlling dual-homing device access traffic forwarding. It is similar to the first embodiment of the present disclosure, except that, in this embodiment, the server works in a static active/standby mode. Next, the traffic path when the link of the first member port of MC-LAG fails is changed. It should be noted that those skilled in the art can understand that, in practical applications, various failure situations may occur in the network structure of dual-homing traffic forwarding, and this is only an example for illustration.
- the dashed arrow indicates the upstream traffic path
- the solid arrow indicates the downstream traffic path.
- the link of the first member port fails.
- the link of the first member port fails, that is to say, data traffic cannot be exchanged between the first device of MC-LAG and Server A.
- Server A will switch to the backup network card to send traffic.
- the second member port of MC-LAG will learn the source MAC of the data traffic after receiving the data traffic sent by Server A switching to the backup network card, and synchronize the MAC to the peer MC- On the peerlink port of the first device of the LAG, the data traffic is forwarded to the network side at the same time.
- the data traffic coming from the network side reaches the first MC-LAG device, the synchronized MAC table is queried, the traffic is forwarded from the peerlink port to the second MC-LAG device, and the MAC table is directly queried on the second MC-LAG device.
- the second member port of MC-LAG is forwarded to Server A.
- the uplink and downlink traffic paths on the MC-LAG link can be consistent, ensuring the stability and reliability of MC-LAG dual-homing traffic access and forwarding.
- the flow forwarding process is as follows: Server Server A switches to the standby network card to send traffic, and when the second member port of MC-LAG receives the data traffic, it learns the source MAC of the data traffic.
- the first device fails and cannot perform MAC synchronization.
- the MAC synchronization fails and at the same time forwards data traffic to the network side. All data traffic coming from the network side is switched and sent to the second MC-LAG device.
- the MAC table is directly queried on the second MC-LAG device, and the traffic is forwarded to the server ServerA from the second member port of MC-LAG;
- the traffic forwarding is processed according to the technical solution in the first embodiment of the present disclosure.
- the MC-LAG second device fails.
- the traffic forwarding details are as follows: the upstream traffic forwarding sent by Server A is not affected, the MAC-LAG first and second devices fail to be synchronized, and the downstream traffic from the network side will be Switch all to the first MC-LAG device, directly query the MAC table on the first MC-LAG device, and forward traffic from the first member port of MC-LAG to the server; when the second device of MC-LAG recovers from failure, uplink and downlink
- the traffic forwarding is processed in accordance with the technical solution in the first embodiment of the present disclosure.
- the dashed arrow represents the upstream traffic path
- the solid arrow represents the downstream traffic path
- the back-off dual-homing device is represented by a dashed box.
- the control device for the dual-homing device access traffic forwarding will be selected Either of the primary and backup devices is used as a back-off dual-homing device. If the primary device Switch A is selected for back-off, the first member port of MC-LAG, the peerlink interface on the primary device, and the network-side port on the primary device will be closed. , Prohibit these ports from forwarding traffic.
- the other device SwitchB is used to receive data traffic sent by the server and network devices for forwarding, so as to ensure the stability and reliability of traffic forwarding for dual-homing device access.
- the third embodiment of the present disclosure relates to a dual-homing device, as shown in FIG. 9, and includes the following content.
- At least one processor 901 and a memory 902 connected in communication with the at least one processor; wherein the memory 902 stores instructions executable by the at least one processor 901, and the instructions are executed by the at least one processor 901 to enable at least one processing
- the device 901 can execute the foregoing method embodiments.
- the memory and the processor are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors and various circuits of the memory together.
- the bus can also connect various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are all known in the art, and therefore, no further description will be given in this disclosure.
- the bus interface provides an interface between the bus and the transceiver.
- the transceiver may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on the transmission medium.
- the data processed by the processor is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor.
- the processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions.
- the memory can be used to store data used by the processor when performing operations.
- the fourth embodiment of the present disclosure relates to a computer-readable storage medium storing a computer program.
- the computer program is executed by the processor, the above method embodiment is realized.
- the second dual-homing device detects the working mode of the server network card according to the pre-configured working mode control parameters, and determines whether it is a static active/standby mode; if the server’s network card works in a static active/standby mode, After receiving the unicast traffic on the network side, the unicast traffic on the network side is synchronized to the first dual-homing device through the peerlink link interface that is set as the application protocol synchronization interface, because the second dual-homing device and the backup network card Therefore, the unicast traffic is synchronized to the first dual-homing device connected to the main network card of the server, so that the first dual-homing device can receive all the traffic from the network side, thus ensuring that the network side traffic can be Through the first dual-homing device to send to the server, the situation that part of the traffic is sent to the server's backup network card is avoided, thereby ensuring the stability and reliability of dual-homing traffic access and forwarding.
- the server's network card works in a static active/standby mode, it also includes: after the member port link of the first dual-homed device fails, the server switches to the standby network card to send unicast traffic to the second dual-homed device, and then The source media access control address of the unicast traffic of the server is synchronized to the first dual-homing device through the peerlink link, and the unicast traffic of the server is forwarded to the network side; the first dual-homing device synchronized from the network side is received through the peerlink link interface The unicast traffic from the network side synchronized by the first dual-homing device is sent to the server.
- This solution can ensure that even when the first member port of the dual-homing device group fails, the dual-homing device group can provide normal traffic forwarding services, so that the stability of the dual-homing device group is further guaranteed.
- the server's network card works in a static active/standby mode, it also includes: after receiving the BUM message traffic on the network side, sending the BUM message traffic on the network side to the server and broadcasting to the same VLAN port, and The BUM packet traffic on the network side is synchronized to the first dual-homing device through the peerlink link interface, for the first dual-homing device to send to the server and broadcast to the same VLAN port; when the first dual-homing device receives the synchronization via the peerlink link interface After the BUM message traffic on the server or network side of the server or network side, the BUM message traffic on the server or network side is sent to the server and broadcast to the same VLAN port. This enables each server in the VLAN to receive the BUM message from the network side, and at the same time prevents the same server from receiving multiple identical BUM messages.
- the forwarding method applied to the first dual-homing device connected to the primary network card of the server in the dual-homing device group further includes: after receiving the BUM packet traffic of the server, reporting the BUM of the server The packet traffic is broadcast to the same VLAN port, and the BUM packet traffic of the server is synchronized to the second dual-homing device through the peerlink link interface, so that the second dual-homing device can send to the server and broadcast to the same VLAN port; After receiving the BUM packet traffic on the network side, the BUM packet traffic on the network side is sent to the server and broadcast to the same VLAN port, and the BUM packet traffic on the network side is synchronized to the second dual-homed device through the peerlink link interface , For the second dual-homing device to send to the server and broadcast to the same VLAN port; after receiving the BUM packet traffic on the network side synchronized by the second dual-homing device through the peerlink link interface, it will synchronize the BUM packet on the network side The traffic is sent
- the program is stored in a storage medium and includes several instructions to make A device (may be a single-chip microcomputer, a chip, etc.) or a processor (processor) executes all or part of the steps of the methods of the various embodiments of the present disclosure.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
Claims (10)
- 一种双归设备接入流量的转发方法,其中,应用于双归设备组中的与服务器的备用网卡连接的第二双归设备,所述双归设备组还包含与所述服务器的主用网卡连接的第一双归设备;所述方法包括:根据预先配置的工作模式控制参数,检测所述服务器的网卡工作方式是否为静态的主备方式;其中,所述工作模式控制参数的值用于指示服务器的网卡工作方式;若所述服务器的网卡工作方式为静态的主备方式,则在接收到网络侧的单播流量后,将所述网络侧的单播流量通过被设置为应用协议同步接口的peerlink链路接口,同步给所述第一双归设备,供所述第一双归设备将所述网络侧的单播流量发送给所述服务器。
- 根据权利要求1所述的双归设备接入流量的转发方法,其中,若所述服务器的网卡工作方式为静态的主备方式,则还包括:通过所述peerlink链路接口接收所述第一双归设备同步的来自所述服务器的单播流量的源媒体访问控制地址。
- 根据权利要求2所述的双归设备接入流量的转发方法,其中,若所述服务器的网卡工作方式为静态的主备方式,则还包括:在所述第一双归设备的成员口链路发生故障,所述服务器切换到备用网卡向所述第二双归设备发送单播流量后,将所述服务器的单播流量的源媒体访问控制地址通过所述peerlink链路同步给所述第一双归设备,并转发所述服务器的单播流量至网络侧;通过所述peerlink链路接口接收所述第一双归设备同步的来自网络侧的单播流量,并将所述第一双归设备同步的来自网络侧的单播流量,发送给所述服务器。
- 根据权利要求1至3中任一项所述的双归设备接入流量的转发方法,其中,若所述服务器的网卡工作方式为静态的主备方式,则还包括:在接收到网络侧的BUM报文流量后,将所述网络侧的BUM报文流量发送给所述服务器并广播到相同VLAN端口,并将所述网络侧的BUM报文流量通过所述peerlink链路接口同步到所述第一双归设备,供所述第一双归设备发送给所述服务器并广播到相同VLAN端口;在接收到所述第一双归设备通过所述peerlink链路接口同步的服务器或网络侧的BUM报文流量后,将所述服务器或网络侧的BUM报文流量发送给所述服务器并广播到相同VLAN端口。
- 一种双归设备接入流量的转发方法,其中,应用于双归设备组中的与服务器的主用网卡连接的第一双归设备,所述双归设备组还包含与所述服务器的备用网卡连接的第二双归设备;所述方法包括:根据预先配置的工作模式控制参数,检测所述服务器的网卡工作方式是否为静态的主备方式;其中,所述工作模式控制参数的值用于指示服务器的网卡工作方式;若所述服务器的网卡工作方式为静态的主备方式,则在通过被设置为应用协议同步接口的peerlink链路接口接收到所述第二双归设备同步的网络侧的单播流量后,将所述网络侧的单播流量发送给所述服务器。
- 根据权利要求5所述的双归设备接入流量的转发方法,其中,若所述服务器的网卡工作方式为静态的主备方式,则还包括:在接收到所述服务器的单播流量后,将所述服务器的单播流量的源媒体访问控制地址,通过所述peerlink链路接口同步给所述第二双归设备,并将所述服务器的单播流量发送至网络侧。
- 根据权利要求6所述的双归设备接入流量的转发方法,其中,若所述服务器的网卡工作方式为静态的主备方式,则还包括:在所述第一双归设备的成员口链路发生故障,所述服务器切换到备用网卡向所述第二双归设备发送单播流量后,通过所述peerlink链路接口接收所述第二双归设备同步的来自所述服务器的单播流量的源媒体访问控制地址;在接收到网络侧的单播流量后,将所述网络侧的单播流量通过所述peerlink链路接口同步给所述第二双归设备,供所述第二双归设备将所述网络侧的单播流量发送给所述服务器。
- 根据权利要求5至7中任一项所述的双归设备接入流量的转发方法,其中,若所述服务器的网卡工作方式为静态的主备方式,则还包括:在接收到所述服务器的BUM报文流量后,将所述服务器的BUM报文流量广播到相同VLAN端口,并通过所述peerlink链路接口将所述服务器的BUM报文流量同步给所述第二双归设备,供所述第二双归设备发送给所述服务器并广播到相同VLAN端口;在接收到网络侧的BUM报文流量后,将所述网络侧的BUM报文流量发送给所述服务器并广播到相同VLAN端口,并将所述网络侧的BUM报文流量通过所述peerlink链路接口同步到所述第二双归设备,供所述第二双归设备发送给所述服务器并广播到相同VLAN端口;在接收到所述第二双归设备通过所述peerlink链路接口同步的网络侧的BUM报文流量 后,将所述同步的网络侧的BUM报文流量发送给所述服务器并广播到相同VLAN端口。
- 一种双归设备,其中,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至4中任一项所述的双归设备接入流量的转发方法;或者,执行如权利要求5至8中任一项所述的双归设备接入流量的转发方法。
- 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至4中任一项所述的双归设备接入流量的转发方法;或者,执行如权利要求5至8中任一项所述的双归设备接入流量的转发方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911069996.0A CN112769587B (zh) | 2019-11-05 | 2019-11-05 | 双归设备接入流量的转发方法、设备及存储介质 |
CN201911069996.0 | 2019-11-05 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021088808A1 true WO2021088808A1 (zh) | 2021-05-14 |
Family
ID=75692930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/126189 WO2021088808A1 (zh) | 2019-11-05 | 2020-11-03 | 双归设备接入流量的转发方法、设备及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112769587B (zh) |
WO (1) | WO2021088808A1 (zh) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113472699A (zh) * | 2021-08-23 | 2021-10-01 | 新华三信息安全技术有限公司 | 一种网络表项同步方法及装置 |
CN113765787A (zh) * | 2021-08-25 | 2021-12-07 | 新华三大数据技术有限公司 | 一种故障处理方法及装置 |
CN114124272A (zh) * | 2021-11-16 | 2022-03-01 | 广州市保伦电子有限公司 | 一种基于网卡检测的热备份切换方法和*** |
CN114338538A (zh) * | 2021-12-30 | 2022-04-12 | 锐捷网络股份有限公司 | 一种表项更新方法、装置、电子设备及存储介质 |
CN114826872A (zh) * | 2022-04-02 | 2022-07-29 | 烽火通信科技股份有限公司 | 一种节点保护告警联动优化方法及装置 |
CN115065649A (zh) * | 2022-03-31 | 2022-09-16 | 北京东土军悦科技有限公司 | 业务报文转发方式的确定方法、装置、设备及存储介质 |
CN115225468A (zh) * | 2022-07-26 | 2022-10-21 | 苏州盛科通信股份有限公司 | 流量快速切换方法、***及计算机可读存储介质 |
WO2023273938A1 (zh) * | 2021-06-30 | 2023-01-05 | 中兴通讯股份有限公司 | 一种通信方法、***、设备及存储介质 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115865792A (zh) | 2019-12-31 | 2023-03-28 | 华为技术有限公司 | 一种路由信息的处理方法及装置 |
CN115514699A (zh) * | 2021-06-22 | 2022-12-23 | 中兴通讯股份有限公司 | 一种跨设备链路通信方法、交换机、***及存储介质 |
CN115706724A (zh) * | 2021-08-02 | 2023-02-17 | 中兴通讯股份有限公司 | 地址同步方法、交换机、跨设备链路聚合***及存储介质 |
CN114172841B (zh) * | 2021-11-30 | 2023-08-11 | 迈普通信技术股份有限公司 | 报文转发方法、装置、电子设备及读存储介质 |
CN114500173A (zh) * | 2022-02-17 | 2022-05-13 | 新华三技术有限公司合肥分公司 | 一种报文处理方法、装置、电子设备及存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9306804B2 (en) * | 2013-04-16 | 2016-04-05 | Arista Networks, Inc. | Method and system for multichassis link aggregation in-service software update |
CN105656776A (zh) * | 2014-12-01 | 2016-06-08 | 中兴通讯股份有限公司 | 一种伪线双归保护切换***、方法和装置 |
CN108696416A (zh) * | 2017-04-12 | 2018-10-23 | 中兴通讯股份有限公司 | 一种vxlan单归和双归混合接入方法、装置和pe设备 |
CN108989200A (zh) * | 2018-07-11 | 2018-12-11 | 深圳市信锐网科技术有限公司 | 数据包转发方法、装置和*** |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102325037B (zh) * | 2011-05-25 | 2016-01-20 | 中兴通讯股份有限公司 | 一种伪线双归网络的切换方法、***和双归属运营商设备 |
CN102571426B (zh) * | 2011-12-29 | 2015-05-20 | 杭州华三通信技术有限公司 | 一种双归保护方法和装置 |
CN104253759B (zh) * | 2013-06-30 | 2017-08-29 | 华为技术有限公司 | 报文转发方法、装置及*** |
CN104135420B (zh) * | 2014-07-31 | 2017-12-29 | 华为技术有限公司 | 一种报文转发的方法、设备及*** |
CN108574614B (zh) * | 2017-03-10 | 2020-11-17 | 华为技术有限公司 | 一种报文处理方法、设备及网络*** |
CN112929273A (zh) * | 2017-03-14 | 2021-06-08 | 华为技术有限公司 | 一种处理路由的方法、设备及*** |
CN109698788B (zh) * | 2017-10-20 | 2021-06-15 | 华为技术有限公司 | 流量转发方法、装置及计算机可读介质 |
CN110034993B (zh) * | 2018-01-11 | 2020-12-25 | 华为技术有限公司 | 传输数据的方法、设备和网络*** |
-
2019
- 2019-11-05 CN CN201911069996.0A patent/CN112769587B/zh active Active
-
2020
- 2020-11-03 WO PCT/CN2020/126189 patent/WO2021088808A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9306804B2 (en) * | 2013-04-16 | 2016-04-05 | Arista Networks, Inc. | Method and system for multichassis link aggregation in-service software update |
CN105656776A (zh) * | 2014-12-01 | 2016-06-08 | 中兴通讯股份有限公司 | 一种伪线双归保护切换***、方法和装置 |
CN108696416A (zh) * | 2017-04-12 | 2018-10-23 | 中兴通讯股份有限公司 | 一种vxlan单归和双归混合接入方法、装置和pe设备 |
CN108989200A (zh) * | 2018-07-11 | 2018-12-11 | 深圳市信锐网科技术有限公司 | 数据包转发方法、装置和*** |
Non-Patent Citations (1)
Title |
---|
ANONYMOUS: "Talking about Data Center Switch Horizontal Virtualization Cluster", CNBLOGS.COM, 6 June 2018 (2018-06-06), XP055810560, Retrieved from the Internet <URL:https://www.cnblogs.com/gzxbkk/p/9144408.html> * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023273938A1 (zh) * | 2021-06-30 | 2023-01-05 | 中兴通讯股份有限公司 | 一种通信方法、***、设备及存储介质 |
CN113472699A (zh) * | 2021-08-23 | 2021-10-01 | 新华三信息安全技术有限公司 | 一种网络表项同步方法及装置 |
CN113765787A (zh) * | 2021-08-25 | 2021-12-07 | 新华三大数据技术有限公司 | 一种故障处理方法及装置 |
CN113765787B (zh) * | 2021-08-25 | 2022-10-21 | 新华三大数据技术有限公司 | 一种故障处理方法及装置 |
CN114124272A (zh) * | 2021-11-16 | 2022-03-01 | 广州市保伦电子有限公司 | 一种基于网卡检测的热备份切换方法和*** |
CN114124272B (zh) * | 2021-11-16 | 2022-09-06 | 广州市保伦电子有限公司 | 一种基于网卡检测的热备份切换方法和*** |
CN114338538A (zh) * | 2021-12-30 | 2022-04-12 | 锐捷网络股份有限公司 | 一种表项更新方法、装置、电子设备及存储介质 |
CN115065649A (zh) * | 2022-03-31 | 2022-09-16 | 北京东土军悦科技有限公司 | 业务报文转发方式的确定方法、装置、设备及存储介质 |
CN115065649B (zh) * | 2022-03-31 | 2023-12-12 | 北京东土军悦科技有限公司 | 业务报文转发方式的确定方法、装置、设备及存储介质 |
CN114826872A (zh) * | 2022-04-02 | 2022-07-29 | 烽火通信科技股份有限公司 | 一种节点保护告警联动优化方法及装置 |
CN114826872B (zh) * | 2022-04-02 | 2023-05-26 | 烽火通信科技股份有限公司 | 一种节点保护告警联动优化方法及装置 |
CN115225468A (zh) * | 2022-07-26 | 2022-10-21 | 苏州盛科通信股份有限公司 | 流量快速切换方法、***及计算机可读存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN112769587A (zh) | 2021-05-07 |
CN112769587B (zh) | 2024-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021088808A1 (zh) | 双归设备接入流量的转发方法、设备及存储介质 | |
US11349687B2 (en) | Packet processing method, device, and system | |
US8300523B2 (en) | Multi-chasis ethernet link aggregation | |
CN111865779B (zh) | 一种路由同步方法及跨设备链路聚合组 | |
US7639605B2 (en) | System and method for detecting and recovering from virtual switch link failures | |
US8135832B2 (en) | Method, system and apparatus for detecting multiple active devices in stack | |
US9584397B2 (en) | Routing in spine-leaf networking systems | |
US8400912B2 (en) | Activating a tunnel upon receiving a control packet | |
WO2018188425A1 (zh) | Vxlan单归和双归混合接入方法、装置、pe设备和存储介质 | |
US9385944B2 (en) | Communication system, path switching method and communication device | |
WO2020259121A1 (zh) | 一种实现流量切换的方法、装置及*** | |
US20220174006A1 (en) | Method for EVPN and VPLS Active-Active Integration, Device, and System | |
CN111935013B (zh) | 流量转发控制方法及装置、流量转发方法及芯片、交换机 | |
JPWO2009054032A1 (ja) | ラベルスイッチングネットワークにおける通信装置 | |
WO2022062662A1 (zh) | 数据传输方法、***、网络设备和存储介质 | |
US20210109744A1 (en) | Software update on a network device forming a multi-chassis link aggregation group (mc-lag) | |
US20190007302A1 (en) | Mechanism for Dual Active Detection Link Monitoring in Virtual Switching System with Hardware Accelerated Fast Hello | |
WO2018166308A1 (zh) | 一种分布式nat双机热备份流量切换***和方法 | |
WO2017000832A1 (zh) | Mac地址的同步方法、装置及*** | |
CN105656645A (zh) | 堆叠***的故障处理的决策方法和装置 | |
WO2017008641A1 (zh) | 冗余端口的切换方法及装置 | |
US20140050092A1 (en) | Load sharing method and apparatus | |
US8279752B1 (en) | Activating tunnels using control packets | |
US9716615B1 (en) | Apparatus and method for network ring resiliency, availability and performance | |
CN112511419B (zh) | 一种分布式转发*** |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20885507 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20885507 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 23/02/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20885507 Country of ref document: EP Kind code of ref document: A1 |