A router fast forwarding method and a system for implementing the method
A forwarding method and router technology, which is applied in the field of network communication, can solve problems such as increasing router costs, and achieve the effects of improving forwarding efficiency, improving search efficiency, and optimizing structure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] This embodiment provides a router fast forwarding system and its implementation method, which can increase the data packet forwarding rate without increasing the router's processing burden.
[0038] Such as figure 1 and figure 2 As shown, the router fast forwarding system is included in the router, and mainly includes several hardware units, which are respectively a data receiving unit and a search unit connected in sequence, a creation unit connected to the search unit, a data packet processing unit, and a data packet An update unit connected to the processing unit, wherein the data packet processing unit also includes an active data processing subunit and an aging processing subunit.
[0039] The role of each unit is as follows:
[0040] The data receiving unit is used to obtain the connection information in the IP data packet. Including source IP address, destination IP address, source port number, destination port number, interface number.
[0041] The search u...
Embodiment 2
[0095] Wherein, based on Embodiment 1, this embodiment also provides source address replacement during forward connection, and its implementation method is as follows:
[0096] (1) Router interface A receives the data packet and recognizes it as an IP data packet. The connection information contained in the data packet is as follows:
[0097] Source IP address: 4.4.4.4, source port number: 8080, destination IP address: 5.5.5.5, destination port number: 80, protocol type: TCP.
[0098] (2) Look up the fast forwarding table, because there is an entry for this connection, according to the fast forwarding path information of this entry (source address translation (NAT) information: 6.6.6.6, destination address translation information: empty, routing information: 6.6.6.1, Quality of Service (QoS) marking information: 2), modify the source IP address of the IP packet to 6.6.6.6, and recalculate the checksum, and finally put the IP packet directly into the next hop according to the r...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 