Method for realizing fast forwarding of two-layer data packet of gateway equipment
A layer 2 data packet and gateway device technology, applied in the network field, can solve problems such as load exceeding CPU processing capacity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0023] In order to describe the technical content of the present invention more clearly, further description will be given below in conjunction with specific embodiments.
[0024] Layer 2 data forwarding is implemented based on the MAC address. In the Linux kernel, it is implemented through the bridge function. The bridge is also commonly known as a soft bridge. It will establish a mapping table FDB according to the source MAC and destination MAC of the message ( ForwardingDataBase, forwarding data table),
[0025] When the data packet arrives at the bridge for processing, it will first search the FDB table according to the destination MAC. If found, the data packet will be sent out through the corresponding network interface, otherwise it will be flooded to all network ports of the soft bridge.
[0026] The principle of acceleration is to use the FDB table to achieve, the key lies in the following points:
[0027] (1) The source and destination MAC must have been established...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 