Switching method for recursive routing, router, switch and electronic device

A technology of routers and switches, applied in the field of communication, can solve problems such as inapplicability to complex scenarios, rough switching, and miscutting other traffic, etc., to achieve the effects of improving network availability, avoiding outages, and reducing outage time

Active Publication Date: 2018-12-18
BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0036] However, for the first routing switching method, there may be other links on R2, and not all packets going through R2 will be routed to R4, and direct switching may easily cut off other traffic by mistake, resulting in unnecessary traffic interruption. Hop detection needs to be specially configured according to the actual scene. The switching granularity of this method is the link level, and the switching strength is relatively coarse. It is not suitable for complex scenarios and requires special configuration. It is not flexible and easy to use.
The second route switching method also requires special configuration, and there are also miscut other traffic, and if there are many other routing devices between R1 and R2, the configuration will be very complicated

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
  • Switching method for recursive routing, router, switch and electronic device
  • Switching method for recursive routing, router, switch and electronic device
  • Switching method for recursive routing, router, switch and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0101] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0102] figure 2 A schematic flow chart of the recursive routing switching method provided by the embodiment of the present invention, as shown in figure 2 As shown, the switching method includes:

[0103] Step S21. Determine the virtual host route of the recursive route according to the indirect next-hop IP address of each recursive route...

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

Embodiments of the present invention provide a switching method for recursive routing, a router, a switch, and an electronic device. The method comprises the following steps of: determining a virtualhost route of the recursive route according to a non-directly connected next hop IP address of each recursive route in a routing table; calculating a directly connected next hop IP address of the virtual host routing according to the routing table; Associating the recursive route in a forwarding table, the virtual host route and the directly connected next hop IP address; if it is detected that the direct next hop IP address of the virtual host route is changed, updating the direct next hop IP address of the virtual host route in the forwarding table. As the recursive route switch time of theembodiment of the invention is independent of the number of recursive route, the network interruption time is reduced, and the switching granularity is not required to be at a single route level according to the actual scene configuration, which does not cause other routes to be miscut, avoids unnecessary interruption and improves the network availability.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of communications, and in particular to a method for switching recursive routing, a router, a switch, and electronic equipment. Background technique [0002] When the routing device forwards the message, it needs to rely on the routing information in the routing table (Routing Information Base, RIB). The routing information includes: prefix ( / mask length), next hop address (exit) and routing behavior, for example: 2.0. 0.0 / 24 next hop IP 3.0.0.1GigabitEthernet 0 / 1forward, where 2.0.0.0 / 24 is the prefix and mask length, 3.0.0.1 is the next hop IP, GigabitEthernet 0 / 1 is the next hop egress, and forward is the route the behavior of. When the routing device receives an IP packet with a destination address of 2.0.0.0~2.0.0.255, it searches the routing table for a route matching 2.0.0.0 / 24 through the Longest Prefix Match principle (LPM) and forwards it to the next IP packet. Jump to 3...

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 Applications(China)
IPC IPC(8): H04L12/741H04L12/751H04L12/707H04L45/74H04L45/02H04L45/24
CPCH04L45/02H04L45/24H04L45/745
Inventor 徐仁飞
Owner BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products