Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for maintaining hardware routing table

A routing table and routing technology, applied in the field of communication, can solve the problems of source-in and source-out of network devices without flow tables, high performance cost, etc., to achieve the effect of avoiding high performance cost, low performance cost and wide application range

Active Publication Date: 2022-03-18
RUIJIE NETWORKS CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for maintaining a hardware routing table, which is used to solve the problems in the prior art that the source cannot be implemented for network devices without flow tables, and the performance-consuming problem for network devices with flow tables costly problem

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
  • Method and device for maintaining hardware routing table
  • Method and device for maintaining hardware routing table
  • Method and device for maintaining hardware routing table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0061] An optional implementation manner, the above method also includes:

[0062] If it is determined that the route carries a reverse route identifier, a hit tag is added to the route, so that the CPU performs aging processing on each route in the hardware routing table according to the hit tag.

[0063] If it is determined that the route matched by the packet carries a reverse route identifier, a hit mark can be added to the route to indicate that the route has been matched, and the CPU can age these routes based on the hit mark, so that the hardware can be managed more effectively routing table.

[0064] Wherein, the hit flag can be, but not limited to, set the hit field to true, and if not hit, the hit field is set to false.

[0065] The above describes the maintenance method of the hardware routing table with the forwarding chip of the network device as the execution subject. The following describes the maintenance method of the hardware routing table with the CPU as th...

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 method and device for maintaining a hardware routing table. The method includes: obtaining the source IP address of a message received through each external network interface; searching for a route matching the source IP address in the hardware routing table ; Determine whether the route carries a reverse routing identifier; if it is determined that the route does not carry the reverse routing identifier, then forward the message to the CPU, so that the CPU generates a the reverse route, and issue the reverse route and the reverse route identifier, the reverse route includes the source IP address, the source port of the message and the source media access control MAC address; Adding the reverse route and the reverse route identifier to the hardware routing table. This solution has a wide range of applications; moreover, the performance cost of the hardware routing table is very low.

Description

technical field [0001] The invention relates to the technical field of communications, in particular to a method and device for maintaining a hardware routing table. Background technique [0002] With the development of network technology, in some application scenarios, multiple network operators need to be connected. Network devices are connected to multiple network operators through external network interfaces, and connected to other network devices or servers through internal network interfaces. In order to ensure network service quality , usually need to do source in source out. Source-in-source-out requires that a request message received from an external network interface corresponding to a network operator be processed by an internal network server to obtain a response message, and then send the response message through the same external network interface, for example, through The external network interface corresponding to China Unicom receives the request message, ...

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/74H04L45/745
CPCH04L45/54H04L45/74
Inventor 赵润生
Owner RUIJIE NETWORKS CO LTD