CN112887201A - VRRP (virtual router redundancy protocol) -based interface updating method and device and storage medium - Google Patents

VRRP (virtual router redundancy protocol) -based interface updating method and device and storage medium Download PDF

Info

Publication number
CN112887201A
CN112887201A CN201911207094.9A CN201911207094A CN112887201A CN 112887201 A CN112887201 A CN 112887201A CN 201911207094 A CN201911207094 A CN 201911207094A CN 112887201 A CN112887201 A CN 112887201A
Authority
CN
China
Prior art keywords
router
interface
ethernet interfaces
virtual
vrrp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911207094.9A
Other languages
Chinese (zh)
Inventor
祝玉平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huawei Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201911207094.9A priority Critical patent/CN112887201A/en
Publication of CN112887201A publication Critical patent/CN112887201A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects

Abstract

The application discloses an interface updating method and device based on VRRP and a storage medium, and belongs to the technical field of communication. The method comprises the following steps: currently, the first router which needs to be switched from the standby router to the main router may determine a plurality of target ethernet interfaces according to a logic interface configured with a command line, and send the main route update information of the VRRP group through the plurality of target ethernet interfaces. In the application, the switches connected to the multiple target ethernet interfaces can all update the outgoing interface corresponding to the virtual router corresponding to the VRRP group in time, so that, when the master router and the standby router are switched, after receiving the data packet sent by the terminal, the switches can forward the data packet from the updated outgoing interface to the updated master router, and the updated master router can transmit the data packet to the destination device, that is, packet loss cannot be caused, and the destination device can be prevented from receiving two identical data packets.

Description

VRRP (virtual router redundancy protocol) -based interface updating method and device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for updating an interface based on a VRRP, and a storage medium.
Background
A Virtual Router Redundancy Protocol (VRRP) is a fault tolerant protocol, two or more routers in a local area network can be used as a VRRP group according to the VRRP protocol to form a virtual router, which is used as a default gateway of a terminal in the local area network and provides a unique fixed virtual Internet Protocol (IP) address and a virtual Media Access Control (MAC) address for the virtual router. Only one router in the VRRP group can be used as a master router, the master router is responsible for processing a data packet whose destination MAC address is a virtual MAC address and whose destination IP address is a virtual IP address, and the other routers are standby routers and discard the data packet.
In the related art, ethernet interfaces connected to a switch on a router are bound into a logical interface, and each bound ethernet interface is called a member port of the logical interface. The Ethernet interfaces connected with the same router in the switches are added into the same switch logic group, and the switch logic group can realize the function of cross-device information synchronization, so that the switches are externally connected to form a logic switch. When switching the master router and the standby router for some reasons, one router needs to be selected from the standby routers in the VRRP group as the master router, that is, one standby router is switched to the master router, and a member port is selected through the logic interface of the switched master router, and master route update information is sent to a switch connected with the member port, and the switch can update the outgoing interface corresponding to the virtual router based on the master route update information, and then can communicate with the latest master router through the updated outgoing interface. In addition, after receiving the master route update information, the switch may synchronize the master route update information with other switches in the switch logical group, so that each switch may update the outgoing interface corresponding to the virtual router, and thus, the data packet sent by the terminal may be switched to the latest master router for transmission.
In order to avoid the loss of the data packet, a delay time is usually set in the process of switching the master router and the slave router. In the delay time, for a switch that has not yet updated the outgoing interface corresponding to the virtual router, when receiving a data packet sent by the terminal, the switch will forward the data packet to the old master router, and the old master router can still forward the data packet to the destination device within the delay time, so that the destination device may receive two identical data packets, and therefore the delay time cannot be too long. However, if the delay time is short, a switch that has not yet updated the outgoing interface corresponding to the virtual router may forward the data packet to the old master router when receiving the data packet sent by the terminal, but the router is no longer the master router at this time, and the data packet may be discarded, resulting in data packet loss.
As can be seen from the above, in the related art, when the master router and the slave router are switched, the destination device may receive two identical data packets or the data packets are lost, and therefore, a new solution is needed to solve these problems.
Disclosure of Invention
The application provides an interface updating method, device and storage medium based on VRRP, which can solve the problem that when a main router and a standby router in the related technology are switched, target equipment receives two identical data packets or the data packets are lost. The technical scheme is as follows:
in a first aspect, a VRRP-based interface updating method is provided, where a VRRP group includes multiple routers, and a command line is also configured on a logical interface configured with a VRRP protocol in the multiple routers, and the logical interface refers to a virtual interface bundled by ethernet interfaces connected to switches in the same router, and the method includes: the first router determines a plurality of target Ethernet interfaces from Ethernet interfaces included in the first router according to the identification of the logical interface configured with the command line, wherein the first router is one of the plurality of routers which needs to be switched from the standby router to the main router; and the first router sends the main route updating information of the VRRP group through the target Ethernet interfaces so as to instruct the switch connected with the target Ethernet interfaces to update the outgoing interface corresponding to the virtual router corresponding to the VRRP group.
In this embodiment, two or more routers in the local area network may be used as one VRRP group according to the VRRP protocol, thereby forming one virtual router, which may be used as a default gateway for terminals in the local area network and provide a unique fixed virtual IP address and virtual MAC address for the virtual router, only one router in the VRRP group may be used as a master router, the master router is responsible for processing a packet whose destination MAC address is a virtual MAC address and whose destination IP address is a virtual IP address, and the other routers are standby routers and discard the packet. When the master router and the standby router are switched for some reasons, for example, the ethernet interface of the master router fails, some chips of the master router fail, the network cable connecting the ethernet interface of the master router is unplugged, and the like, one router needs to be selected from the standby routers in the VRRP group as the master router, that is, one standby router is switched to the master router, and at this time, one router which needs to be switched from the standby router to the master router at present may be called as a first router.
In the embodiment of the present application, ethernet interfaces connected to switches in the same router in advance may be bundled into one logical interface, and each bundled ethernet interface may be referred to as a member port of the logical interface. Each logical interface has a logical interface identifier, each ethernet interface has an ethernet interface identifier, and each router having a logical interface can store a corresponding relationship between a logical interface identifier and an ethernet interface identifier, where the corresponding relationship can be used to determine a member port corresponding to the logical interface.
In this embodiment, a logical interface of each router may be configured with a VRRP protocol, and a command line provided in this embodiment may be configured on the logical interface configured with the VRRP protocol in advance, that is, a command line is also configured on the logical interface configured with the VRRP protocol in the plurality of routers. In this embodiment, the function corresponding to the command line may be that, when the active-standby switching occurs, the first router may communicate with other devices through each member port of the logical interface configured with the command line.
In this embodiment, the VRRP group includes a plurality of routers, and the first router is a router that needs to be switched from the standby router to the main router currently among the plurality of routers. When the master router and the standby router are switched, that is, the first router is switched from the standby router to the master router, the first router may determine a plurality of target ethernet interfaces from the ethernet interfaces included in the first router according to the identifier of the logical interface configured with the command line.
As can be seen from the foregoing, the first router stores a corresponding relationship between the logical interface identifier and the ethernet interface identifier, and the first router may determine, according to the identifier of the logical interface configured with the command line, a plurality of corresponding ethernet interface identifiers from the stored corresponding relationship between the logical interface identifier and the ethernet interface identifier, and may determine the ethernet interfaces corresponding to the plurality of ethernet interface identifiers as the plurality of target ethernet interfaces.
In this embodiment of the present application, the first router may store a correspondence between the logical interface identifier and the ethernet interface identifier, and the first router may determine, according to the correspondence, a plurality of ethernet interface identifiers corresponding to the logical interface, and may determine, as the plurality of target ethernet interfaces, the ethernet interfaces corresponding to the plurality of ethernet interface identifiers, that is, determine the plurality of target ethernet interfaces connected to the switch.
It should be noted that, when configuring the VRRP protocol, the priority of each router needs to be configured, that is, each router in the VRRP group has a priority, when the master and standby routers are switched, which standby router in the VRRP group can be switched to the master router can be determined according to the priorities, and generally, the probability that a router with a lower priority is selected as the master router is lower. Based on this, in the embodiment of the present application, the command line may be configured on the logical interfaces of all routers in the VRRP group, or the command line may also be configured on the logical interface of a router having a priority higher than the reference priority in the VRRP group. Of course, in the case that the command line is configured on the logical interfaces of all routers of the VRRP group, when the standby router with the priority lower than the reference priority is switched to the master router, the interface updating method provided by the embodiment of the present application can still be implemented. In the case where a command line is configured on a logical interface of a router having a priority higher than the reference priority in the VRRP group, when a standby router having a priority lower than the reference priority is switched to a master router, the router may implement interface update according to an interface update method in the related art.
As can be seen from the foregoing, the multiple routers in the embodiment of the present application may refer to routers in the VRRP group with a priority higher than the reference priority, or may refer to all routers in the VRRP group.
In this embodiment of the present application, in order to avoid loss of the master route update information of the VRRP group sent by the first router due to a link failure, the sending, by the first router, the master route update information of the VRRP group through the multiple target ethernet interfaces may include: and the first router sends the main route updating information of the VRRP group for a plurality of times through the plurality of target Ethernet interfaces within the reference time length.
In this embodiment of the present application, the master route update information of the VRRP group may include a virtual IP address and a virtual MAC address of the virtual router, so that the switch that receives the master route update information may update the outgoing interface corresponding to the virtual router in time.
In this embodiment of the present application, a master router in a VRRP group may send a gratuitous ARP packet to other devices, and a device that receives the gratuitous ARP packet may acquire information of the master router of the VRRP group. The free ARP message is a special ARP message, a source IP address and a target IP address carried by the free ARP message are local IP addresses, the source MAC address is a local MAC address, and the target MAC address is a broadcast address.
Based on the above description, the sending, by the first router, the master route update information of the VRRP group through the plurality of target ethernet interfaces may include: the first router sends a free ARP message through the target Ethernet interfaces, and the free ARP message carries the main route updating information of the VRRP group.
In this embodiment of the application, the switch connecting the multiple target ethernet interfaces of the first router may update the outgoing interface corresponding to the virtual router corresponding to the VRRP group after receiving the master route update information of the VRRP group. When the master route update information of the VRRP group includes the virtual IP address and the virtual MAC address of the virtual router, the switch may update the outgoing interface of the virtual IP address corresponding to the virtual MAC address.
In a second aspect, a VRRP-based interface updating apparatus is provided, which has a function of implementing the behavior of the VRRP-based interface updating method in the first aspect. The VRRP-based interface updating apparatus includes at least one module, where the at least one module is used to implement the VRRP-based interface updating method provided in the first aspect.
In a third aspect, a VRRP-based interface updating apparatus is provided, where the VRRP-based interface updating apparatus includes a processor and a memory, where the memory is used to store a program for executing the VRRP-based interface updating method provided in the first aspect, and to store data used to implement the VRRP-based interface updating method provided in the first aspect. The processor is configured to execute programs stored in the memory. The operating means of the memory device may further comprise a communication bus for establishing a connection between the processor and the memory.
In a fourth aspect, a computer-readable storage medium is provided, which has stored therein instructions, which when run on a computer, cause the computer to execute the VRRP based interface updating method of the first aspect.
In a fifth aspect, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the VRRP based interface update method of the first aspect.
The technical effects obtained by the above second, third, fourth and fifth aspects are similar to the technical effects obtained by the corresponding technical means in the first aspect, and are not described herein again.
The technical scheme provided by the application can at least bring the following beneficial effects:
in this application, a first router currently needing to be switched from a standby router to a master router may determine a plurality of target ethernet interfaces from ethernet interfaces included in the first router according to an identifier of a logical interface configured with a command line, and send master route update information of the VRRP group through the plurality of target ethernet interfaces, so as to indicate a switch connected with the plurality of target ethernet interfaces to update an egress interface corresponding to a virtual router corresponding to the VRRP group. That is, the switches connected to the target ethernet interfaces may update the egress interfaces corresponding to the virtual routers in time, so that, when the master router and the standby router are switched, after receiving the data packet sent by the terminal, the switches may forward the data packet from the updated egress interface to the updated master router, and the updated router may transmit the data packet to the destination device, that is, packet loss may not be caused, and thus it may be avoided that the destination device receives two identical data packets.
Drawings
Fig. 1 is a system architecture diagram according to an embodiment of the present application, in which a VRRP-based interface updating method is involved;
fig. 2 is a schematic structural diagram of a network device according to an embodiment of the present application;
fig. 3 is a flowchart of an interface updating method based on VRRP according to an embodiment of the present application;
fig. 4 is a flowchart of another VRRP-based interface updating method provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an interface updating apparatus based on VRRP according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a system architecture diagram according to an embodiment of the present application, illustrating a VRRP-based interface update method. Referring to fig. 1, the system architecture includes a plurality of routers 101, a plurality of switches 102, and a plurality of terminals 103, where the plurality of routers 101 includes a main router and a plurality of standby routers, and any router may include a plurality of ethernet interfaces thereon. Any two devices in the system architecture can be connected in a wired or wireless manner to communicate, for example, any router can be connected with an interface of any switch through an ethernet interface of the router, and any terminal can be connected with one or more switches.
All routers in the system architecture are in the same VRRP group, the VRRP group corresponds to one virtual router, the virtual router has one virtual IP address and one virtual MAC address, the main router can be used for processing data packets with the destination MAC address being the virtual MAC address and the destination IP address being the virtual IP address, and a plurality of routers included in the VRRP group are provided with command lines on logic interfaces of a VRRP protocol. The logical interface refers to a virtual interface formed by binding ethernet interfaces connected to the switches in the same router, and each bound ethernet interface may be referred to as a member port of the logical interface.
It should be noted that the plurality of terminals 104 may be devices such as a mobile phone, a computer, a server, and the like, a default gateway of the terminal 104 is a virtual IP address, the terminal 104 may be configured to send a data packet carrying the virtual IP address to one switch 103, the switch 103 may forward the data packet to a main router, and the main router may transmit the data packet.
In the case that a main router in the VRRP group needs to reselect a router from a plurality of standby routers as the main router due to some reasons, for example, an ethernet interface failure of the main router, some chip failures of the main router, a network cable connected to the ethernet interface of the main router being unplugged, and the like, one router that currently needs to be switched from the standby router to the main router may be referred to as a first router. In this case, the first router may be configured to determine a plurality of target ethernet interfaces from the ethernet interfaces included in the first router according to the identifier of the logical interface configured with the command line, and send the master route update information of the VRRP group through the plurality of target ethernet interfaces, that is, send the master route update information through each member port of the logical interface. The switch 103 connecting the target ethernet interfaces may update the outgoing interface corresponding to the virtual router corresponding to the VRRP group according to the received master route update information of the VRRP group.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a network device according to an embodiment of the present application, where the network device may be any router shown in fig. 1. The network device comprises at least one processor 201, a communication bus 202, a memory 203 and at least one communication interface 204.
The processor 201 may be a general-purpose Central Processing Unit (CPU), a Network Processor (NP), a microprocessor, or may be one or more integrated circuits such as an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof, for implementing the aspects of the present disclosure. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
A communication bus 202 is used to transfer information between the above components. The communication bus 202 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
Memory 203 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disc storage medium, or other magnetic storage device, or any other medium which can be used to carry or store desired program code in the form of instructions or data structures and which can be accessed by a computer, but is not limited to such. The memory 203 may be self-contained and coupled to the processor 201 via the communication bus 202. The memory 203 may also be integrated with the processor 201.
The communication interface 204 uses any transceiver or the like for communicating with other devices or communication networks. The communication interface 204 includes a wired communication interface, and may also include a wireless communication interface. The wired communication interface may be an ethernet interface, for example. The ethernet interface may be an optical interface, an electrical interface, or a combination thereof. The wireless communication interface may be a Wireless Local Area Network (WLAN) interface, a cellular network communication interface, or a combination thereof.
In particular implementations, processor 201 may include one or more CPUs, such as CPU0 and CPU1 shown in fig. 2, as one embodiment.
In particular implementations, the network device may include multiple processors, such as processor 201 and processor 205 shown in fig. 2, for one embodiment. Each of these processors may be a single-Core Processor (CPU) or a multi-Core Processor (CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In one embodiment, the network device may further include an output device 206 and an input device 207. The output device 206 is in communication with the processor 201 and may display information in a variety of ways. For example, the output device 206 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, a Cathode Ray Tube (CRT) display device, a projector (projector), or the like. The input device 207 is in communication with the processor 201 and may receive user input in a variety of ways. For example, the input device 207 may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.
In some embodiments, the memory 203 is used to store program code 210 for performing aspects of the present application, and the processor 201 may execute the program code 210 stored in the memory 203. That is, the network device may implement the VRRP based interface updating method provided in the embodiment of fig. 3 below through the processor 201 and the program code 210 in the memory 203.
Fig. 3 is a flowchart of an interface updating method based on VRRP according to an embodiment of the present application, where the method is applied to a first router. In the embodiment of the application, the VRRP group includes a plurality of routers, and a command line is further configured on a logical interface configured with the VRRP protocol in the plurality of routers. Referring to fig. 3, the method includes the following steps.
Step 301: the first router determines a plurality of target Ethernet interfaces from the Ethernet interfaces included in the first router according to the identification of the logical interface configured with the command line, wherein the first router is one of the plurality of routers which needs to be switched from the standby router to the main router.
In this embodiment, two or more routers in the local area network may be used as one VRRP group according to the VRRP protocol, thereby forming one virtual router, which may be used as a default gateway for terminals in the local area network and provide a unique fixed virtual IP address and virtual MAC address for the virtual router, only one router in the VRRP group may be used as a master router, the master router is responsible for processing a packet whose destination MAC address is a virtual MAC address and whose destination IP address is a virtual IP address, and the other routers are standby routers and discard the packet. When the master router and the standby router are switched for some reasons, for example, the ethernet interface of the master router fails, some chips of the master router fail, the network cable connecting the ethernet interface of the master router is unplugged, and the like, one router needs to be selected from the standby routers in the VRRP group as the master router, that is, one standby router is switched to the master router, and at this time, one router which needs to be switched from the standby router to the master router at present may be called as a first router.
It should be noted that one router may communicate with other routers or switches through its own ethernet interface, one ethernet interface of one router may be connected to one ethernet interface of another router or one interface of a switch through a network cable, and one router may have multiple ethernet interfaces.
As can be seen from the above description, the ethernet interfaces of one router may be connected to devices such as a switch or a router, in this embodiment of the present application, the ethernet interfaces connected to the switch in the same router may be bundled into one logical interface in advance, and each bundled ethernet interface may be referred to as a member port of the logical interface. Each logical interface has a logical interface identifier, each ethernet interface has an ethernet interface identifier, and each router having a logical interface can store a corresponding relationship between a logical interface identifier and an ethernet interface identifier, where the corresponding relationship can be used to determine a member port corresponding to the logical interface. In some cases, the logical interface may be referred to as an ethernet-Trunk (Eth-Trunk) interface, or may also be referred to by other names, which is not limited in this application.
For example, assuming that there are four ethernet interfaces on the first router, where two ethernet interfaces are respectively connected to two switches, the two ethernet interfaces connected to the switches may be bundled into one logical interface, and the two bundled ethernet interfaces may be both referred to as member ports of the logical interface.
In this embodiment, a logical interface of each router may be configured with a VRRP protocol, and a command line provided in this embodiment may be configured on the logical interface configured with the VRRP protocol in advance, that is, a command line is also configured on the logical interface configured with the VRRP protocol in the plurality of routers. In this embodiment, the function corresponding to the command line may be that, when the active-standby switching occurs, the first router may communicate with other devices through each member port of the logical interface configured with the command line.
In this embodiment, the VRRP group includes a plurality of routers, and the first router is a router that needs to be switched from the standby router to the main router currently among the plurality of routers. When the master router and the standby router are switched, that is, the first router is switched from the standby router to the master router, the first router may determine a plurality of target ethernet interfaces from the ethernet interfaces included in the first router according to the identifier of the logical interface configured with the command line.
As can be seen from the foregoing, the first router stores a corresponding relationship between the logical interface identifier and the ethernet interface identifier, and the first router may determine, according to the identifier of the logical interface configured with the command line, a plurality of corresponding ethernet interface identifiers from the stored corresponding relationship between the logical interface identifier and the ethernet interface identifier, and may determine the ethernet interfaces corresponding to the plurality of ethernet interface identifiers as the plurality of target ethernet interfaces.
In this embodiment of the present application, the first router may store a correspondence between the logical interface identifier and the ethernet interface identifier, and the first router may determine, according to the correspondence, a plurality of ethernet interface identifiers corresponding to the logical interface, and may determine, as the plurality of target ethernet interfaces, the ethernet interfaces corresponding to the plurality of ethernet interface identifiers, that is, determine the plurality of target ethernet interfaces connected to the switch.
Illustratively, it is assumed that the first router has four ethernet interfaces, which are respectively identified as 1,2, 3 and 4, wherein two ethernet interfaces 1 and 2 are connected to the switch, and the two ethernet interfaces are bundled into one logical interface, the logical interface is configured with the VRRP protocol and the command line, the logical interface is identified as a, and the two bundled ethernet interfaces are respectively identified as 1 and 2. The correspondence between the logical interface identifier stored in the first router and the ethernet interface identifier may be { a-1,2}, so that the first router may determine that the plurality of target ethernet interfaces are ethernet interface 1 and ethernet interface 2 according to the logical interface identifier a and the correspondence.
It should be noted that, when configuring the VRRP protocol, the priority of each router needs to be configured, that is, each router in the VRRP group has a priority, when the master and slave routers are switched, which master and slave routers in the VRRP group can be switched to the master router can be determined according to the priorities, and generally, the probability that a router with a lower priority is selected as the master router is lower. Based on this, in the embodiment of the present application, the command line may be configured on the logical interfaces of all routers in the VRRP group, or the command line may also be configured on the logical interface of a router having a priority higher than the reference priority in the VRRP group. Of course, in the case that the command line is configured on the logical interfaces of all routers of the VRRP group, when the standby router with the priority lower than the reference priority is switched to the master router, the interface updating method provided by the embodiment of the present application can still be implemented. In the case where a command line is configured on a logical interface of a router having a priority higher than the reference priority in the VRRP group, when a standby router having a priority lower than the reference priority is switched to a master router, the router may implement interface update according to an interface update method in the related art.
As can be seen from the foregoing, the multiple routers in the embodiment of the present application may refer to routers in the VRRP group with a priority higher than the reference priority, or may refer to all routers in the VRRP group.
Step 302: and the first router sends the main route updating information of the VRRP group through the target Ethernet interfaces so as to instruct the switch connected with the target Ethernet interfaces to update the outgoing interface corresponding to the virtual router corresponding to the VRRP group.
In this embodiment of the application, after determining the plurality of target ethernet interfaces, the first router may send, through the plurality of target ethernet interfaces, the master route update information of the VRRP group to indicate that a switch connected to the plurality of target ethernet interfaces may update the egress interface corresponding to the virtual router corresponding to the VRRP group.
It should be noted that after receiving the master route update information of the VRRP group, the switch connected to the multiple target ethernet interfaces may update the egress interface corresponding to the virtual router corresponding to the VRRP group, that is, the multiple switches may use the interface that receives the master route update information as the egress interface corresponding to the virtual router, and then the multiple switches may communicate with the updated master router of the VRRP group through the egress interface, that is, may switch the data packet sent by the terminal to the latest master router for transmission.
In this embodiment, in order to avoid that the link failure causes the loss of the master route update information of the VRRP group sent by the first router, the first router may send the master route update information of the VRRP group multiple times through the multiple target ethernet interfaces within the reference time duration.
It should be noted that the reference time duration may be determined according to actual requirements, and the reference time duration may be written into the command line in advance, or configured on the first router in advance, that is, the first router may send the master route update information of the VRRP group through the multiple target ethernet interfaces for multiple times within the reference time duration according to the reference time duration in the command line, or the reference time duration configured by the first router itself.
Optionally, the first router may send the master route update information of the VRRP group periodically within the reference time duration, that is, the master route update information of the VRRP group is sent once through the multiple target ethernet interfaces every other period time duration within the reference time duration.
For example, assuming that the reference time duration is 3 seconds and the period time duration is 500 milliseconds, the first router may send the master route update information of the VRRP group once through the target ethernet interfaces every 500 milliseconds, that is, the first router may send the master route update information of the VRRP group 6 times through the target ethernet interfaces within 5 seconds.
In an embodiment of the present application, the master route update information of the VRRP group may include a virtual IP address and a virtual MAC address of the virtual router.
It should be noted that, in the embodiment of the present application, the virtual IP address and the virtual MAC address of the virtual router corresponding to the VRRP group may be unchanged. In this case, the master route update information of the VRRP group may include the virtual IP address and the virtual MAC address of the virtual router, so that the switch that receives the master route update information may update the outgoing interface corresponding to the virtual IP address and the virtual MAC address. Therefore, under the condition that the gateway configured by the terminal is the virtual IP address, the terminal can still send the data packet to the connected switch without reconfiguring the default gateway, the switch can forward the data packet to the latest main router through the outgoing interface corresponding to the virtual MAC address, and the latest main router routes the data packet to the destination device according to the virtual IP address.
It should be noted that, a first implementation manner in which the virtual IP address and the virtual MAC address are kept unchanged is that both the virtual IP address and the virtual MAC address may be an IP address and a MAC address based on VRRP virtualization, that is, the virtual IP address is different from an IP address of any router included in the VRRP group, and the virtual MAC address is different from a MAC address of any router included in the VRRP group. The second implementation manner is that the virtual MAC address of the virtual router corresponding to the VRRP group is a MAC address based on VRRP virtualization, the virtual MAC address is different from the MAC address of any router included in the VRRP group, the virtual IP address of the virtual router corresponding to the VRRP group may be an IP address configured by a router of the VRRP group, when the router works normally, the priority of the router is the highest, and the router may serve as a master router of the VRRP group. When the router fails and needs to switch the main router and the standby router, the virtual IP address and the virtual MAC address of the virtual router of the VRRP group can be kept unchanged. In this implementation manner, the IP address configured by the latest master router itself will be dynamically updated to the virtual IP address, the latest master router can process the data packet with the destination IP address being the virtual IP address and the destination MAC address being the virtual MAC address, and the failed router cannot receive the data packet, or discards the data packet when receiving the data packet with the destination IP address being the virtual IP address and the destination MAC address being the virtual MAC address.
In other possible cases, when the master router and the standby router are switched, the virtual IP address and the virtual MAC address of the virtual router corresponding to the VRRP group are updated. In this case, the master route update information of the VRRP group may include an updated virtual IP address and an updated virtual MAC address, so that the switch receiving the master route update information may update the virtual IP address, the virtual MAC address, and the outgoing interface corresponding to the virtual MAC address in time.
For example, when the virtual IP address and the virtual MAC address of the virtual router corresponding to the VRRP group are the IP address and the MAC address configured by the master router itself, after the master router is switched, the virtual IP address and the virtual MAC address of the virtual router corresponding to the VRRP group are updated to the latest IP address and MAC address configured by the master router itself.
When the virtual IP address and the virtual MAC address of the virtual router corresponding to the VRRP group are updated, the terminal may reconfigure the updated virtual IP address as its default gateway so that the updated master router can route the packet transmitted by the terminal.
In this embodiment of the present application, a master router in a VRRP group may send a gratuitous ARP packet to other devices, and a device that receives the gratuitous ARP packet may acquire information of the master router of the VRRP group. The free ARP message is a special ARP message, a source IP address and a target IP address carried by the free ARP message are local IP addresses, the source MAC address is a local MAC address, and the target MAC address is a broadcast address.
Based on the above description, the first router may send a gratuitous ARP packet through the multiple target ethernet interfaces, where the gratuitous ARP packet may carry main route update information of the VRRP group, that is, the gratuitous ARP packet may carry a virtual IP address and a virtual MAC address of the virtual router of the VRRP group.
It should be noted that the free ARP packet is a packet sent by the first router in an internet protocol version 4(IP version 4, IPV4) communication scenario, and in an internet protocol version 6(IP version 6, IPV6) communication scenario, the first router may send a Neighbor Discovery (ND) protocol packet, where the ND protocol packet is similar to the free ARP packet, and the ND protocol packet may have the same function as the free ARP packet in this embodiment of the present application, which is not described herein again.
In this embodiment of the application, the switch connecting the multiple target ethernet interfaces of the first router may update the outgoing interface corresponding to the virtual router corresponding to the VRRP group after receiving the master route update information of the VRRP group. When the master route update information of the VRRP group includes the virtual IP address and the virtual MAC address of the virtual router, the switch may update the outgoing interface of the virtual IP address corresponding to the virtual MAC address.
Exemplarily, referring to fig. 4, it is assumed that the VRRP group includes two routers, which are a router 1 and a router 2 respectively, the router 1 is a master router, the router 2 is a standby router, the ethernet interface 1 of the router 1 is connected to the interface 11 of the switch 1, the ethernet interface 2 of the router 1 is connected to the interface 21 of the switch 2, the ethernet interface 3 of the router 2 is connected to the interface 12 of the switch 1, and the ethernet interface 4 of the router 2 is connected to the interface 22 of the switch 2. The Ethernet interface 1 and the Ethernet interface 2 of the router 1 are bound into a logical interface, the Ethernet interface 3 and the Ethernet interface 4 of the router 2 are bound into a logical interface, and the logical interfaces of the two routers are both configured with VRRP protocol and command line. When the router 1 fails or other reasons, the router 2 needs to be switched to a master router, that is, the router 2 is the first router, the router 2 may determine, according to its own logical interface, that a plurality of target ethernet interfaces are the ethernet interface 3 and the ethernet interface 4, the router 2 may periodically send a gratuitous ARP packet to the switch 1 through the ethernet interface 3 within a reference time period, and send a gratuitous ARP packet to the switch 2 through the ethernet interface 4, in this way, the switch 1 may use the interface 12, which receives the master route update information by itself, as an egress interface corresponding to the virtual router corresponding to the VRRP group, and the switch 2 may use the interface 22, which receives the master route update information by itself, as an egress interface corresponding to the virtual router corresponding to the VRRP group. Since the default gateway of the terminal in the local area network is a virtual IP address, when the switch 1 or 2 receives the data packet sent by the terminal, the data packet can be forwarded to the updated main router for transmission, that is, the router 2 performs transmission.
In summary, in the embodiment of the present application, a first router currently needing to switch from a standby router to a master router may determine a plurality of target ethernet interfaces from ethernet interfaces included in the first router according to an identifier of a logical interface configured with a command line, and send master route update information of the VRRP group through the plurality of target ethernet interfaces, so as to indicate a switch connected to the plurality of target ethernet interfaces to update an egress interface corresponding to a virtual router corresponding to the VRRP group. That is, the switches connected to the target ethernet interfaces may update the egress interfaces corresponding to the virtual routers in time, so that, when the master router and the standby router are switched, after receiving the data packet sent by the terminal, the switches may forward the data packet from the updated egress interface to the updated master router, and the updated router may transmit the data packet to the destination device, that is, packet loss may not be caused, and thus it may be avoided that the destination device receives two identical data packets.
Fig. 5 is a schematic structural diagram of an interface updating apparatus based on a VRRP according to an embodiment of the present application, where the interface updating apparatus based on a VRRP may be implemented by software, hardware, or a combination of the two as part or all of a network device, and the network device may be the network device shown in fig. 2. The VRRP group comprises a plurality of routers, wherein a logical interface configured with a VRRP protocol in the plurality of routers is also configured with a command line, the logical interface refers to a virtual interface formed by binding Ethernet interfaces connected with switches in the same router, and the first router refers to a router which needs to be switched from a standby router to a main router currently in the plurality of routers. The apparatus 500 is applied to a first router, see fig. 5, the apparatus 500 comprising: a determination module 501 and a sending module 502.
A determining module 501, configured to determine, according to an identifier of a logical interface configured with a command line in a first router, a plurality of target ethernet interfaces from ethernet interfaces included in the first router;
a sending module 502, configured to send, through the multiple target ethernet interfaces, master route update information of the VRRP group to instruct a switch connected to the multiple target ethernet interfaces to update an egress interface corresponding to a virtual router corresponding to the VRRP group.
Optionally, the sending module 502 includes:
and the first sending submodule is used for sending the main route updating information of the VRRP group for multiple times through the target Ethernet interfaces within the reference time length.
Optionally, the determining module 501 includes:
the first determining submodule is used for determining a plurality of corresponding Ethernet interface identifications from the corresponding relation between the logic interface identifications stored in the first router and the Ethernet interface identifications according to the identifications of the logic interfaces configured with the command lines in the first router;
and the second determining submodule is used for determining the Ethernet interfaces corresponding to the Ethernet interface identifications as a plurality of target Ethernet interfaces.
Optionally, the sending module 502 includes:
and the second sending submodule is used for sending a free Address Resolution Protocol (ARP) message through the plurality of target Ethernet interfaces, wherein the free ARP message carries the main route updating information of the VRRP group.
Optionally, the master route update information of the VRRP group includes a virtual IP address and a virtual MAC address of the virtual router.
Optionally, the plurality of routers refer to routers in the VRRP group having a priority higher than a reference priority.
In this embodiment of the application, a first router currently needing to be switched from a standby router to a master router may determine a plurality of target ethernet interfaces from ethernet interfaces included in the first router according to an identifier of a logical interface configured with a command line, and send master route update information of the VRRP group through the plurality of target ethernet interfaces, so as to indicate a switch connected to the plurality of target ethernet interfaces to update an egress interface corresponding to a virtual router corresponding to the VRRP group. That is, the switches connected to the target ethernet interfaces may update the egress interfaces corresponding to the virtual routers in time, so that, when the master router and the standby router are switched, after receiving the data packet sent by the terminal, the switches may forward the data packet from the updated egress interface to the updated master router, and the updated router may transmit the data packet to the destination device, that is, packet loss may not be caused, and thus it may be avoided that the destination device receives two identical data packets.
It should be noted that: in the interface updating apparatus based on VRRP according to the above embodiment, only the above-mentioned division of each functional module is taken as an example for illustration when the interface is updated, and in practical applications, the above-mentioned function distribution can be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the above-mentioned functions. In addition, the interface updating apparatus based on the VRRP and the interface updating method based on the VRRP provided in the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
In the above embodiments, the implementation may be wholly or partly realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., Digital Versatile Disk (DVD)), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others. It is noted that the computer-readable storage medium referred to herein may be a non-volatile storage medium, in other words, a non-transitory storage medium.
The above-mentioned embodiments are provided not to limit the present application, and any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (13)

1. An interface updating method based on a Virtual Router Redundancy Protocol (VRRP), wherein a VRRP group comprises a plurality of routers, a command line is further configured on a logical interface configured with the VRRP protocol in the plurality of routers, and the logical interface refers to a virtual interface bundled by Ethernet interfaces connected with switches in the same router, and the method comprises the following steps:
the first router determines a plurality of target Ethernet interfaces from Ethernet interfaces included in the first router according to the identifier of the logical interface configured with the command line, wherein the first router is one of the plurality of routers which needs to be switched from the standby router to the main router;
the first router sends the main route update information of the VRRP group through the target Ethernet interfaces so as to instruct a switch connected with the target Ethernet interfaces to update the outgoing interface corresponding to the virtual router corresponding to the VRRP group.
2. The method of claim 1, wherein the first router sending the master route update information for the VRRP group over the plurality of target ethernet interfaces comprises:
and the first router sends the main route updating information of the VRRP group for a plurality of times through the plurality of target Ethernet interfaces within the reference time length.
3. The method of claim 1, wherein the first router determining a plurality of target ethernet interfaces from the ethernet interfaces included in itself based on the identity of the logical interface for which it is configured with the command line comprises:
the first router determines a plurality of corresponding Ethernet interface identifications from the corresponding relationship between the stored logic interface identifications and the Ethernet interface identifications according to the identifications of the logic interfaces configured with the command line;
and the first router determines the Ethernet interfaces corresponding to the Ethernet interface identifications as the target Ethernet interfaces.
4. The method of claim 1, wherein the first router sending the master route update information for the VRRP group over the plurality of target ethernet interfaces comprises:
and the first router sends a free Address Resolution Protocol (ARP) message through the plurality of target Ethernet interfaces, wherein the free ARP message carries main route updating information of the VRRP group.
5. The method of claim 1 or 4, wherein the master routing update information of the VRRP group includes a virtual Internet Protocol (IP) address and a virtual Media Access Control (MAC) address of the virtual router.
6. The method of claim 1, wherein the plurality of routers are routers in the VRRP group having a priority higher than a reference priority.
7. An interface updating device based on a Virtual Router Redundancy Protocol (VRRP) is applied to a first router, and is characterized in that a VRRP group comprises a plurality of routers, a command line is further configured on a logical interface configured with the VRRP protocol in the plurality of routers, the logical interface refers to a virtual interface bundled by Ethernet interfaces connected with switches in the same router, the first router refers to a router which needs to be switched from a standby router to a main router currently in the plurality of routers, and the device comprises:
a determining module, configured to determine, according to an identifier of a logical interface configured with the command line in the first router, a plurality of target ethernet interfaces from ethernet interfaces included in the first router;
a sending module, configured to send, through the multiple target ethernet interfaces, master route update information of the VRRP group to instruct a switch connected to the multiple target ethernet interfaces to update an egress interface corresponding to a virtual router corresponding to the VRRP group.
8. The apparatus of claim 7, wherein the sending module comprises:
and the first sending submodule is used for sending the main route updating information of the VRRP group for multiple times through the target Ethernet interfaces within the reference time length.
9. The apparatus of claim 7, wherein the determining module comprises:
a first determining submodule, configured to determine, according to an identifier of a logical interface configured with the command line in the first router, a plurality of corresponding ethernet interface identifiers from a correspondence between logical interface identifiers and ethernet interface identifiers stored in the first router;
and the second determining submodule is used for determining the Ethernet interfaces corresponding to the Ethernet interface identifications as the target Ethernet interfaces.
10. The apparatus of claim 7, wherein the sending module comprises:
and the second sending submodule is used for sending a free Address Resolution Protocol (ARP) message through the plurality of target Ethernet interfaces, wherein the free ARP message carries the main route updating information of the VRRP group.
11. The apparatus of claim 7 or 10, wherein the master routing update information of the VRRP group comprises a virtual internet protocol, IP, address and a virtual media access control, MAC, address of the virtual router.
12. The apparatus of claim 7, wherein the plurality of routers are routers in the VRRP group having a priority higher than a reference priority.
13. A computer-readable storage medium, characterized in that the storage medium has stored therein a computer program which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201911207094.9A 2019-11-29 2019-11-29 VRRP (virtual router redundancy protocol) -based interface updating method and device and storage medium Pending CN112887201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911207094.9A CN112887201A (en) 2019-11-29 2019-11-29 VRRP (virtual router redundancy protocol) -based interface updating method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911207094.9A CN112887201A (en) 2019-11-29 2019-11-29 VRRP (virtual router redundancy protocol) -based interface updating method and device and storage medium

Publications (1)

Publication Number Publication Date
CN112887201A true CN112887201A (en) 2021-06-01

Family

ID=76039135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911207094.9A Pending CN112887201A (en) 2019-11-29 2019-11-29 VRRP (virtual router redundancy protocol) -based interface updating method and device and storage medium

Country Status (1)

Country Link
CN (1) CN112887201A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726649A (en) * 2021-09-07 2021-11-30 新华三大数据技术有限公司 Routing information processing method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707570A (en) * 2009-12-17 2010-05-12 杭州华三通信技术有限公司 Load balancing method and equipment in VRRP scene
CN102244609A (en) * 2011-06-15 2011-11-16 中兴通讯股份有限公司 Method for preventing flow interruption caused by failover during access of VPLS (virtual private LAN service) to L3 (network layer 3) and router
CN103001780A (en) * 2011-09-08 2013-03-27 华为数字技术有限公司 Data plane fault processing method and logic node
CN103095571A (en) * 2013-01-17 2013-05-08 成都西加云杉科技有限公司 Method and system achieving network redundancy and data flow seamless switching
US20130135989A1 (en) * 2011-11-24 2013-05-30 Hangzhou H3C Technologies Co., Ltd. Data forwarding apparatus with redundancy
CN103534982A (en) * 2013-04-09 2014-01-22 华为技术有限公司 Method, equipment and network virtualization system for protecting business reliability
CN105119822A (en) * 2015-09-08 2015-12-02 烽火通信科技股份有限公司 Backup group management method and system based on VRRP (Virtual Router Redundancy Protocol)
CN105915400A (en) * 2016-06-28 2016-08-31 北京神州绿盟信息安全科技股份有限公司 Data stream switching method and system
CN107911291A (en) * 2017-11-28 2018-04-13 中国移动通信集团湖北有限公司 VRRP routers switching method, router, VRRP active-standby switch system and storage medium
CN110166277A (en) * 2019-04-09 2019-08-23 广州市高科通信技术股份有限公司 A kind of method of order line order tree constructing method and order line dynamically load

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707570A (en) * 2009-12-17 2010-05-12 杭州华三通信技术有限公司 Load balancing method and equipment in VRRP scene
CN102244609A (en) * 2011-06-15 2011-11-16 中兴通讯股份有限公司 Method for preventing flow interruption caused by failover during access of VPLS (virtual private LAN service) to L3 (network layer 3) and router
CN103001780A (en) * 2011-09-08 2013-03-27 华为数字技术有限公司 Data plane fault processing method and logic node
US20130135989A1 (en) * 2011-11-24 2013-05-30 Hangzhou H3C Technologies Co., Ltd. Data forwarding apparatus with redundancy
CN103095571A (en) * 2013-01-17 2013-05-08 成都西加云杉科技有限公司 Method and system achieving network redundancy and data flow seamless switching
CN103534982A (en) * 2013-04-09 2014-01-22 华为技术有限公司 Method, equipment and network virtualization system for protecting business reliability
CN105119822A (en) * 2015-09-08 2015-12-02 烽火通信科技股份有限公司 Backup group management method and system based on VRRP (Virtual Router Redundancy Protocol)
CN105915400A (en) * 2016-06-28 2016-08-31 北京神州绿盟信息安全科技股份有限公司 Data stream switching method and system
CN107911291A (en) * 2017-11-28 2018-04-13 中国移动通信集团湖北有限公司 VRRP routers switching method, router, VRRP active-standby switch system and storage medium
CN110166277A (en) * 2019-04-09 2019-08-23 广州市高科通信技术股份有限公司 A kind of method of order line order tree constructing method and order line dynamically load

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726649A (en) * 2021-09-07 2021-11-30 新华三大数据技术有限公司 Routing information processing method and system

Similar Documents

Publication Publication Date Title
US9515922B2 (en) Distributed fibre channel forwarder
EP3386157A1 (en) Packet transmission method, device and system
CN111510379A (en) EVPN message processing method, device and system
JP4789425B2 (en) Route table synchronization method, network device, and route table synchronization program
WO2018108149A1 (en) Data-link switching method and apparatus and data-link switching device
EP3316555A1 (en) Mac address synchronization method, device and system
WO2021139304A1 (en) Method and device for multi-cloud interconnection
CN117083843A (en) Discovering hosts using multicast listener discovery
CN113839862B (en) Method, system, terminal and storage medium for synchronizing ARP information between MCLAG neighbors
WO2022052496A1 (en) Address reservation method, network device, and system
CN110391987B (en) Method, apparatus and computer readable medium for selecting a designated forwarder from a carrier edge device set
US8886913B2 (en) Apparatus and method for identifier management
CN114650255B (en) Message processing method and network equipment
CN112887201A (en) VRRP (virtual router redundancy protocol) -based interface updating method and device and storage medium
CN112019492B (en) Access control method, device and storage medium
US11576072B2 (en) Methods, systems, and computer-readable media for distributing S1 connections to mobility management entities (MMEs) and N2 connections to access and mobility management functions (AMFs)
CN114513485A (en) Method, device, equipment and system for obtaining mapping rule and readable storage medium
CN114531320A (en) Communication method, device, equipment, system and computer readable storage medium
CN109039680B (en) Method and system for switching main Broadband Network Gateway (BNG) and standby BNG and BNG
CN114765589A (en) Network testing method, device and storage medium
JP7273130B2 (en) Communication method and device
CN115225634B (en) Data forwarding method, device and computer program product under virtual network
WO2023169364A1 (en) Routing generation method and apparatus, and data message forwarding method and apparatus
CN113228566B (en) Communication system and communication device
EP4184822A1 (en) Method and apparatus for keeping user terminal alive

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210601

RJ01 Rejection of invention patent application after publication