Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A gateway backup method and device based on VRRP single instance

A single-instance, gateway device technology, applied in transmission systems, electrical components, etc., to achieve the effect of improving utilization

Active Publication Date: 2022-03-25
FENGHUO COMM SCI & TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this solution requires the Master to broadcast and distribute messages to the VRRP backup group, and additionally expand the message

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A gateway backup method and device based on VRRP single instance
  • A gateway backup method and device based on VRRP single instance
  • A gateway backup method and device based on VRRP single instance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] In order to solve the problem of network resources caused by the Backup in the VRRP backup group being idle when VRRP provides gateway backup, the embodiment of the present invention provides a gateway backup method based on a VRRP single instance, such as figure 1 As shown, it mainly includes the following steps:

[0060] Step S1, each gateway device in the VRRP backup group calculates its own virtual MAC address according to its interface IP address, and elects a master gateway device and a backup gateway device based on the VRRP notification message. refer to figure 2 , the specific implementation process is as follows:

[0061] In step S11, at least two gateway devices configure VRRP single instances on their interfaces with the Layer 2 switch, and configure a unified virtual IP address based on the interface IP addresses of each gateway device to form a VRRP backup group. That is to say, all gateway devices in the VRRP backup group use the same virtual IP addres...

Embodiment 2

[0083] In order to further understand the solution, the embodiment of the present invention takes two gateway devices, R1 and R2, and two hosts, Host1 and Host2, as an example in the network structure, as shown in Image 6 As shown, the gateway backup method in Embodiment 1 above will be further described in detail. Specifically include the following steps:

[0084] Step S10, each gateway device in the VRRP backup group calculates its own virtual MAC address, and elects a Master and a successor to the Master in the VRRP backup group. details as follows:

[0085] Step S101, the gateway devices R1 and R2 configure a VRRP single instance on the interface with the layer 2 switch L2, the interface IP addresses of R1 and R2 are 10.1.1.2 and 10.1.1.1 respectively, and a unified virtual IP address (ie VIP) is configured For 10.1.1.100, form a VRRP backup group including two gateway devices R1 and R2, such as Image 6 shown in the dashed circle.

[0086] In step S102, the gateway d...

Embodiment 3

[0113] On the basis of the VRRP single-instance-based gateway backup method provided in Embodiment 1 and Embodiment 2 above, the present invention also provides a VRRP single-instance-based gateway backup device that can be used to implement the above method, such as Figure 12 Shown is a schematic diagram of the device architecture of the embodiment of the present invention. The gateway backup device based on VRRP single instance in this embodiment includes one or more processors 21 and memory 22 . in, Figure 12 A processor 21 is taken as an example.

[0114] The processor 21 and the memory 22 may be connected via a bus or in other ways, Figure 12 Take connection via bus as an example.

[0115] The memory 22 is a non-volatile computer-readable storage medium based on a VRRP single-instance gateway backup method, and can be used to store non-volatile software programs, non-volatile computer-executable programs and modules, as in Embodiment 1 Gateway backup method based o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a gateway backup method and device based on a VRRP single instance. The method includes: each gateway device in a VRRP backup group calculates its own virtual MAC address according to its interface IP address, and elects a master and backup gateway based on a VRRP notification message Each gateway device generates a local virtual MAC table based on its own virtual MAC address and VRRP notification message; when the host sends an ARP request, the main gateway device responds to the ARP requests from different hosts with different virtual MAC addresses based on the local virtual MAC table , the standby gateway device records the response result based on the local virtual MAC table; the host completes uplink traffic forwarding according to the virtual MAC addresses obtained from the respective responses. The application can solve the problem of network resource waste caused by the idle state of the Backup in the VRRP backup group, realize the VRRP single instance load balancing function, and improve the utilization rate of the gateway.

Description

【Technical field】 [0001] The invention belongs to the technical field of data communication reliability, and more specifically relates to a VRRP single instance-based gateway backup method and device. 【Background technique】 [0002] When an internal host or server accesses external network data, it must be forwarded by the gateway device. The internal host or server configures the IP address of the gateway, learns the MAC address of the gateway through ARP (Address Resolution Protocol), and specifies the destination MAC address of the upstream traffic data as the learned gateway MAC address; the traffic is sent to the corresponding gateway The device is then forwarded by the gateway device to the external network to achieve the purpose of accessing the external network. Once the gateway device fails, the internal host or server will lose contact with the external network, so the stability of the gateway device is particularly important. [0003] In the prior art, the stabi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L45/586H04L67/1001H04L61/103H04L45/74
CPCH04L45/586H04L45/54H04L61/103H04L67/1001
Inventor 钟志杰张熙慕
Owner FENGHUO COMM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products